From 31c280fc8c115e99d6c4018a86498ebecc0e760b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochen=20Kirst=C3=A4tter?= <7329802+jochenkirstaetter@users.noreply.github.com> Date: Thu, 29 Aug 2024 19:15:58 +0400 Subject: [PATCH] bump version --- README.md | 6 +++--- VERSION | 2 +- src/Mscc.GenerativeAI.Google/CHANGELOG.md | 6 ++++++ src/Mscc.GenerativeAI.Web/CHANGELOG.md | 6 ++++++ src/Mscc.GenerativeAI.Web/README.md | 2 +- src/Mscc.GenerativeAI/CHANGELOG.md | 18 ++++++++++++++++++ 6 files changed, 35 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c712d44..937108e 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Alternatively, add the following line to your `.csproj` file. ```text - + ``` @@ -107,7 +107,7 @@ Google AI with an API key using Mscc.GenerativeAI; // Google AI with an API key var googleAI = new GoogleAI(apiKey: "your API key"); -var model = googleAI.GenerativeModel(model: Model.GeminiPro); +var model = googleAI.GenerativeModel(model: Model.Gemini15Pro); // Original approach, still valid. // var model = new GenerativeModel(apiKey: "your API key", model: Model.GeminiPro); @@ -163,7 +163,7 @@ var accessToken = "your_access_token"; // use `gcloud auth application-defa var prompt = "Write a story about a magic backpack."; var vertex = new VertexAI(projectId: projectId, region: region); -var model = vertex.GenerativeModel(model: Model.GeminiPro); +var model = vertex.GenerativeModel(model: Model.Gemini15Pro); model.AccessToken = accessToken; var response = model.GenerateContent(prompt).Result; diff --git a/VERSION b/VERSION index 8e03717..ce6a70b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.1 \ No newline at end of file +1.6.0 \ No newline at end of file diff --git a/src/Mscc.GenerativeAI.Google/CHANGELOG.md b/src/Mscc.GenerativeAI.Google/CHANGELOG.md index 21af43f..cd90eb3 100644 --- a/src/Mscc.GenerativeAI.Google/CHANGELOG.md +++ b/src/Mscc.GenerativeAI.Google/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed ### Fixed +## 1.6.0 + +### Changed + +- bump version + ## 1.5.1 ### Changed diff --git a/src/Mscc.GenerativeAI.Web/CHANGELOG.md b/src/Mscc.GenerativeAI.Web/CHANGELOG.md index 5828a3f..174219c 100644 --- a/src/Mscc.GenerativeAI.Web/CHANGELOG.md +++ b/src/Mscc.GenerativeAI.Web/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed ### Fixed +## 1.6.0 + +### Changed + +- bump version + ## 1.5.1 ### Changed diff --git a/src/Mscc.GenerativeAI.Web/README.md b/src/Mscc.GenerativeAI.Web/README.md index 77fe3a7..a3a104f 100644 --- a/src/Mscc.GenerativeAI.Web/README.md +++ b/src/Mscc.GenerativeAI.Web/README.md @@ -34,7 +34,7 @@ Alternatively, add the following line to your `.csproj` file. ```text - + ``` diff --git a/src/Mscc.GenerativeAI/CHANGELOG.md b/src/Mscc.GenerativeAI/CHANGELOG.md index 50c3fad..f2d2c42 100644 --- a/src/Mscc.GenerativeAI/CHANGELOG.md +++ b/src/Mscc.GenerativeAI/CHANGELOG.md @@ -16,6 +16,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed ### Fixed +## 1.6.0 + +### 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` +- add experimental model `gemini-1.5-pro-exp-0801` +- add experimental model `gemini-1.5-pro-exp-0827` +- add experimental model `gemini-1.5-flash-exp-0827` +- add experimental model `gemini-1.5-flash-8b-exp-0827` + +### Changed + +- removed targeting for .NET 7 (end of support) +- re-linked constant `Model.Gemini15Pro` +- re-linked constant `Model.Gemini15Flash` + ## 1.5.1 ### Changed