Releases: google-gemini-php/client
Releases · google-gemini-php/client
1.0.2-beta
What's Changed
- Fix issue Undefined array key "candidatesTokenCount" by @lamberttraccard in #37
- Update MimeType.php adding application/pdf by @tfranca2 in #39
- Support for tuned models by @gregpriday in #41
New Contributors
- @lamberttraccard made their first contribution in #37
- @tfranca2 made their first contribution in #39
- @gregpriday made their first contribution in #41
Full Changelog: 1.0.1-beta...1.0.2-beta
1.0.10
What's Changed
- Support for tuned models by @gregpriday in #41
New Contributors
- @gregpriday made their first contribution in #41
Full Changelog: 1.0.9...1.0.10
1.0.9
1.0.1-beta
Full Changelog: 1.0.0-beta...1.0.1-beta
1.0.8
What's Changed
- Fix issue Undefined array key "candidatesTokenCount" by @lamberttraccard in #37
New Contributors
- @lamberttraccard made their first contribution in #37
Full Changelog: 1.0.7...1.0.8
1.0.7
What's Changed
- feat: Add batchEmbedContents method to embeddingModel by @aydinfatih in #33
Full Changelog: 1.0.6...1.0.7
1.0.6
What's Changed
-
Feat
- Add maxTemperature property to Model data
- Add pageSize and nextPageToken params to model list method
- Add usageMetadata info for generate content request
- Add BLOCKLIST and PROHIBITED_CONTENT enums to BlockReason enum
- Add LANGUAGE, BLOCKLIST, PROHIBITED_CONTENT, SPII and MALFORMED_FUNCTION_CALL enums to FinishReason enum
- dd HARM_CATEGORY_CIVIC_INTEGRITY enum to HarmCategory enum
- Add QUESTION_ANSWERING and FACT_VERIFICATION enums to TaskType enum
- Add ModelVariation enum
- Add GEMINI_FLASH and TEXT_EMBEDDING enums to ModelType
- Add generateGeminiModel method to ModelType enum
- Add geminiFlash method to ClientContract
- Add avgLogprobs property to Candidate
Refactor
- Add deprecated annotation to gemini pro vision usages
- Update index parameter in Candidate to nullable
Full Changelog: 1.0.5...1.0.6
1.0.0-beta
What's Changed
- feat: Added Structured Output feature for Beta by @aydinfatih in #34
1.0.5
What's Changed
- [Mime] Add new types for images, videos, and plain text by @bradleybernard in #22
New Contributors
- @bradleybernard made their first contribution in #22
Full Changelog: 1.0.4...1.0.5
1.0.4
What's Changed
- fix: Fixed an error due to recitation finish reason by @aydinfatih in #9
Full Changelog: 1.0.3...1.0.4