Releases: mscraftsman/generative-ai
Releases Β· mscraftsman/generative-ai
v1.6.5
Added
- add properties
State
,Error
, andVideoMetadata
to typeFileResource
. #33 - overload method of
UploadMedia
to support stream types (#38)
Changed
- use of using expression to dispose
FileStream
after upload #37 - thanks @rsmithsa - enhance returned error information #19 #33
- update enums according to $discovery
- sync target frameworks among projects
New Contributors
Full Changelog: v1.6.4...v1.6.5
v1.6.4
v1.6.3
Added
- add model
gemini-1.5-pro-002
- add model
gemini-1.5-flash-002
- add experimental model
gemini-1.5-flash-8b-exp-0924
Full Changelog: v1.6.2...v1.6.3
v1.6.2
Added
- add RequestOptions to override default values
- add ResponseSchema for JSON response mode
Changed
- change default model to Gemini 1.5
- [.NET] use HTTP/1.1 or higher protocol
Full Changelog: v1.6.1...v1.6.2
v1.6.1
Added
- add Imagen 3 model
imagen-3.0-generate-001
- add Imagen 3 model
imagen-3.0-fast-generate-001
Full Changelog: v1.6.0...v1.6.1
v1.6.0
Added
- add tuning model
gemini-1.5-pro-001
- add tuning model
gemini-1.5-flash-001
- add tuning model
gemini-1.5-flash-001-tuning
Changed
- removed targeting for .NET 7 (end of support)
- re-linked constant
Model.Gemini15Pro
- re-linked constant
Model.Gemini15Flash
Full Changelog: v1.5.1...v1.6.0
v1.5.1
v1.5.0 - Google I/O
v1.4.0
Added
- implement Imagen 2 model (Vertex AI)
- implement Image Captioning (Vertex AI)
- implement Visual question and answering (VQA)
- add tests for
ImageGenerationModel
andImageTextModel
Changed
- refactor constant of JSON mimetype
- improve XML doc
- move types to subfolders
Full Changelog: v1.3.0...v1.4.0
v1.3.0
Added
- implement Server-Sent Events (SSE)
- add enum
FunctionCallingMode
- implement type
ToolConfig
- add model
gemini-1.0-pro-vision-001
- implement exception for max file upload size
- expose
Timeout
property
Changed
- rename method
UploadMedia
toUploadFile
(in sync with other SDKs) - rename
TaskType
Unspecified property - refactor
FileResource.SizeBytes
to long data type (int64) - refactor response type of
ListFiles
(discovery) - streaming response using SSE format works for other models than gemini-pro (original limitation)
- specify default values for
pageSize
- refactor constants to external file
- add and amend enum identifiers
- add and amend XML doc
Full Changelog: v1.2.0...v1.3.0