Releases: mscraftsman/generative-ai
Releases · mscraftsman/generative-ai
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
v1.2.0
Added
- use TLS 1.2 protocol (.NET Fx)
- troubleshooting for streaming HttpIOException (.NET runtime issue)
Changed
- improve writing of model name
- refactor Content type used for SystemInstruction
- update tests regarding Content type
Fixed
- fix response checking in ChatSession
Full Changelog: v1.1.4...v1.2.0
v1.1.4
What's Changed
- improve response in SSE format by @jochenkirstaetter in #24
Added
- new values in enum FinishReason
- new enum HarmBlockMethod
Changed
- improve enums (ref: Google.Cloud.AIPlatform.V1)
- improve response in SSE format
- update samples to latest NuGet package
Full Changelog: v1.1.3...v1.1.4
v1.1.3
Changed
- improve Grounding for Google Search and Vertex AI Search
Fixed
- system instruction is an instance of content, not a list of same.
Full Changelog: v1.1.2...v1.1.3