Sadmo commited on
Commit
708edac
·
verified ·
1 Parent(s): 26e7ca3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -14,7 +14,9 @@ def respond(message, history):
14
 
15
  response = client.chat_completion(
16
  messages,
17
- max_tokens=200 # change the length of message
 
 
18
  )
19
 
20
  return response['choices'][0]['message']['content'].strip()
 
14
 
15
  response = client.chat_completion(
16
  messages,
17
+ max_tokens=200 # change the length of message,
18
+ temperature = 0
19
+ top_p = 0.7
20
  )
21
 
22
  return response['choices'][0]['message']['content'].strip()