Skip to content

Commit

Permalink
add gem20f
Browse files Browse the repository at this point in the history
  • Loading branch information
svilupp committed Dec 11, 2024
1 parent 048003a commit 18d874e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

## [0.69.0]

### Added
- Added a new Gemini 2.0 Flash Experimental model (`gemini-2.0-flash-exp`) and updated the alias `gem20f` with it.

## [0.68.0]

### Added
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PromptingTools"
uuid = "670122d1-24a8-4d70-bfce-740807c42192"
authors = ["J S @svilupp and contributors"]
version = "0.68.0"
version = "0.69.0"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
6 changes: 6 additions & 0 deletions src/user_preferences.jl
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ aliases = merge(
"gem15p" => "gemini-1.5-pro-latest",
"gem15f8" => "gemini-1.5-flash-8b-latest",
"gem15f" => "gemini-1.5-flash-latest",
"gem20f" => "gemini-2.0-flash-exp",
"gemexp" => "gemini-exp-1206" # latest experimental model from December 2024
),
## Load aliases from preferences as well
Expand Down Expand Up @@ -1141,6 +1142,11 @@ registry = Dict{String, ModelSpec}(
7.5e-8,
3.0e-7,
"Gemini 1.5 Flash is a high-performance model optimized for speed while maintaining strong capabilities across various tasks. 128K context window."),
"gemini-2.0-flash-exp" => ModelSpec("gemini-2.0-flash-exp",
GoogleOpenAISchema(),
7.5e-8,
3.0e-7,
"Gemini 2.0 Flash Experimental Model from December 2024. Context 1M tokens, 8K output. See details [here](https://ai.google.dev/gemini-api/docs/models/experimental-models#use-an-experimental-model)."),
"gemini-exp-1114" => ModelSpec("gemini-exp-1114",
GoogleOpenAISchema(),
1.25e-6,
Expand Down

0 comments on commit 18d874e

Please sign in to comment.