diff --git a/CHANGELOG.md b/CHANGELOG.md index d1133b679..9eb0c084f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added -- Adds references to `mistral-tiny` (7bn parameter model from MistralAI) to the model registry for completeness. ### Fixed +## [0.19.0] + +### Added +- [BREAKING CHANGE] The default GPT-4 Turbo model alias ("gpt4t") now points to the official GPT-4 Turbo endpoint ("gpt-4-turbo"). +- Adds references to `mistral-tiny` (7bn parameter model from MistralAI) to the model registry for completeness. +- Adds the new GPT-4 Turbo model (`"gpt-4-turbo-2024-04-09"`), but you can simply use alias `"gpt4t"` to access it. + ## [0.18.0] ### Added diff --git a/Project.toml b/Project.toml index db3c46209..30bc0fb8f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PromptingTools" uuid = "670122d1-24a8-4d70-bfce-740807c42192" authors = ["J S @svilupp and contributors"] -version = "0.18.1" +version = "0.19.0" [deps] AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c" diff --git a/src/user_preferences.jl b/src/user_preferences.jl index 015c732ca..8387f55a1 100644 --- a/src/user_preferences.jl +++ b/src/user_preferences.jl @@ -290,7 +290,7 @@ aliases = merge( Dict("gpt3" => "gpt-3.5-turbo", "gpt4" => "gpt-4", "gpt4v" => "gpt-4-vision-preview", # 4v is for "4 vision" - "gpt4t" => "gpt-4-turbo-preview", # 4t is for "4 turbo" + "gpt4t" => "gpt-4-turbo", # 4t is for "4 turbo" "gpt3t" => "gpt-3.5-turbo-0125", # 3t is for "3 turbo" "ada" => "text-embedding-ada-002", "emb3small" => "text-embedding-3-small", @@ -353,6 +353,16 @@ registry = Dict{String, ModelSpec}( 1e-5, 3e-5, "GPT-4 Turbo is an updated version of GPT4 that is much faster and the cheaper to use. 0125 refers to the release date of January 25, 2024."), + "gpt-4-turbo" => ModelSpec("gpt-4-turbo", + OpenAISchema(), + 1e-5, + 3e-5, + "GPT-4 Turbo is an updated version of GPT4 that is much faster and the cheaper to use. This is the general name for whatever is the latest GPT4 Turbo preview release. In April-24, it points to version 2024-04-09."), + "gpt-4-turbo-2024-04-09" => ModelSpec("gpt-4-turbo-2024-04-09", + OpenAISchema(), + 1e-5, + 3e-5, + "GPT-4 Turbo is an updated version of GPT4 that is much faster and the cheaper to use. 2024-04-09 refers to the release date of 9th April 2024 with knowledge upto December 2023."), "gpt-4-turbo-preview" => ModelSpec("gpt-4-turbo-preview", OpenAISchema(), 1e-5,