Changelog

1.10.0 (2024-09-26)

  • No change

1.9.0 (2024-09-11)

Features

  • add util class SchemaMaker to create Schema from JsonString or JsonObject (#11118) (22f9fe3)
  • update gapic library to the latest version (#11129) (711cd72)

1.8.0 (2024-08-21)

Features

1.7.0 (2024-07-31)

  • No change

1.6.0 (2024-06-27)

Features

  • add AutomaticFunctionCallingResponder class (#10896) (a97ac3d)
  • add FunctionDeclarationMaker.fromFunc to create FunctionDeclaration from a Java static method (#10915) (5a10656)
  • allow setting ToolConfig and SystemInstruction in ChatSession (#10953) (5ebfc33)
  • enable AutomaticFunctionCallingResponder in ChatSession (#10913) (4db0d1d)
  • infer location and project when user doesn't specify them. (#10868) (14f9825)
  • support ToolConfig in GenerativeModel (#10950) (0801812)
  • Update gapic to include ToolConfig (#10920) (782f21b)

1.5.0 (None)

  • No change

1.4.0 (2024-05-23)

Features

1.3.0 (2024-05-08)

Features

1.2.0 (2024-04-25)

Features

1.1.0 (2024-04-04)

  • No change

0.8.0 (2024-03-28)

  • No change

0.7.0 (2024-03-22)

Features

  • Change the unmodifiable list to immutable list for getHistory
  • do not allow null values in Builder's setter and remove model's setters.
  • remove GenerateContentConfig
  • Make ChatSession and GenerativeModel final
  • remove deprecated methods in GenerativeModel and ChatSession
  • make client getters in VertexAI private
  • remove Transport from GenerativeModel
  • Remove vararg scopes in VertexAI
  • add fluent API in ChatSession (#10597) (5c3d93e)
  • add fluent API in GenerativeModel (#10585) (8bc8adb)
  • Add FunctionDeclarationMaker (#10592) (a8aa591)
  • add generateContentAsync methods to GenerativeModel (#10599) (17b01c6)
  • Update Gapic client. (#10574) (bedcddf)
  • make a copy of the list in ChatSession.setHistory() (#10608) (3e3e35a)
  • Update README (#10607) (05275be)
  • Change the unmodifiable list to immutable list for getHistory (3f68001)
  • do not allow null values in Builder's setter and remove model's setters. (a2407ab)
  • Make ChatSession and GenerativeModel final (80495ad)
  • make client getters in VertexAI private (e8994c7)
  • remove deprecated methods in GenerativeModel and ChatSession (c54eaa9)
  • remove GenerateContentConfig (31f5e12)
  • remove Transport from GenerativeModel (f024111)
  • Remove vararg scopes in VertexAI (afc367f)

0.6.0 (2024-03-06)

Features

  • add GenerateContentConfig class (#10413) (04e9574)
  • add GenerateContentConfig to generateContent method (#10425) (903abf3)
  • add GenerateContentConfig to generateContentStream method (#10424) (ec9dd00)
  • add GenerateContentConfig to sendMessage method (#10436) (25d00c7)
  • Mark generateContent variants with GenerationConfig and List<SafetySetting> as deprecated. (#10474) (7cf463b)

0.5.0 (2024-02-20)

Features

  • make setApiEndpoint effective for LlmUtilityServiceClient. (#10385) (b4ec244)

0.4.0 (2024-02-09)

Features