From 047b85e8a7e661c2b62072c4093e5f7cf2290085 Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Fri, 19 Jul 2024 10:20:54 -0600 Subject: [PATCH] Update to the new GPT-4o mini model --- includes/Classifai/Providers/OpenAI/ChatGPT.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Classifai/Providers/OpenAI/ChatGPT.php b/includes/Classifai/Providers/OpenAI/ChatGPT.php index 948eabcf7..6a50aab76 100644 --- a/includes/Classifai/Providers/OpenAI/ChatGPT.php +++ b/includes/Classifai/Providers/OpenAI/ChatGPT.php @@ -33,14 +33,14 @@ class ChatGPT extends Provider { * * @var string */ - protected $chatgpt_model = 'gpt-3.5-turbo'; + protected $chatgpt_model = 'gpt-4o-mini'; /** * Maximum number of tokens our model supports * * @var int */ - protected $max_tokens = 16385; + protected $max_tokens = 128000; /** * OpenAI ChatGPT constructor.