Spaces:
Running
Running
Update MeAI_Maincode/Chatbot.py
Browse files- MeAI_Maincode/Chatbot.py +1 -1
MeAI_Maincode/Chatbot.py
CHANGED
@@ -22,7 +22,7 @@ def chatbotfnc(message, history):
|
|
22 |
conversation_history.append({"role": "user", "content": message})
|
23 |
|
24 |
|
25 |
-
payload = {
|
26 |
"messages": conversation_history,
|
27 |
"system_prompt": system_message,
|
28 |
"temperature": 0.5, # Tăng độ sáng tạo để phản hồi tự nhiên hơn
|
|
|
22 |
conversation_history.append({"role": "user", "content": message})
|
23 |
|
24 |
|
25 |
+
payload = {
|
26 |
"messages": conversation_history,
|
27 |
"system_prompt": system_message,
|
28 |
"temperature": 0.5, # Tăng độ sáng tạo để phản hồi tự nhiên hơn
|