Skip to content

Releases: mscraftsman/generative-ai

v2.2.0 - Vertex AI in express mode

07 Feb 17:38
Compare
Choose a tag to compare

Added

  • add Vertex AI in express mode

Full Changelog: v2.1.8...v2.2.0

v2.1.8

07 Feb 07:24
Compare
Choose a tag to compare

What's Changed

  • Refactor image generation (Imagen 3)
  • Add HTTP status code to HttpRequestException #64 thanks to @eirikwah
  • Add StatusCode to HttpRequestException by @eirikwah in #65

New Contributors

Full Changelog: v2.1.7...v2.1.8

v2.1.7

06 Feb 11:25
Compare
Choose a tag to compare

Added

  • add new model gemini-2.0-flash
  • add new model gemini-2.0-flash-001
  • add new model gemini-2.0-flash-lite-preview
  • add new model gemini-2.0-flash-lite-preview-02-05
  • add new model gemini-2.0-pro-exp
  • add new model gemini-2.0-pro-exp-02-05

Changed

  • remove model gemini-1.5-flash-exp-0827
  • remove model gemini-1.5-pro-exp-0801
  • remove model gemini-1.5-pro-exp-0827

Full Changelog: v2.1.6...v2.1.7

v2.1.6

03 Feb 23:26
Compare
Choose a tag to compare

Added

  • add parameter EnhancePrompt
  • add parameter AddWatermark
  • add handling for JsonElement and JsonNode

Changed

  • map previous models

Full Changelog: v2.1.5...v2.1.6

v2.1.5

03 Feb 10:31
Compare
Choose a tag to compare

Added

  • add parameter to specify API version
  • add ThinkingConfig parameter
  • OpenAI comp: list models REST
  • revision 20250130 - removal of OpenAI, Coscientist, etc.

Changed

  • update Imagen3 model to imagen-3.0-generate-002
  • correct and update README and test cases #62

Full Changelog: v2.1.4...v2.1.5

v2.1.4

03 Feb 10:29
Compare
Choose a tag to compare

Full Changelog: v2.1.3...v2.1.4

v2.1.3

28 Jan 17:18
Compare
Choose a tag to compare

Added

  • add model gemini-2.0-flash-thinking-exp-01-21
  • add several new properties of Gemini API

Full Changelog: v2.1.2...v2.1.3

v2.1.2

27 Jan 11:28
Compare
Choose a tag to compare

Added

  • allow custom response schema #59 thanks to @biegehydra
  • NuGet: embed untracked sources
  • add raw base64 addMedia method #61 thanks to @cecingua

Changed

  • make clients thread safe #59 thanks to @biegehydra
  • rename tests for ResponseSchema
  • update NuGet packages
  • drop Newtonsoft.Json

Fixed

  • "System.Net.Http.HttpRequestException: The HTTP request headers length exceeded the server limit of 65536 bytes" in Mscc.GenerativeAI.GoogleAI.UploadFile #56

New Contributors

Full Changelog: v2.1.1...v2.1.2

v2.1.1

17 Jan 09:22
Compare
Choose a tag to compare

Changed

  • Integrate JsonSchema.net to generate OpenApi schemas #55 thanks to @rawb300

Full Changelog: v2.1.0...v2.1.1

v2.1.0

16 Jan 11:33
Compare
Choose a tag to compare

Added

  • add Schema properties
  • add enum MediaResolution
  • add AudioOptions property
    add DownloadFile method and Source property
  • add optional parameter CancellationToken to all requests #54 thanks to @Ar4ics

Changed

  • update NuGet packages
  • drop .NET 6.0 targeting
  • InvalidOperationException when setting Timeout #57 thanks to @Ar4ics
  • extend OpenAI.GetModel method
  • change JSON default settings

What's Changed

Full Changelog: v2.0.2...v2.1.0