From 2710d43206c0b732d18bedf7d46e86c6181906b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jochen=20Kirst=C3=A4tter?=
<7329802+jochenkirstaetter@users.noreply.github.com>
Date: Tue, 24 Sep 2024 20:58:06 +0400
Subject: [PATCH] bump version due to new models
---
README.md | 2 +-
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 | 8 ++++++++
src/Mscc.GenerativeAI/Constants/Model.cs | 8 ++++++--
src/Mscc.GenerativeAI/GenerativeModel.cs | 3 +++
8 files changed, 32 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 67b9276..0ad99a8 100644
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@ Alternatively, add the following line to your `.csproj` file.
```text
-
+
```
diff --git a/VERSION b/VERSION
index 308b6fa..f5d2a58 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.6.2
\ No newline at end of file
+1.6.3
\ No newline at end of file
diff --git a/src/Mscc.GenerativeAI.Google/CHANGELOG.md b/src/Mscc.GenerativeAI.Google/CHANGELOG.md
index c72d239..42ecbb9 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.3
+
+### Changed
+
+- bump version
+
## 1.6.2
### Changed
diff --git a/src/Mscc.GenerativeAI.Web/CHANGELOG.md b/src/Mscc.GenerativeAI.Web/CHANGELOG.md
index 99e293c..20ec8f5 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.3
+
+### Changed
+
+- bump version
+
## 1.6.2
### Changed
diff --git a/src/Mscc.GenerativeAI.Web/README.md b/src/Mscc.GenerativeAI.Web/README.md
index 9f91889..07e2875 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 5d3ec26..b0844fd 100644
--- a/src/Mscc.GenerativeAI/CHANGELOG.md
+++ b/src/Mscc.GenerativeAI/CHANGELOG.md
@@ -16,6 +16,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
### Fixed
+## 1.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`
+
## 1.6.2
### Added
diff --git a/src/Mscc.GenerativeAI/Constants/Model.cs b/src/Mscc.GenerativeAI/Constants/Model.cs
index 34893dc..945166a 100644
--- a/src/Mscc.GenerativeAI/Constants/Model.cs
+++ b/src/Mscc.GenerativeAI/Constants/Model.cs
@@ -27,7 +27,8 @@ public static class Model
// Gemini 1.5
public const string Gemini15Pro = "gemini-1.5-pro";
public const string Gemini15Pro001 = "gemini-1.5-pro-001";
- public const string Gemini15ProTuning = Gemini15Pro001;
+ public const string Gemini15Pro002 = "gemini-1.5-pro-002";
+ public const string Gemini15ProTuning = Gemini15Pro002;
public const string Gemini15ProPreview = "gemini-1.5-pro-preview-0409";
public const string Gemini15ProExperimental0801 = "gemini-1.5-pro-exp-0801";
public const string Gemini15ProExperimental0827 = "gemini-1.5-pro-exp-0827";
@@ -36,9 +37,12 @@ public static class Model
public const string Gemini15Flash = "gemini-1.5-flash";
public const string Gemini15FlashLatest = "gemini-1.5-flash-latest";
public const string Gemini15Flash001 = "gemini-1.5-flash-001";
- public const string Gemini15FlashTuning = "gemini-1.5-flash-001-tuning";
+ public const string Gemini15Flash002 = "gemini-1.5-flash-002";
+ public const string Gemini15Flash001Tuning = "gemini-1.5-flash-001-tuning";
+ public const string Gemini15FlashTuning = Gemini15Flash001Tuning;
public const string Gemini15FlashExperimental0827 = "gemini-1.5-flash-exp-0827";
public const string Gemini15FlashExperimental0827_8B = "gemini-1.5-flash-8b-exp-0827";
+ public const string Gemini15FlashExperimental0924_8B = "gemini-1.5-flash-8b-exp-0924";
// PaLM 2 models
public const string BisonText001 = "text-bison-001";
public const string BisonText002 = "text-bison-002";
diff --git a/src/Mscc.GenerativeAI/GenerativeModel.cs b/src/Mscc.GenerativeAI/GenerativeModel.cs
index 88ea2ef..7de1033 100644
--- a/src/Mscc.GenerativeAI/GenerativeModel.cs
+++ b/src/Mscc.GenerativeAI/GenerativeModel.cs
@@ -939,6 +939,9 @@ internal async IAsyncEnumerable GenerateContentStreamSS
}
}
}
+
+ //ToDo: Implement new endpoint method createCachedContent
+ //Models: gemini-1.5-pro-001 & gemini-1.5-flash-001 only
///
/// Generates a grounded answer from the model given an input GenerateAnswerRequest.