Spaces:
Sleeping
Sleeping
temperature to agent
Browse files
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:
|