Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def ask(question, history, behavior):
|
|
26 |
response = f'Your query is too long and expensive: {raw_length}>2000 tokens'
|
27 |
else:
|
28 |
response = openai.ChatCompletion.create(
|
29 |
-
model="gpt-3.5-turbo",
|
30 |
messages=messages,
|
31 |
temperature=0.1,
|
32 |
)["choices"][0]["message"]["content"]
|
|
|
26 |
response = f'Your query is too long and expensive: {raw_length}>2000 tokens'
|
27 |
else:
|
28 |
response = openai.ChatCompletion.create(
|
29 |
+
model="gpt-3.5-turbo-0301",
|
30 |
messages=messages,
|
31 |
temperature=0.1,
|
32 |
)["choices"][0]["message"]["content"]
|