Releases: google-gemini-php/client
Releases · google-gemini-php/client
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
1.0.3
What's Changed
- Added startChat method to ChatSessionContract by @aydinfatih in #5
Full Changelog: 1.0.2...1.0.3
1.0.2
1.0.1
What's Changed
- Allow custom model name by @aydinfatih in #1
New Contributors
- @aydinfatih made their first contribution in #1
Full Changelog: 1.0.0...1.0.1
1.0.0
First Release