v0.8.0
Breaking changes
- Remove DiscussService and TextService by @shilpakancharla in #512
New features
- Enum support by @MarkDaoust in #529
Minor updatres and bug fixes
- Fix PIL.Image imports. by @MarkDaoust in #447
- Expand PIL image support. by @MarkDaoust in #523
- Using the
GEMINI_API_KEY
by default instead of theGOOGLE_API_KEY
one by @Giom-V in #418 - make caching visible by default by @MarkDaoust in #493
- Fix tests for 3.12.5 by @MarkDaoust in #521
- Update generativemlanguage version (new prompt_feedback and finish_reasons) by @MarkDaoust in #547
Samples
- Sync count tokens examples by @MarkDaoust in #445
- Add code execution python sample by @shilpakancharla in #451
- Update example to show part types. by @MarkDaoust in #452
- move model_configuration samples by @MarkDaoust in #454
- move model_configuration samples by @MarkDaoust in #456
- Format code execution by @shilpakancharla in #457
- Chat REST samples by @shilpakancharla in #449
- Fix END tuned_models_generate_content tag. by @MarkDaoust in #458
- Update count_tokens.py by @rachelsaunders in #459
- Formatting count tokens by @Giom-V in #460
- Adding count_tokens for rest by @shilpakancharla in #444
- add safety settings examples for curl by @shilpakancharla in #433
- Add markdown docs by @MarkDaoust in #462
- Add REST embeddings & system_instruction sample by @shilpakancharla in #429
text_generation
samples for shell by @shilpakancharla in #430- Added curl examples for files by @shilpakancharla in #480
- Add other functions to count_tokens by @shilpakancharla in #482
- Add pdf samples by @MarkDaoust in #484
- add audio streaming & pdf examples by @shilpakancharla in #483
- Add function calling REST example by @shilpakancharla in #443
- Adding JSON schema curl samples by @shilpakancharla in #434
- Caching cURL sample by @Giom-V in #455
- rename embeddings -> embed by @MarkDaoust in #487
- Code execution for shell by @shilpakancharla in #491
- Fix example by @MarkDaoust in #494
- Ce rest by @shilpakancharla in #495
- Fix response_schema sample. by @MarkDaoust in #498
- Add a README for /samples by @markmcd in #507
- Add additional functions to files & count_tokens. by @shilpakancharla in #490
- REST for tuned models by @shilpakancharla in #496
- Use flash more often. by @MarkDaoust in #517
- Fix the missing closing backticks in CONTRIBUTING by @rakyll in #514
- Avoid making recommendations about regions in README by @rakyll in #538
- Add more enum samples. by @MarkDaoust in #543
- Update controlled_generation.py by @MarkDaoust in #544
New Contributors
- @rachelsaunders made their first contribution in #459
- @rakyll made their first contribution in #514
Full Changelog: v0.7.2...v0.8.0