Skip to content

Commit

Permalink
bump version due to new models
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenkirstaetter committed Sep 24, 2024
1 parent 5ab823d commit 2710d43
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Alternatively, add the following line to your `.csproj` file.

```text
<ItemGroup>
<PackageReference Include="Mscc.GenerativeAI" Version="1.6.2" />
<PackageReference Include="Mscc.GenerativeAI" Version="1.6.3" />
</ItemGroup>
```

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.2
1.6.3
6 changes: 6 additions & 0 deletions src/Mscc.GenerativeAI.Google/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions src/Mscc.GenerativeAI.Web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Mscc.GenerativeAI.Web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Alternatively, add the following line to your `.csproj` file.

```text
<ItemGroup>
<PackageReference Include="Mscc.GenerativeAI.Web" Version="1.6.0" />
<PackageReference Include="Mscc.GenerativeAI.Web" Version="1.6.3" />
</ItemGroup>
```

Expand Down
8 changes: 8 additions & 0 deletions src/Mscc.GenerativeAI/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 6 additions & 2 deletions src/Mscc.GenerativeAI/Constants/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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";
Expand Down
3 changes: 3 additions & 0 deletions src/Mscc.GenerativeAI/GenerativeModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,9 @@ internal async IAsyncEnumerable<GenerateContentResponse> GenerateContentStreamSS
}
}
}

//ToDo: Implement new endpoint method createCachedContent
//Models: gemini-1.5-pro-001 & gemini-1.5-flash-001 only

/// <summary>
/// Generates a grounded answer from the model given an input GenerateAnswerRequest.
Expand Down

0 comments on commit 2710d43

Please sign in to comment.