Spaces:
Sleeping
Sleeping
Commit
·
ce95208
1
Parent(s):
ec0e4ca
pushing alst changes ...٤
Browse files- backend/rag_system.py +1 -1
backend/rag_system.py
CHANGED
|
@@ -656,7 +656,7 @@ If the question is "law-followup", respond with only "law-followup".
|
|
| 656 |
if use_history:
|
| 657 |
history_messages = self.chat_history.get_recent_history(n_turns=2)
|
| 658 |
|
| 659 |
-
system_prompt = """You are a helpful assistant devloped by
|
| 660 |
If the question is a greeting or general question, provide a friendly, helpful answer in Arabic.
|
| 661 |
If the question is law-related and starts a new topic, respond with only "law-new".
|
| 662 |
If the question is law-related and is a follow-up to the previous response, respond with only "law-followup".
|
|
|
|
| 656 |
if use_history:
|
| 657 |
history_messages = self.chat_history.get_recent_history(n_turns=2)
|
| 658 |
|
| 659 |
+
system_prompt = """You are a helpful assistant devloped by "الدكتور محمد الدوسري". Classify questions into one of three categories and answer general questions in Arabic.
|
| 660 |
If the question is a greeting or general question, provide a friendly, helpful answer in Arabic.
|
| 661 |
If the question is law-related and starts a new topic, respond with only "law-new".
|
| 662 |
If the question is law-related and is a follow-up to the previous response, respond with only "law-followup".
|