Allen Park commited on
Commit
7f45e1c
·
1 Parent(s): f2c7470

add temperature of 0.0

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -115,7 +115,8 @@ def model_call(question, document, answer, client_base_url):
115
  print("ENTIRE NEW_FORMAT", NEW_FORMAT)
116
  response = client.completions.create(
117
  model="gpt-3.5-turbo-instruct",
118
- prompt=NEW_FORMAT
 
119
  )
120
  print("RESPONSE FROM CLIENT:", response)
121
  hallucination, reasoning = parse_patronus_lynx_response(response.choices[0].text)
 
115
  print("ENTIRE NEW_FORMAT", NEW_FORMAT)
116
  response = client.completions.create(
117
  model="gpt-3.5-turbo-instruct",
118
+ prompt=NEW_FORMAT,
119
+ temperature=0.0
120
  )
121
  print("RESPONSE FROM CLIENT:", response)
122
  hallucination, reasoning = parse_patronus_lynx_response(response.choices[0].text)