diff --git a/Chatbot.py b/Chatbot.py index 0a4f2df45..d93243aa3 100644 --- a/Chatbot.py +++ b/Chatbot.py @@ -23,7 +23,7 @@ client = OpenAI(api_key=openai_api_key) st.session_state.messages.append({"role": "user", "content": prompt}) st.chat_message("user").write(prompt) - response = client.chat.completions.create(model="gpt-3.5-turbo", messages=st.session_state.messages) + response = client.chat.completions.create(model="gpt-4o", messages=st.session_state.messages) msg = response.choices[0].message.content st.session_state.messages.append({"role": "assistant", "content": msg}) st.chat_message("assistant").write(msg)