Skip to content

Releases: mscraftsman/generative-ai

v1.6.2

19 Sep 05:37
Compare
Choose a tag to compare

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

19 Sep 05:25
Compare
Choose a tag to compare

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

29 Aug 15:22
Compare
Choose a tag to compare

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

31 Jul 19:39
Compare
Choose a tag to compare

Changed

  • Update System.Text.Json to 8.0.4

Full Changelog: v1.5.0...v1.5.1

v1.5.0 - Google I/O

15 May 09:45
Compare
Choose a tag to compare

Added

  • add model gemini-1.5-flash-latest

Full Changelog: v1.4.0...v1.5.0

v1.4.0

22 Apr 17:12
Compare
Choose a tag to compare

Added

  • implement Imagen 2 model (Vertex AI)
  • implement Image Captioning (Vertex AI)
  • implement Visual question and answering (VQA)
  • add tests for ImageGenerationModel and ImageTextModel

Changed

  • refactor constant of JSON mimetype
  • improve XML doc
  • move types to subfolders

Full Changelog: v1.3.0...v1.4.0

v1.3.0

18 Apr 22:23
Compare
Choose a tag to compare

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 to UploadFile (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

16 Apr 08:56
Compare
Choose a tag to compare

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

15 Apr 06:51
Compare
Choose a tag to compare

What's Changed

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

12 Apr 05:43
Compare
Choose a tag to compare

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