Skip to content

Releases: Uralstech/UGemini

UGemini v2.1.0 Preview 8

27 Sep 18:45
73c6f24
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.1.0, pull request #29.

Changed

  • Fixed TransferOwnership.GeminiTunedModelDeleteRequest.

Full Changelog: 2.1.0-preview.7...2.1.0-preview.8

UGemini v2.1.0 Preview 7

27 Sep 18:21
148ace8
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.1.0, pull request #29.

Breaking Changes

  • Fixed GeminiTunedModelListRequest, so GeminiTunedModelListRequest.Models is now GeminiTunedModelListRequest.TunedModels.

Added

  • Simple filters for GeminiTunedModelListRequests.
  • New EnumExtensions class for commonly used extensions for enum types.

Full Changelog: 2.1.0-preview.6...2.1.0-preview.7

UGemini v2.1.0 Preview 6

08 Sep 12:43
e6ce911
Compare
Choose a tag to compare
Pre-release

For those updating from v1.x.x: Check the update notes for v2.0.0 for an update guide.

This release is a part of UGemini v2.1.0, pull request #29.

Changed

  • It seems the DELETE method does not exist in the Gemini API's endpoints.
  • I've also fixed the bug with empty response confirmations.

Full Changelog: 2.1.0-preview.5...2.1.0-preview.6

UGemini v2.1.0 Preview 5

07 Sep 19:29
3e9ea94
Compare
Choose a tag to compare
Pre-release

For those updating from v1.x.x: Check the update notes for v2.0.0 for an update guide.

This release is a part of UGemini v2.1.0, pull request #29.

Breaking Changes

  • Uralstech.UGemini.Utils.Singleton namespace has been moved to the Utils.Singleton package, which is now a dependency of UGemini.
  • GeminiStatus and GeminiStatusDetails have been moved to the UCloud.Operations package, which is now a dependency of UGemini. Use Uralstech.UCloud.Operations.OperationStatus and Uralstech.UCloud.ProtobufObject instead, respectively.
  • GeminiTunedModelCreateResponse is now an empty class inheriting from Uralstech.UCloud.Operations.Generic.Operation<GeminiTunedModelCreationOperationMetadata, GeminiTunedModel>.

Changed

  • Fixed possible exception in GeminiManager when an empty JSON object is returned for a request that expects an empty response.
  • All references to https://generativelanguage.googleapis.com have been changed to the new GeminiManager.BaseServiceUri constant.

Full Changelog: 2.1.0-preview.4...2.1.0-preview.5

UGemini v2.1.0 Preview 4

04 Sep 06:12
Compare
Choose a tag to compare
Pre-release

For those updating from v1.x.x: Check the update notes for v2.0.0 for an update guide.

This release is a part of UGemini v2.1.0, pull request #29.

Breaking Changes

  • Fixed response type for GeminiTunedModelCreateRequest from GeminiTunedModel to GeminiTunedModelCreateResponse.
  • All tunedModels endpoints requests now default to using the Beta API.
  • All tunedModels endpoints requests now default to using OAuth Access Token authentication.

Added

  • Support for multiple authentication method (API Key, OAuth) for all requests. Most default to API key authentication.

Full Changelog: 2.1.0-preview.3...2.1.0-preview.4

UGemini v2.1.0 Preview 3

03 Sep 18:12
Compare
Choose a tag to compare
Pre-release

For those updating from v1.x.x: Check the update notes for v2.0.0 for an update guide.

This release is a part of UGemini v2.1.0, pull request #29.

Added

  • Documentation generation is by DocFX.
  • Improved error handling in GeminiManager with new GeminiResponseParsingException exception.

Full Changelog: 2.1.0-preview.2...2.1.0-preview.3

UGemini v2.1.0 Preview 2

01 Sep 10:16
Compare
Choose a tag to compare
Pre-release

For those updating from v1.x.x: Check the update notes for v2.0.0 for an update guide.

This release is a part of UGemini v2.1.0, pull request #29.

Added

  • Support for tunedModels.patch and tunedModels.transferOwnership.
  • New method Task Request(IGeminiPostRequest request) in GeminiManager.

