Skip to content

Releases: Uralstech/UGemini

UGemini v1.2.3

10 Jul 10:12
3b7a9f8
Compare
Choose a tag to compare

Added

  • Reference manual.

Changed

  • Updated documentation.

Full Changelog: 1.2.2...1.2.3

UGemini v1.2.2

10 Jul 05:18
f63b14d
Compare
Choose a tag to compare

Changed

  • Updated documentation.

Full Changelog: 1.2.1...1.2.2

UGemini v1.2.1

09 Jul 18:24
ff9bb47
Compare
Choose a tag to compare

Added

  • New sample for streaming generated content!

Changed

  • Updated function calling sample.

Full Changelog: 1.2.0...1.2.1

UGemini v1.2.0

09 Jul 17:35
de5c70a
Compare
Choose a tag to compare

Added

  • Added support for streamGenerateContent!

Changes

  • Function calling sample has been updated and can now handle multiple function calls in a single response.

Breaking changes

  • IGeminiRequest's EndpointUri has now been replaced with the method string GetEndpointUri(GeminiRequestMetadata metadata).
  • All interfaces inheriting from IGeminiRequest have been moved to Scripts/Data/Requests.

Update guide

For those updating from v1.0.X: Check the update notes for v1.1.0 for an update guide.

Full Changelog: 1.1.2...1.2.0

UGemini v1.1.2

05 Jul 20:38
Compare
Choose a tag to compare

Changed

  • Added metadata addition support to GeminiFileUploadRequest (GeminiFileUploadMetaData.Name does not work as of now).

Update guide

For those updating from v1.0.X: Check the update notes for v1.1.0 for an update guide.

UGemini v1.1.1

03 Jul 17:55
d9f142c
Compare
Choose a tag to compare

Changed

  • Updated documentation

Update guide

For those updating from v1.0.X: Check the update notes for v1.1.0 for an update guide.

UGemini v1.1.0

03 Jul 17:47
a6b9dee
Compare
Choose a tag to compare

Added

  • File API support. (File upload support is unstable)
  • Added utility method for GeminiContent for prompts with GeminiFile data.
  • Added text MIME types to GeminiContentType.
  • Added extension method to convert string values to their equivalent GeminiContentType values.
  • Added extension methods for Unity types like AudioClip and Texture2D to convert them into Base64 strings and byte arrays.

Breaking changes

  • GeminiManager.Compute and parts of related types have been deprecated. Obsolete attributes have been added to these parts of the package. The following is a list of changes that you may have to make to your code to update to the latest package:
    • Switch to GeminiChatRequest's new constructor GeminiChatRequest(string model, bool useBetaApi)
    • Switch to GeminiTokenCountRequest's new constructor GeminiTokenCountRequest(string model, bool useBetaApi)
    • Use GeminiManager's Task<TResponse> Request<TResponse> and its variants instead of GeminiManager.Compute, for example:
      • var response = await GeminiManager.Instance.Compute<GeminiChatRequest, GeminiChatResponse>(new GeminiChatRequest(), GeminiManager.RequestEndPoint.Chat, useBeta: _useBeta); -> var response = await GeminiManager.Instance.Request<GeminiChatResponse>(new GeminiChatRequest(useBetaApi: _useBeta));
    • Use GeminiRequestException.RequestEndpoint (of type Uri) instead of GeminiRequestException.RequestEndPoint
    • Use GeminiRequestException.IsBetaApi instead of GeminiRequestException.ApiVersionString to know which API version is being used

UGemini v1.0.1

01 Jul 20:38
636aad1
Compare
Choose a tag to compare

Changed

  • All chat request and response types now have full compatibility with the Gemini v1 and v1beta generateContent methods!

UGemini v1.0.0

01 Jul 12:24
Compare
Choose a tag to compare

Added

  • Added documentation.
  • Added new token counting sample.
  • Added new GeminiContent utility method to convert a message and AudioClip to a GeminiContent object.

Changed

  • Fixed text bug in Multi-turn Chat sample.
  • Multi-turn Chat sample now includes model responses in history.

UGemini v1.0.0-preview.4

30 Jun 19:45
Compare
Choose a tag to compare
Pre-release

Added

  • Utility functions to create GeminiContentBlobs directly from Texture2Ds and AudioClips.
  • Added 3rd sample: Gemini JSON mode.
  • Added some missing documentation.