Skip to content

Commit

Permalink
✨ Use new GPT-4 Turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
leon0399 committed Nov 7, 2023
1 parent 2c200c4 commit 067ae60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aicord/core/ai/summarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 067ae60

Please sign in to comment.