UGemini 2.2.0 Preview 1
Pre-release
Pre-release
Uralstech
released this
30 Sep 17:01
·
22 commits
to unstable
since this release
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