From 76cc488d79df49e5c23b9cffdbdbcc043cb6367d Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Wed, 14 Jun 2023 11:43:36 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20feat(constants.py):=20add=20new?= =?UTF-8?q?=20OpenAI=20chat=20models=20and=20update=20existing=20ones=20Ad?= =?UTF-8?q?ded=20new=20OpenAI=20chat=20models=20to=20the=20CHAT=5FOPENAI?= =?UTF-8?q?=5FMODELS=20list=20to=20improve=20the=20quality=20of=20the=20ch?= =?UTF-8?q?atbot=20responses.=20The=20new=20models=20are=20"gpt-3.5-turbo-?= =?UTF-8?q?0613",=20"gpt-3.5-turbo-16k-0613",=20"gpt-4-0613",=20and=20"gpt?= =?UTF-8?q?-4-32k-0613".=20The=20existing=20models=20"gpt-3.5-turbo"=20and?= =?UTF-8?q?=20"gpt-4-32k"=20were=20also=20updated=20to=20their=20latest=20?= =?UTF-8?q?versions.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/utils/constants.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/backend/langflow/utils/constants.py b/src/backend/langflow/utils/constants.py index 1b6bbdcc3..bf59c6cc4 100644 --- a/src/backend/langflow/utils/constants.py +++ b/src/backend/langflow/utils/constants.py @@ -5,7 +5,16 @@ OPENAI_MODELS = [ "text-babbage-001", "text-ada-001", ] -CHAT_OPENAI_MODELS = ["gpt-3.5-turbo", "gpt-4", "gpt-4-32k"] +CHAT_OPENAI_MODELS = [ + "gpt-3.5-turbo-0613", + "gpt-3.5-turbo", + "gpt-3.5-turbo-16k-0613", + "gpt-3.5-turbo-16k", + "gpt-4-0613", + "gpt-4-32k-0613", + "gpt-4", + "gpt-4-32k", +] ANTHROPIC_MODELS = [ "claude-v1", # largest model, ideal for a wide range of more complex tasks.