Releases: PatilShreyas/generative-ai-kmp
v0.9.0-1.0.1
Fixes
Fix a mistake of not propagating responseMimeType
and responseSchema
to the request parameters. (Thanks to @takahirom for findings!)
Full Changelog: v0.9.0-1.0.0...v0.9.0-1.0.1
v0.9.0-1.0.0
Targeting to the changeset from v0.6.0 to v0.9.0 of an official SDK.
-
Changes from v0.6.0 google/generative-ai-android:
- Add GenerateContentResponse#functionCalls and mark GenerateContentResponse#functionCall deprecated
- Add support for responseMimeType
- Fix proguard configuration for release builds (#139)
-
Changes from v0.7.0 google/generative-ai-android:
- Added
responseSchema
toGenerationConfig
. - Added
responseMimeType
sample usage to refdoc ofGenerationConfig
.
- Added
-
Changes from v0.8.0 google/generative-ai-android:
- Make CountTokens contain the full request
- Fix issue deserializing some function call responses (Issue #160)
-
Changes from v0.9.0 google/generative-ai-android:
- Simplify function calling and remove provided function execution.
- Add code execution tool.
Full Changelog: v0.5.0-1.0.0...v0.9.0-1.0.0
v0.9.0-1.0.1-wasm
Targeting to v0.9.0-1.0.1 with added support for WASM target.
Full Changelog: v0.9.0-1.0.0-wasm...v0.9.0-1.0.1-wasm
v0.9.0-1.0.0-wasm
Targeting to v0.9.0-1.0.0 with added support for WASM target.
Full Changelog: v0.5.0-1.0.0-wasm...v0.9.0-1.0.0-wasm
v0.5.0-1.0.0
Targeting to the changeset from v0.3.0 to v0.5.0 of an official SDK.
-
Changes from v0.3.0 google/generative-ai-android:
- Add function calling
- Make totalTokens in CountTokensResponse nullable
- Keep argument positions
- Implement error catching for unsupported Part types.
-
Changes from v0.4.0 google/generative-ai-android:
license
field is now optional (nullable) in Citations- The default api version is now
v1beta
- Files uploaded using the File service can now be referenced in the prompt using the new
FileDataPart
- Implement error catching for unsupported Part types.
-
Changes from v0.5.0 google/generative-ai-android:
- Remove usages of v1beta opt-in flag as the default api version is "v1beta"
- Expose
UsageMetadata
inGenerateContentResponse
- Fix parsing of
UsageMetadata
to address google-gemini#134
Full Changelog: v0.2.2-1.0.0...v0.5.0-1.0.0
v0.5.0-1.0.0-wasm
Targeting to v0.5.0-1.0.0 with added support for WASM target.
Full Changelog: v0.2.2-1.0.0-wasm...v0.5.0-1.0.0-wasm
v0.2.2-1.0.0
Targeting to v0.2.2 of official SDK.
Changes from google/generative-ai-android:
- Fix the issue causing Chat messages to fail due to missing role.
Full Changelog: v0.2.1-1.0.0...v0.2.2-1.0.0
v0.2.2-1.0.0-wasm
Targeting to v0.2.2-1.0.0 with added support for WASM target.
Full Changelog: v0.2.1-1.0.0-wasm...v0.2.2-1.0.0-wasm
v0.2.1-1.0.0
Targetting to v0.2.1 of official SDK.
Changes from google/generative-ai-android:
- Make "user" the default role in all requests
- Add
InvalidAPIKeyException
- Add
UnsupportedUserLocationException
Full Changelog: v0.2.0-1.0.0...v0.2.1-1.0.0
v0.2.1-1.0.0-wasm
Targeting to v0.2.1-1.0.0 with added support for WASM target.
Full Changelog: v0.2.0-1.0.0-wasm...v0.2.1-1.0.0-wasm