diff --git a/lib/completions/dialects/chat_gpt.rb b/lib/completions/dialects/chat_gpt.rb index 4d511a0b..c13f7166 100644 --- a/lib/completions/dialects/chat_gpt.rb +++ b/lib/completions/dialects/chat_gpt.rb @@ -11,7 +11,7 @@ module DiscourseAi gpt-4 gpt-3.5-turbo-16k gpt-4-32k - gpt-4-1106-preview + gpt-4-0125-preview gpt-4-turbo ].include?(model_name) end @@ -122,7 +122,7 @@ module DiscourseAi 8192 when "gpt-4-32k" 32_768 - when "gpt-4-1106-preview" + when "gpt-4-0125-preview" 131_072 when "gpt-4-turbo" 131_072 diff --git a/lib/completions/endpoints/open_ai.rb b/lib/completions/endpoints/open_ai.rb index 8e760083..10b5cd91 100644 --- a/lib/completions/endpoints/open_ai.rb +++ b/lib/completions/endpoints/open_ai.rb @@ -10,7 +10,7 @@ module DiscourseAi gpt-4 gpt-3.5-turbo-16k gpt-4-32k - gpt-4-1106-preview + gpt-4-0125-preview gpt-4-turbo ].include?(model_name) end @@ -27,7 +27,7 @@ module DiscourseAi end def default_options - { model: model == "gpt-4-turbo" ? "gpt-4-1106-preview" : model } + { model: model == "gpt-4-turbo" ? "gpt-4-0125-preview" : model } end def provider_id diff --git a/lib/summarization/entry_point.rb b/lib/summarization/entry_point.rb index ce6b7edf..fd986bb8 100644 --- a/lib/summarization/entry_point.rb +++ b/lib/summarization/entry_point.rb @@ -7,7 +7,7 @@ module DiscourseAi foldable_models = [ Models::OpenAi.new("gpt-4", max_tokens: 8192), Models::OpenAi.new("gpt-4-32k", max_tokens: 32_768), - Models::OpenAi.new("gpt-4-1106-preview", max_tokens: 100_000), + Models::OpenAi.new("gpt-4-0125-preview", max_tokens: 100_000), Models::OpenAi.new("gpt-3.5-turbo", max_tokens: 4096), Models::OpenAi.new("gpt-3.5-turbo-16k", max_tokens: 16_384), Models::Anthropic.new("claude-2", max_tokens: 200_000),