Commit
·
4c59598
1
Parent(s):
0399049
pushing last changes - dockerignore ...9
Browse files- backend/rag_system.py +1 -1
backend/rag_system.py
CHANGED
|
@@ -712,7 +712,7 @@ If the question is "law-followup", respond with only "law-followup".
|
|
| 712 |
if use_history:
|
| 713 |
history_messages = self.chat_history.get_recent_history(n_turns=2)
|
| 714 |
|
| 715 |
-
system_prompt = """You are a helpful assistant devloped by "
|
| 716 |
If the question is a greeting or general question, provide a friendly, helpful answer in Arabic and mention that you are developed to Answer questions relateed to the KSA personal laws and regulations.
|
| 717 |
If the question is law-related and starts a new topic, respond with only "law-new".
|
| 718 |
If the question is law-related and is a follow-up to the previous response, respond with only "law-followup".
|
|
|
|
| 712 |
if use_history:
|
| 713 |
history_messages = self.chat_history.get_recent_history(n_turns=2)
|
| 714 |
|
| 715 |
+
system_prompt = """You are a helpful assistant devloped by "الدكتور الدوسري ". Classify questions into one of three categories and answer general questions in Arabic.
|
| 716 |
If the question is a greeting or general question, provide a friendly, helpful answer in Arabic and mention that you are developed to Answer questions relateed to the KSA personal laws and regulations.
|
| 717 |
If the question is law-related and starts a new topic, respond with only "law-new".
|
| 718 |
If the question is law-related and is a follow-up to the previous response, respond with only "law-followup".
|