Releases: PatilShreyas/generative-ai-kmp
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
v0.2.0-1.0.0
Targetting to v0.2.0 of official SDK.
Changes from google/generative-ai-android:
- Add RequestOptions; configuration points for backend implementation details such as api version and timeout.
- Support a general model naming schema
Full Changelog: v0.1.2-0.0.1...v0.2.0-1.0.0
v0.2.0-1.0.0-wasm
Targeting to v0.2.0-1.0.0 with added support for WASM target.
Full Changelog: v0.1.2-0.0.1-wasm...v0.2.0-1.0.0-wasm
v0.1.2-0.0.1
First release 🎉
Targetting to v0.1.2 of official SDK: https://github.com/google/generative-ai-android/releases/tag/v0.1.2
Include dependency in KMP project in commonMain
:
implementation("dev.shreyaspatil.generativeai:generativeai-google:0.1.2-0.0.1")
v0.1.2-0.0.1-wasm
First release for Wasm target of KMP.
Only use the dependency in the project where Wasm as a multiplatform target is added
implementation("dev.shreyaspatil.generativeai:generativeai-google:0.1.2-0.0.1-wasm")