Skip to content

Releases: google/generative-ai-go

v0.12.0

10 May 18:31
@jba jba
f69f01d

Choose a tag to compare

New features:

  • UsageMetadata: information about a model's token usage
  • FileState: information about file uploads
  • GenerationConfig.ResponseSchema (not yet implemented by models)
  • Improved auth logic

v0.11.2

07 May 21:37
56745d1

Choose a tag to compare

Update the internal version. (#100)

This CL should be followed by tagging the repo v0.11.2.

bugfix

03 May 15:39
@jba jba
d8446c3

Choose a tag to compare

This fixes the bug reported in #97.

v0.11.0

15 Apr 19:04
@jba jba
3a0cfa0

Choose a tag to compare

This release includes:

  • File upload (currently requires model gemini-1.5-pro-eval).
  • System instructions(aka "system prompt").
  • Constrained function calling—see the ToolConfig type.

v0.10.0

15 Mar 16:52
d205e88

Choose a tag to compare

What's Changed

Tags v0.9.0 and v0.10.0 introduce the function calling feature to the SDK. See an example here

Full Changelog: v0.9.0...v0.10.0