Skip to content

v0.5.0-1.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 04 May 10:32
bb2d555

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