SamiKoen commited on
Commit ·
cdc85f8
1
Parent(s): e363a2b
GPT-5.4 -> GPT-5.3-chat-latest model degisikligi
Browse files- app.py +1 -1
- smart_warehouse_with_price.py +2 -2
app.py
CHANGED
|
@@ -763,7 +763,7 @@ def chatbot_fn(user_message, history, image=None):
|
|
| 763 |
messages = system_messages + history + [{"role": "user", "content": user_message}]
|
| 764 |
|
| 765 |
payload = {
|
| 766 |
-
"model": "gpt-5.
|
| 767 |
"messages": messages,
|
| 768 |
"stream": True,
|
| 769 |
"top_p": 1,
|
|
|
|
| 763 |
messages = system_messages + history + [{"role": "user", "content": user_message}]
|
| 764 |
|
| 765 |
payload = {
|
| 766 |
+
"model": "gpt-5.3-chat-latest",
|
| 767 |
"messages": messages,
|
| 768 |
"stream": True,
|
| 769 |
"top_p": 1,
|
smart_warehouse_with_price.py
CHANGED
|
@@ -561,9 +561,9 @@ Examples of correct responses:
|
|
| 561 |
"Authorization": f"Bearer {OPENAI_API_KEY}"
|
| 562 |
}
|
| 563 |
|
| 564 |
-
# GPT-5.
|
| 565 |
payload = {
|
| 566 |
-
"model": "gpt-5.
|
| 567 |
"messages": [
|
| 568 |
{"role": "system", "content": "You are a product matcher. Find ALL matching products. Return only index numbers."},
|
| 569 |
{"role": "user", "content": smart_prompt}
|
|
|
|
| 561 |
"Authorization": f"Bearer {OPENAI_API_KEY}"
|
| 562 |
}
|
| 563 |
|
| 564 |
+
# GPT-5.3 modeli temperature ve max_tokens desteklemiyor
|
| 565 |
payload = {
|
| 566 |
+
"model": "gpt-5.3-chat-latest",
|
| 567 |
"messages": [
|
| 568 |
{"role": "system", "content": "You are a product matcher. Find ALL matching products. Return only index numbers."},
|
| 569 |
{"role": "user", "content": smart_prompt}
|