Releases: Uralstech/UGemini
UGemini v2.0.0 Preview 6
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 acceptsGeminiCachedContentPatchData
instead ofGeminiCachedContent
as input.GeminiManager
'sTask Request(IGeminiPatchRequest request)
is nowTask<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
This release is a part of UGemini v2.0.0, pull request #18
Breaking Changes
GeminiCachedContentCreateRequest
now acceptsGeminiCachedContentCreationData
instead ofGeminiCachedContent
as input.- The
Contents
,Tools
,TimeToLive
,SystemInstruction
andToolConfig
fields have been removed fromGeminiCachedConent
. - All constructors for
cachedContents
requests now haveuseBetaApi = true
as default.
Changed
- Fixed
cachedContents.create
,cachedContents.get
,cachedContents.list
andcachedContents.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
This release is a part of UGemini v2.0.0, pull request #18
Breaking Changes
GeminiTimeSpanJsonConverter
is nowGeminiSecondsToTimeSpanJsonConverter
inUralstech.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
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 forGeminiFileDeleteRequest
andGeminiFileGetRequest
.
Breaking Changes
- The
fileId
field in the constructors forGeminiFileDeleteRequest
andGeminiFileGetRequest
has been renamed tofileNameOrId
.
Full Changelog: 2.0.0-preview.2...2.0.0-preview.3
UGemini v2.0.0 Preview 2
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
This release is a part of UGemini v2.0.0, pull request #18
Added
- New constructor for
GeminiFileUploadRequest
which acceptsGeminiContentType
for thecontentType
field. - New values for
GeminiFinishReason
andGeminiBlockReason
to maintain compatibility with the Gemini API. - New
long? MaxItems
field inGeminiSchema
to maintain compatibility with the Gemini API. - Better error handling in streamed chat requests.
Changed
- Updated samples for new namespaces.
Breaking Changes
EnumExtensions
is nowGeminiContentTypeExtensions
.- 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...
UGemini v1.4.0
Breaking Changes
GeminiModelId(string baseModelId, string resourceLocation)
has been replaced withGeminiModelId(string name, string baseModelId)
. Use the newGeminiModelId(string nameOrBaseModelId)
instead.
Added
- Support for
embedContent
,batchEmbedContents
andgenerateAnswer
methods. GeminiModel
can now implicitly convert strings from bothBaseModelId
andName
formats.- New sample for question answering with
aqa
.
Changed
- Fixed
GeminiModel.BaseModelId
not being set formodels.get
andmodels.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
Added
- More static
GeminiModelId
s toGeminiModel
, including ones fortext-embedding-004
andaqa
. - 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
UGemini v1.4.0 Preview 2
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