Releases: mscraftsman/generative-ai
Releases · mscraftsman/generative-ai
v2.4.0
What's changed
Added
- add model
gemini-2.5-pro-exp-03-25
- add model
gemini-2.0-flash-exp-image-generation
- add
CacheTokensDetails
attribute in response - add
title
attribute
Changed
- read envVar
GOOGLE_GENAI_USE_VERTEXAI
- adjust endpoint method of Veo 2 model
- update NuGet packages
Full Changelog: v2.3.6...v2.4.0
v2.3.6
v2.3.5
What's changed
Added
- add new Schema attributes
- add tests for ResponseModality
- add test to use Youtube video
- add test to classify (remote) image using enum
- add test for models using GoogleSearchRetrieval tool
Changed
- update NuGet packages
Fixed
Full Changelog: v2.3.4...v2.3.5
v2.3.4
What's changed
new Microsoft.Extensions.AI changes
Update to M.E.AI 9.3.0-preview.1.25161.3 #72 thanks to @stephentoub
Full Changelog: v2.3.3...v2.3.4
v2.3.3
What's changed
- add model
gemma-3-27b-it
Changed
- upgrade NuGet packages
Full Changelog: v2.3.2...v2.3.3
v2.3.2
What's changed
- add API key of Vertex AI in express mode
- add sample using safety settings
Fixed
- fix for Vertex AI in express mode
Full Changelog: v2.3.1...v2.3.2
v2.3.1
What's changed
- add model
gemini-embedding-exp
- use named parameter to initialize Vertex AI
Full Changelog: v2.3.0...v2.3.1
v2.3.0
What's changed
Added
- add model
gemini-embedding-exp-03-07
- add new
CodeRetrievalQuery
task type - add model
gemini-2.0-flash-lite
- add model
gemini-2.0-flash-lite-001
- add model
veo-2.0-generate-001
- add video generation
- add
genai
config types - add RAG Engine API (Vertex AI only)
- add new metadata properties
- add discontinuation dates
- add more and consistent use of
ILogger
#6 - add logging when there are multiple candidates
- add OpenAI compatible enums for image generation
- add OpenAI properties
- add extension to (download and) inline remote resources
- add extension methods to create
Part
types - add more environment variables to read
Changed
- improvements to test cases
- extend REST playground samples
- extend Python playground samples (incl. setup env)
- update NuGet packages
- remove Gemini 1.0 test case
- add and update enums
- rename enum
FunctionCallingMode
toFunctionCallingConfigMode
Fixed
- add workaround for MIME type of Rich Text Format (RTF)
- add default constructor due to serialization
- fix OpenAI endpoints for image generation
Full Changelog: v2.2.11...v2.3.0
v2.2.11
What's changed
Added
- add more model constants for Imagen 3
- add model
code-gecko
Changed
- rename model
imagetext
Fixed
- fix regression error
Full Changelog: v2.2.10...v2.2.11