Skip to content

Releases: mscraftsman/generative-ai

v1.6.5

13 Oct 05:38
Compare
Choose a tag to compare

Added

  • add properties State, Error, and VideoMetadata to type FileResource. #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

09 Oct 17:02
Compare
Choose a tag to compare

Changed

  • upgrade NuGet packages
  • housekeeping

Full Changelog: v1.6.2...v1.6.4

v1.6.3

24 Sep 17:03
Compare
Choose a tag to compare

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

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