Full Changelog: 2.1.0-preview.1...2.1.0-preview.2

UGemini v2.1.0 Preview 1

01 Sep 08:22
Compare
Choose a tag to compare
Pre-release

For those updating from v1.x.x: Check the update notes for v2.0.0 for an update guide.

This release is a part of UGemini v2.1.0, pull request #29.

Breaking Changes

  • GeminiModelGetRequest.ModelName is now a property and is deprecated. Use GeminiModelId GeminiModelGetRequest.Model instead.

Added

  • Support for tunedModels.create, tunedModels.delete, tunedModels.get and tunedModels.list.

Changed

  • Updated GeminiModelIdStringConverter to be more explicit in conversion.

Full Changelog: 2.0.1...2.1.0-preview.1

UGemini v2.0.1

31 Aug 16:07
8279331
Compare
Choose a tag to compare

For those updating from v1.x.x: Check the update notes for v2.0.0 for an update guide.

Changes

  • Fixed GeminiChatResponse.Parts NullReferenceException when Candidates is null.
  • Fixed StreamingFunctionCallingChatManager NullReferenceException when streamedResponse.Parts is null.
  • Fixed QuestionAnsweringManager NullReferenceException when response.Answer.Content.Parts is null or empty.
  • Fixed UIChatMessage NullReferenceException when content.Parts is null.

Pull Requests

Full Changelog: 2.0.0...2.0.1

UGemini v2.0.0

31 Aug 14:20
Compare
Choose a tag to compare

Added

  • Support for the cachedContents endpoint.
  • Support for the code execution tool.
  • New ApplicationPDF value in GeminiContentType for PDF file uploads.
  • New values for GeminiFinishReason and GeminiBlockReason to maintain compatibility with the Gemini API.
  • New long? MaxItems field in GeminiSchema to maintain compatibility with the Gemini API.
  • New constructor for GeminiFileUploadRequest which accepts GeminiContentType for the contentType field.
  • Support for full file names (format files/{fileId}) in the constructors for GeminiFileDeleteRequest and GeminiFileGetRequest.
  • Better error handling in streamed chat requests.

Changed

  • Updated samples for new namespaces.
  • Updated documentation for v1Beta-only methods.
  • Better null handling for GeminiChatResponse.Parts.

Known Issues

  • GeminiChatResponse.Parts can still raise NullReferenceExceptions if Candidates itself is null.

Breaking Changes

  • EnumExtensions is now GeminiContentTypeExtensions.
  • GeminiTimeSpanJsonConverter is now GeminiSecondsToTimeSpanJsonConverter in Uralstech.UGemini.
  • The fileId field in the constructors for GeminiFileDeleteRequest and GeminiFileGetRequest has been renamed to fileNameOrId.
  • All code previously marked as "deprecated" has been removed.

For namespace changes, please refer to this table:

