Releases: mscraftsman/generative-ai
Releases · mscraftsman/generative-ai
v1.9.1
What's Changed
- update NuGet package(s)
- Update Microsoft.Extensions.AI to 9.0.0-preview.9.24556.5 by @stephentoub in #44
New Contributors
- @stephentoub made their first contribution in #44
Full Changelog: v1.9.0...v1.9.1
v1.9.0 - .NET 9.0
Added
- add .NET 9.0 targeting
- add feature: Interact with Vertex Tuned Models (#36)
- add model/service for generated files
- add method(s) to call Predict endpoints
Changed
- refactor handling of base URLs and API endpoints
- check request(s) for unsupported combination of options
- update method to batch embeddings
Full Changelog: v1.8.3...v1.9.0
v1.8.3
v1.8.2
What's Changed
additional NuGet package Mscc.GenerativeAI.Microsoft
leveraging Microsoft.Extensions.AI abstractions to build a unified AI client.
Added
- add logs with LogLevel using the Standard logging in .NET #43
Changed
- set role for embedding request
Fixed
- fix endpoint method of
text-embedding-004
Full Changelog: v1.8.1...v1.8.2
v1.8.1
Added
- add logs with LogLevel using the Standard logging in .NET #6 - thanks @doggy8088
Changed
- improve regarding XMLdoc, typos, and non-nullable properties
Fixed
- fix Application Default Credentials (ADC) has been loaded automatically even I use API Key auth. #9
- fix Exception thrown in Google App Engine #26
Full Changelog: v1.8.0...v1.8.1
v1.8.0
Added
- add context caching: https://ai.google.dev/gemini-api/docs/caching
- add code execution: https://ai.google.dev/gemini-api/docs/code-execution
- add model
gemini-1.5-flash-8b-001
- add Logprobs handling
- add required model name and optional cached content to request
Changed
- sanitize name of cached content
- extend list of supported MIME types
- extend
FinishReason
- extend
VideoMetadata
Fixed
Full Changelog: v1.7.0...v1.8.0
v1.7.0
Added
- add methods using File API to class
GoogleAI
- mark methods using File API as obsolete/deprecated
- add types and functionality for
CachedContents
- add types and functionality for
GeneratedFile
- add extension methods for
GeneratedFiles
andCachedContents
- add more XMLdoc
Changed
- change access modifier of some properties
Full Changelog: v1.6.5...v1.7.0
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