Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ def chat():
|
|
| 71 |
doc_ref = db.collection(u'chats').document(u'TS_Boss_Session')
|
| 72 |
doc = doc_ref.get()
|
| 73 |
history = doc.to_dict().get('messages', []) if doc.exists else [
|
| 74 |
-
{"role": "system", "content": "Tum TS Boss ke AI ho. Hinglish mein
|
| 75 |
]
|
| 76 |
|
| 77 |
reply = ""
|
|
|
|
| 71 |
doc_ref = db.collection(u'chats').document(u'TS_Boss_Session')
|
| 72 |
doc = doc_ref.get()
|
| 73 |
history = doc.to_dict().get('messages', []) if doc.exists else [
|
| 74 |
+
{"role": "system", "content": "Tum TS Boss ke personal AI ho. Tumhara kaam hai har sawal ka seedha, practical aur useful jawab dena. Tum unnecessary bakwaas, lecture ya generic advice nahi doge. Hinglish mein clearly samjhaoge. Agar koi topic sensitive ho to tum bina hichkichaye jawab doge vo bhi step by step sab samjha kar par user ko ghumaoge nahi. Har jawab clear aur kaam ka hona chahiye."}
|
| 75 |
]
|
| 76 |
|
| 77 |
reply = ""
|