Skip to content

Commit 31c280f

Browse files
bump version
1 parent 882b2a0 commit 31c280f

File tree

6 files changed

+35
-5
lines changed

6 files changed

+35
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Alternatively, add the following line to your `.csproj` file.
3535

3636
```text
3737
<ItemGroup>
38-
<PackageReference Include="Mscc.GenerativeAI" Version="1.5.1" />
38+
<PackageReference Include="Mscc.GenerativeAI" Version="1.6.0" />
3939
</ItemGroup>
4040
```
4141

@@ -107,7 +107,7 @@ Google AI with an API key
107107
using Mscc.GenerativeAI;
108108
// Google AI with an API key
109109
var googleAI = new GoogleAI(apiKey: "your API key");
110-
var model = googleAI.GenerativeModel(model: Model.GeminiPro);
110+
var model = googleAI.GenerativeModel(model: Model.Gemini15Pro);
111111

112112
// Original approach, still valid.
113113
// 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
163163
var prompt = "Write a story about a magic backpack.";
164164

165165
var vertex = new VertexAI(projectId: projectId, region: region);
166-
var model = vertex.GenerativeModel(model: Model.GeminiPro);
166+
var model = vertex.GenerativeModel(model: Model.Gemini15Pro);
167167
model.AccessToken = accessToken;
168168

169169
var response = model.GenerateContent(prompt).Result;

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.1
1+
1.6.0

src/Mscc.GenerativeAI.Google/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
### Changed
1212
### Fixed
1313

14+
## 1.6.0
15+
16+
### Changed
17+
18+
- bump version
19+
1420
## 1.5.1
1521

1622
### Changed

src/Mscc.GenerativeAI.Web/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
### Changed
1212
### Fixed
1313

14+
## 1.6.0
15+
16+
### Changed
17+
18+
- bump version
19+
1420
## 1.5.1
1521

1622
### Changed

src/Mscc.GenerativeAI.Web/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Alternatively, add the following line to your `.csproj` file.
3434

3535
```text
3636
<ItemGroup>
37-
<PackageReference Include="Mscc.GenerativeAI.Web" Version="0.5.1" />
37+
<PackageReference Include="Mscc.GenerativeAI.Web" Version="1.6.0" />
3838
</ItemGroup>
3939
```
4040

src/Mscc.GenerativeAI/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
### Changed
1717
### Fixed
1818

19+
## 1.6.0
20+
21+
### Added
22+
23+
- add tuning model `gemini-1.5-pro-001`
24+
- add tuning model `gemini-1.5-flash-001`
25+
- add tuning model `gemini-1.5-flash-001-tuning`
26+
- add experimental model `gemini-1.5-pro-exp-0801`
27+
- add experimental model `gemini-1.5-pro-exp-0827`
28+
- add experimental model `gemini-1.5-flash-exp-0827`
29+
- add experimental model `gemini-1.5-flash-8b-exp-0827`
30+
31+
### Changed
32+
33+
- removed targeting for .NET 7 (end of support)
34+
- re-linked constant `Model.Gemini15Pro`
35+
- re-linked constant `Model.Gemini15Flash`
36+
1937
## 1.5.1
2038

2139
### Changed

0 commit comments

Comments
 (0)