Skip to content

Commit

Permalink
add model gemini-2.0-flash-exp
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenkirstaetter committed Dec 11, 2024
1 parent 8c1fa29 commit 368b00d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
17 changes: 17 additions & 0 deletions samples/REST.Playground/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,23 @@
"topP": 0.95,
"version": "exp-1121"
},
{
"description": "Gemini 2.0 Flash Experimental",
"displayName": "Gemini 2.0 Flash Experimental",
"inputTokenLimit": 1048576,
"maxTemperature": 2,
"name": "models/gemini-2.0-flash-exp",
"outputTokenLimit": 8192,
"supportedGenerationMethods": [
"generateContent",
"countTokens",
"bidiGenerateContent"
],
"temperature": 1,
"topK": 40,
"topP": 0.95,
"version": "2.0"
},
{
"description": "Experimental release (December 6th, 2024) of Gemini.",
"displayName": "Gemini Experimental 1206",
Expand Down
4 changes: 4 additions & 0 deletions src/Mscc.GenerativeAI/Constants/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ public static class Model
public const string LearnLM15 = LearnLMExperimental;
public const string LearnLMExperimental = "learnlm-1.5-pro-experimental";

// Gemini 2.0
public const string Gemini20Flash = Gemini20FlashExperimental;
public const string Gemini20FlashExperimental = "gemini-2.0-flash-exp";

// PaLM 2 models
public const string BisonText001 = "text-bison-001";
public const string BisonText002 = "text-bison-002";
Expand Down

0 comments on commit 368b00d

Please sign in to comment.