Skip to content

Releases: Uralstech/UGemini

UGemini v1.4.0 Preview 1

15 Jul 13:04
Compare
Choose a tag to compare
Pre-release

Notice

This is a preview release. It is not recommended to use this version in your production projects as the API interface may change the next update.

Added

Support for embedContent, batchEmbedContents and generateAnswer methods.

Full Changelog: 1.3.0...1.4.0-preview.1

UGemini v1.3.0

13 Jul 11:24
1ac7740
Compare
Choose a tag to compare

Added

  • Added support for Gemini models.get and models.list methods, including samples.

Breaking changes

See the online reference manual or refman.pdf included in the package documentation for all deprecated members and information on the replacements.

  • All model-related requests now use GeminiModelId objects to identify the models to use.
  • GeminiManager model ID constants have been removed.

Full Changelog: 1.2.3...1.3.0

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!