zhangjf commited on
Commit
099767e
1 Parent(s): 190b552

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -27,7 +27,8 @@ def ask(question, history, behavior):
27
  else:
28
  response = openai.ChatCompletion.create(
29
  model="gpt-3.5-turbo",
30
- messages=messages
 
31
  )["choices"][0]["message"]["content"]
32
  while response.startswith("\n"):
33
  response = response[1:]
 
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"]
33
  while response.startswith("\n"):
34
  response = response[1:]