Skip to content

Releases: PatilShreyas/generative-ai-kmp

v0.5.0-1.0.0

04 May 10:32
bb2d555
Compare
Choose a tag to compare

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 in GenerateContentResponse
    • 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

04 May 10:33
014fd3b
Compare
Choose a tag to compare
v0.5.0-1.0.0-wasm Pre-release
Pre-release

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

16 Mar 07:02
c53879d
Compare
Choose a tag to compare

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

16 Mar 07:09
Compare
Choose a tag to compare
v0.2.2-1.0.0-wasm Pre-release
Pre-release

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

29 Feb 16:31
bd50eb5
Compare
Choose a tag to compare

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

29 Feb 16:32
Compare
Choose a tag to compare
v0.2.1-1.0.0-wasm Pre-release
Pre-release

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

18 Feb 11:45
1d56070
Compare
Choose a tag to compare

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

18 Feb 11:46
Compare
Choose a tag to compare
v0.2.0-1.0.0-wasm Pre-release
Pre-release

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

21 Jan 13:55
Compare
Choose a tag to compare

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

21 Jan 13:38
Compare
Choose a tag to compare
v0.1.2-0.0.1-wasm Pre-release
Pre-release

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")