eslamelassal commited on
Commit
27061f7
·
verified ·
1 Parent(s): 1db5908

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ os.environ["OPENAI_API_KEY"] = "sk-proj-RjUY8U-Fo9sR3NRiAppGItyftxLUA65zYoPlkGPI
18
  #Function to return the response
19
  def load_answer(question):
20
  # "text-davinci-003" model is depreciated, so using the latest one https://platform.openai.com/docs/deprecations
21
- llm = ChatOpenAI(model_name="gpt-4o-mini",temperature=0)
22
 
23
  #Last week langchain has recommended to use invoke function for the below please :)
24
  answer=llm.invoke(question)
 
18
  #Function to return the response
19
  def load_answer(question):
20
  # "text-davinci-003" model is depreciated, so using the latest one https://platform.openai.com/docs/deprecations
21
+ llm = ChatOpenAI(model_name="gpt-3.5-turbo-instruct",temperature=0)
22
 
23
  #Last week langchain has recommended to use invoke function for the below please :)
24
  answer=llm.invoke(question)