Releases: Uralstech/UGemini
UGemini v2.3.0 Preview 7
This release is a part of UGemini v2.3.0, pull request #45.
Breaking Changes
- PaLM-only
GeminiSafetyHarmCategory
values have been removed. GeminiFile.Status
is now a property which points toGeminiFile.Error
.- The default value of
GeminiGenerationConfiguration.CandidateCount
is now -1. If it is set to 1, the value will no longer be excluded from the JSON request data. This should not cause any issues.
Full Changelog: 2.3.0-preview.6...2.3.0-preview.7
UGemini v2.3.0 Preview 6
This release is a part of UGemini v2.3.0, pull request #45.
Breaking Changes
GeminiFunctionResponseContent
has been removed.GeminiFunctionResponseContent GeminiFunctionResponse.Response
is nowJObject GeminiFunctionResponse.ResponseData
.
Changed
- Updated all dependencies.
Full Changelog: 2.3.0-preview.5...2.3.0-preview.6
UGemini v2.3.0 Preview 5
This release is a part of UGemini v2.3.0, pull request #45.
Changed
- Updated File API sample.
- Updated dependencies.
Full Changelog: 2.3.0-preview.4...2.3.0-preview.5
UGemini v2.3.0 Preview 4
This release is a part of UGemini v2.3.0, pull request #45.
Added
- Support for the Google Search grounding tool.
ReaderProjectNumbers
in tuned model patch requests.Enum
response type for generation.- New
Gemini1_5Flash8B
constant for Gemini Flash 8B inGeminiModel
. - Implicit cast to
string
forGeminiCachedContent
.
Full Changelog: 2.3.0-preview.3...2.3.0-preview.4
UGemini v2.3.0 Preview 3
This release is a part of UGemini v2.3.0, pull request #45.
Changes
- Updated project to Unity 6.
- Bumped dependencies.
- Improved JSON serialization for some batch requests.
Full Changelog: 2.3.0-preview.2...2.3.0-preview.3
UGemini v2.3.0 Preview 2
This release is a part of UGemini v2.3.0, pull request #45.
Changes
- Fixed documentation.
Full Changelog: 2.3.0-preview.1...2.3.0-preview.2
UGemini v2.3.0 Preview 1
This release is a part of UGemini v2.3.0, pull request #45.
Breaking Changes
GeminiMetadataCondition
,GeminiMetadataConditionOperator
andGeminiMetadataFilter
have been moved toUralstech.UGemini.CorporaAPI.Filters
.GeminiModelIdStringConverter
is nowGeminiModelIdToStringConverter
.GeminiFieldMaskGenerator
has been moved up to theUralstech.UGemini
namespace.
Added
- Support for the
corpora
endpoint. - Additional QOL constructors for
GeminiFileUploadMetaData
,
Full Changelog: 2.2.0...2.3.0-preview.1
UGemini v2.2.0
Breaking Changes
GeminiModelIdStringConverter
andGeminiSecondsToTimeSpanJsonConverter
have been moved toUralstech.UGemini.JsonConverters
.GeminiFile.Status
is obsolete, useGeminiFile.Error
instead.
Gemini API Update Changes
- Added new field
CachedContentTokenCount
toGeminiTokenCountResponse
. - Added new field
MaxTemperature
toGeminiModel
. - Added new fields
AvgLogprobs
andLogprobsResult
toGeminiCandidate
. - Added new enum value
Language
toGeminiFinishReason
. - Added new fields
PresencePenalty
,FrequencyPenalty
,ResponseLogprobs
andLogprobs
toGeminiGenerationConfiguration
. - Added new enum value
Off
toGeminiSafetyHarmBlockThreshold
. - Added new enum value
CivicIntegrity
toGeminiSafetyHarmCategory
. - Added new field
MinItems
toGeminiSchema
. - Added new field
ReaderProjectNumbers
toGeminiTunedModelCreationData
andGeminiTunedModel
.
Other Changes
- Fixed
long
values not converting tostring
JSON as expected by the API. - Added missing
EnumMember
attributes for someGeminiSchemaDataFormat
. GeminiCachedConent.cs
has been renamed toGeminiCachedContent.cs
.
Pull Requests
- UGemini v2.2.0 by @Uralstech in #42
Full Changelog: 2.1.1...2.2.0
UGemini 2.2.0 Preview 1
This release is a part of UGemini v2.2.0, pull request #42.
Breaking Changes
GeminiModelIdStringConverter
andGeminiSecondsToTimeSpanJsonConverter
have been moved toUralstech.UGemini.JsonConverters
.GeminiFile.Status
is obsolete, useGeminiFile.Error
instead.
Gemini API Update Changes
- Added new field
CachedContentTokenCount
toGeminiTokenCountResponse
. - Added new field
MaxTemperature
toGeminiModel
. - Added new fields
AvgLogprobs
andLogprobsResult
toGeminiCandidate
. - Added new enum value
Language
toGeminiFinishReason
. - Added new fields
PresencePenalty
,FrequencyPenalty
,ResponseLogprobs
andLogprobs
toGeminiGenerationConfiguration
. - Added new enum value
Off
toGeminiSafetyHarmBlockThreshold
. - Added new enum value
CivicIntegrity
toGeminiSafetyHarmCategory
. - Added new field
MinItems
toGeminiSchema
. - Added new field
ReaderProjectNumbers
toGeminiTunedModelCreationData
andGeminiTunedModel
.
Changes
- Fixed
long
values not converting tostring
JSON as expected by the API. - Added missing
EnumMember
attributes for someGeminiSchemaDataFormat
. GeminiCachedConent.cs
has been renamed toGeminiCachedContent.cs
.
Full Changelog: 2.1.1...2.2.0-preview.1
UGemini v2.1.1
For those updating from v1.x.x and v2.0.0: Check the update notes for v2.0.0 and/or the update notes for v2.1.0 for an update guide.
Changes
- Updated dependencies.
Pull Requests
- UGemini v2.1.1 by @Uralstech in #40
Full Changelog: 2.1.0...2.1.1