nityathakkar commited on
Commit
ea0e07c
·
verified ·
1 Parent(s): 74931db

temperature to agent

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -114,7 +114,8 @@ def create_feedback(review, pdf_text, agent_prompt):
114
  payload = {
115
  "model": "gpt-4o",
116
  "messages": messages,
117
- "max_tokens": 1000
 
118
  }
119
 
120
  try:
 
114
  payload = {
115
  "model": "gpt-4o",
116
  "messages": messages,
117
+ "max_tokens": 1000,
118
+ "temperature": 0.2
119
  }
120
 
121
  try: