Skip to content

Releases: Uralstech/UGemini

UGemini v2.0.0 Preview 6

31 Aug 07:57
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.0.0, pull request #18. This should be the last 2.0.0 release in preview - I've completed all the tasks I set out to do and just need to do the testing.

Breaking Changes

  • GeminiCachedContentPatchRequest now accepts GeminiCachedContentPatchData instead of GeminiCachedContent as input.
  • GeminiManager's Task Request(IGeminiPatchRequest request) is now Task<TResponse> Request<TResponse>(IGeminiPatchRequest request).

Changed

  • Fixed cachedContent.patch.

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

UGemini v2.0.0 Preview 5

30 Aug 19:37
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.0.0, pull request #18

Breaking Changes

  • GeminiCachedContentCreateRequest now accepts GeminiCachedContentCreationData instead of GeminiCachedContent as input.
  • The Contents, Tools, TimeToLive, SystemInstruction and ToolConfig fields have been removed from GeminiCachedConent.
  • All constructors for cachedContents requests now have useBetaApi = true as default.

Changed

  • Fixed cachedContents.create, cachedContents.get, cachedContents.list and cachedContents.delete.
  • Updated documentation for v1Beta-only methods.

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

UGemini v2.0.0 Preview 4

30 Aug 14:06
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.0.0, pull request #18

Breaking Changes

  • GeminiTimeSpanJsonConverter is now GeminiSecondsToTimeSpanJsonConverter in Uralstech.UGemini.

Added

  • Support for the cachedContents endpoint.
  • Added .meta files for code execution scripts.

This is probably one of the more unstable versions of UGemini 2.0.0-preview. I've not tested the cachedContents support at all, and I'm especially sketchy about the PATCH method.

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

UGemini v2.0.0 Preview 3

29 Aug 09:38
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.0.0, pull request #18

Added

  • Support for full file names (format files/{fileId}) in the constructors for GeminiFileDeleteRequest and GeminiFileGetRequest.

Breaking Changes

  • The fileId field in the constructors for GeminiFileDeleteRequest and GeminiFileGetRequest has been renamed to fileNameOrId.

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

UGemini v2.0.0 Preview 2

29 Aug 09:14
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.0.0, pull request #18

Added

  • Support for the code execution tool.

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

UGemini v2.0.0 Preview 1

28 Aug 15:22
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.0.0, pull request #18

Added

  • New constructor for GeminiFileUploadRequest which accepts GeminiContentType for the contentType field.
  • 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.
  • Better error handling in streamed chat requests.

Changed

  • Updated samples for new namespaces.

Breaking Changes

  • EnumExtensions is now GeminiContentTypeExtensions.
  • 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.Generation.Tools.Declaration
GeminiTool Uralstech.UGemini.Tools.Declaration Uralstech.UGemini.Models.Generation.Tools.Declaration
GeminiToolConfiguration Uralstech.UGemini.Tools.Declaration Uralstech.UGemini.Models.Generation.Tools.Declaration
GeminiFunctionCallingMode Uralstech.UGemini.Tools.Declaration Uralstech.UGemini.Models.Generation.Tools.Declaration

**Full C...

Read more

UGemini v1.4.0

13 Aug 11:13
4a6c6ac
Compare
Choose a tag to compare

Breaking Changes

  • GeminiModelId(string baseModelId, string resourceLocation) has been replaced with GeminiModelId(string name, string baseModelId). Use the new GeminiModelId(string nameOrBaseModelId) instead.

Added

  • Support for embedContent, batchEmbedContents and generateAnswer methods.
  • GeminiModel can now implicitly convert strings from both BaseModelId and Name formats.
  • New sample for question answering with aqa.

Changed

  • Fixed GeminiModel.BaseModelId not being set for models.get and models.list responses.
  • Function calling sample now has a new variable to set the maximum number of function calls allowed before requests are stopped.
  • Removed custom GeminiToolConfiguration in function calling sample for better responses.
  • Tagged GeminiCandidate.Content as nullable.

Full Changelog: 1.3.0...1.4.0

UGemini v1.4.0 Preview 4

11 Aug 12:22
Compare
Choose a tag to compare
Pre-release

Added

  • More static GeminiModelIds to GeminiModel, including ones for text-embedding-004 and aqa.
  • Sample for question answering with AQA.

Changed

  • Function calling sample now has a new variable to set the maximum number of function calls allowed before requests are stopped.
  • Function calling sample now uses Gemini 1.5 Pro.
  • Tagged GeminiCandidate.Content as nullable.

UGemini v1.4.0 Preview 3

28 Jul 12:52
e488cae
Compare
Choose a tag to compare
Pre-release

Fixed

  • generateAnswer should work now.

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

UGemini v1.4.0 Preview 2

17 Jul 13:07
Compare
Choose a tag to compare
Pre-release

Added

  • Added missing .meta files for scripts and directories added in 1.4.0 Preview 1.

Changed

  • Updated documentation.

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