mmargg commited on
Commit
cbbb32c
·
verified ·
1 Parent(s): 5477ec0

update temperature

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def respond(message,history):
16
 
17
  messages.append({"role":"user", "content": message})
18
 
19
- response=client.chat_completion(messages, temperature=0.2, max_tokens=300) #capping how many words the LLM is allowed to generate as a respond (300 words)
20
 
21
  return response['choices'][0]['message']['content'].strip() #storing value of response in a readable format to display
22
 
 
16
 
17
  messages.append({"role":"user", "content": message})
18
 
19
+ response=client.chat_completion(messages, temperature=1.5, max_tokens=300) #capping how many words the LLM is allowed to generate as a respond (300 words)
20
 
21
  return response['choices'][0]['message']['content'].strip() #storing value of response in a readable format to display
22