Spaces:
Sleeping
Sleeping
Update prompt_engine.py
Browse files- prompt_engine.py +1 -2
prompt_engine.py
CHANGED
|
@@ -178,8 +178,7 @@ class PromptGenerator:
|
|
| 178 |
{"role": "system", "content": self.system_prompt},
|
| 179 |
{"role": "user", "content": user_message}
|
| 180 |
],
|
| 181 |
-
max_completion_tokens=2048
|
| 182 |
-
temperature=0.75
|
| 183 |
)
|
| 184 |
|
| 185 |
# レスポンスの取得
|
|
|
|
| 178 |
{"role": "system", "content": self.system_prompt},
|
| 179 |
{"role": "user", "content": user_message}
|
| 180 |
],
|
| 181 |
+
max_completion_tokens=2048 # temperatureパラメータを削除(デフォルト値の1が使用される)
|
|
|
|
| 182 |
)
|
| 183 |
|
| 184 |
# レスポンスの取得
|