Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from langchain.llms import OpenAI
|
|
5 |
# Function to return the response
|
6 |
def load_answer(question):
|
7 |
# Initialize the OpenAI API
|
8 |
-
llm = OpenAI(model_name="
|
9 |
# Generate the response
|
10 |
response = llm(question)
|
11 |
|
|
|
5 |
# Function to return the response
|
6 |
def load_answer(question):
|
7 |
# Initialize the OpenAI API
|
8 |
+
llm = OpenAI(model_name="gpt-3.5-turbo-instruct", temperature=0.9)
|
9 |
# Generate the response
|
10 |
response = llm(question)
|
11 |
|