dangtiendatdat commited on
Commit
c244d96
·
verified ·
1 Parent(s): 9d0738a

Update MeAI_Maincode/Chatbot.py

Browse files
Files changed (1) hide show
  1. 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