Spaces:
Runtime error
Runtime error
Ravi theja K
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from langchain.llms import OpenAI
|
|
4 |
|
5 |
#Function to return the response
|
6 |
def load_answer(question):
|
7 |
-
llm = OpenAI(model_name="gpt-3.5-turbo",temperature=0)
|
8 |
|
9 |
#Last week langchain has recommended to use invoke function for the below please :)
|
10 |
answer=llm.invoke(question)
|
|
|
4 |
|
5 |
#Function to return the response
|
6 |
def load_answer(question):
|
7 |
+
llm = OpenAI(model_name="gpt-3.5-turbo-instruct",temperature=0)
|
8 |
|
9 |
#Last week langchain has recommended to use invoke function for the below please :)
|
10 |
answer=llm.invoke(question)
|