Class Old Namespace New Namespace
GeminiContent Uralstech.UGemini Uralstech.UGemini.Models.Content
GeminiContentBlob Uralstech.UGemini Uralstech.UGemini.Models.Content
GeminiContentPart Uralstech.UGemini Uralstech.UGemini.Models.Content
GeminiFileData Uralstech.UGemini Uralstech.UGemini.Models.Content
GeminiRole Uralstech.UGemini Uralstech.UGemini.Models.Content
UnityExtensions Uralstech.UGemini Uralstech.UGemini.Models.Content
GeminiAttributionSourceId Uralstech.UGemini.Chat Uralstech.UGemini.Models.Content.Attribution
GeminiGroundingAttribution Uralstech.UGemini.Chat Uralstech.UGemini.Models.Content.Attribution
GeminiGroundingPassageId Uralstech.UGemini.Chat Uralstech.UGemini.Models.Content.Attribution
GeminiSemanticRetrieverChunk Uralstech.UGemini.Chat Uralstech.UGemini.Models.Content.Attribution
GeminiCitationMetadata Uralstech.UGemini.Chat Uralstech.UGemini.Models.Content.Citation
GeminiCitationSource Uralstech.UGemini.Chat Uralstech.UGemini.Models.Content.Citation
GeminiTokenCountRequest Uralstech.UGemini.TokenCounting Uralstech.UGemini.Models.CountTokens
GeminiTokenCountResponse Uralstech.UGemini.TokenCounting Uralstech.UGemini.Models.CountTokens
GeminiBatchEmbedContentRequest Uralstech.UGemini.Embedding Uralstech.UGemini.Models.Embedding
GeminiBatchEmbedContentResponse Uralstech.UGemini.Embedding Uralstech.UGemini.Models.Embedding
GeminiContentEmbedding Uralstech.UGemini.Embedding Uralstech.UGemini.Models.Embedding
GeminiEmbedContentRequest Uralstech.UGemini.Embedding Uralstech.UGemini.Models.Embedding
GeminiEmbedContentResponse Uralstech.UGemini.Embedding Uralstech.UGemini.Models.Embedding
GeminiEmbedTaskType Uralstech.UGemini.Embedding Uralstech.UGemini.Models.Embedding
GeminiGenerationConfiguration Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation
GeminiResponseType Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation
GeminiCandidate Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation.Candidate
GeminiPromptFeedback Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation.Candidate
GeminiUsageMetadata Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation.Candidate
GeminiFinishReason Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation.Candidate
GeminiChatRequest Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation.Chat
GeminiChatResponse Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation.Chat
GeminiAnswerRequest Uralstech.UGemini.Answer Uralstech.UGemini.Models.Generation.QuestionAnswering
GeminiAnswerResponse Uralstech.UGemini.Answer Uralstech.UGemini.Models.Generation.QuestionAnswering
GeminiAnswerStyle Uralstech.UGemini.Answer Uralstech.UGemini.Models.Generation.QuestionAnswering
GeminiGroundingPassage Uralstech.UGemini.Answer Uralstech.UGemini.Models.Generation.QuestionAnswering.Grounding
GeminiGroundingPassages Uralstech.UGemini.Answer Uralstech.UGemini.Models.Generation.QuestionAnswering.Grounding
GeminiMetadataCondition Uralstech.UGemini.Answer Uralstech.UGemini.Models.Generation.QuestionAnswering.SemanticRetriever
GeminiMetadataFilter Uralstech.UGemini.Answer Uralstech.UGemini.Models.Generation.QuestionAnswering.SemanticRetriever
GeminiSemanticRetrieverConfig Uralstech.UGemini.Answer Uralstech.UGemini.Models.Generation.QuestionAnswering.SemanticRetriever
GeminiMetadataConditionOperator Uralstech.UGemini.Answer Uralstech.UGemini.Models.Generation.QuestionAnswering.SemanticRetriever
GeminiSafetyRating Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation.Safety
GeminiSafetySettings Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation.Safety
GeminiBlockReason Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation.Safety
GeminiHarmProbability Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation.Safety
GeminiSafetyHarmBlockThreshold Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation.Safety
GeminiSafetyHarmCategory Uralstech.UGemini.Chat Uralstech.UGemini.Models.Generation.Safety
GeminiSchema Uralstech.UGemini.Schema Uralstech.UGemini.Models.Generation.Schema
GeminiSchemaDataFormat Uralstech.UGemini.Schema Uralstech.UGemini.Models.Generation.Schema
GeminiSchemaDataType Uralstech.UGemini.Schema Uralstech.UGemini.Models.Generation.Schema
GeminiFunctionCall Uralstech.UGemini.Tools Uralstech.UGemini.Models.Generation.Tools
GeminiFunctionResponse Uralstech.UGemini.Tools Uralstech.UGemini.Models.Generation.Tools
GeminiFunctionResponseContent Uralstech.UGemini.Tools Uralstech.UGemini.Models.Generation.Tools
GeminiFunctionCallingConfiguration Uralstech.UGemini.Tools.Declaration Uralstech.UGemini.Models.Generation.Tools.Declaration
GeminiFunctionDeclaration Uralstech.UGemini.Tools.Declaration `Uralstech.UGemini.Models.Generatio...
Read more