davidna22 commited on
Commit
1eea2e2
1 Parent(s): d99a747

Update BotSimulator.py

Browse files
Files changed (1) hide show
  1. BotSimulator.py +3 -2
BotSimulator.py CHANGED
@@ -1199,7 +1199,8 @@ class TootBot:
1199
  completion = openai.ChatCompletion.create(
1200
  model=model,
1201
  messages=[{"role": "user", "content": prompt}],
1202
- temperature=self.temperature)
 
1203
  return completion
1204
 
1205
  def rephrase_as_news(self, story, model=None):
@@ -1229,7 +1230,7 @@ class TootBot:
1229
  completion = openai.ChatCompletion.create(
1230
  model=model,
1231
  messages=[{"role": "user", "content": prompt}],
1232
- temperature=self.temperature
1233
  )
1234
 
1235
  return completion
 
1199
  completion = openai.ChatCompletion.create(
1200
  model=model,
1201
  messages=[{"role": "user", "content": prompt}],
1202
+ temperature=0.7
1203
+ )
1204
  return completion
1205
 
1206
  def rephrase_as_news(self, story, model=None):
 
1230
  completion = openai.ChatCompletion.create(
1231
  model=model,
1232
  messages=[{"role": "user", "content": prompt}],
1233
+ temperature=0.7
1234
  )
1235
 
1236
  return completion