From cadca05043d6de20b531ccb7848f71b7c8f810ac Mon Sep 17 00:00:00 2001 From: Leonid Meleshin Date: Tue, 7 Nov 2023 01:05:56 +0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Use=20new=20GPT-4=20Turbo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aicord/core/ai/summarize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aicord/core/ai/summarize.py b/aicord/core/ai/summarize.py index f2cd436..6c33363 100644 --- a/aicord/core/ai/summarize.py +++ b/aicord/core/ai/summarize.py @@ -39,7 +39,7 @@ question_prompt = PromptTemplate.from_template(question_template) openai_api_key = os.environ['OPENAI_TOKEN'] -model_name = "gpt-3.5-turbo-16k" +model_name = "gpt-4-1106-preview" llm = ChatOpenAI(temperature=0, openai_api_key=openai_api_key, model_name=model_name) embeddings = OpenAIEmbeddings(openai_api_key=openai_api_key) text_splitter = CharacterTextSplitter.from_tiktoken_encoder(