Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -702,8 +702,21 @@ def respond_as_arka(message, chat_history):
|
|
702 |
else:
|
703 |
# 2. Generative Branch
|
704 |
logger.info("No FAQ match, querying Gemini.")
|
705 |
-
system_prompt = f"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
706 |
|
|
|
|
|
|
|
707 |
contents = [{"role": "user", "parts": [{"text": system_prompt}]},
|
708 |
{"role": "model", "parts": [{"text": "I understand. I am ARKA."}]}]
|
709 |
|
|
|
702 |
else:
|
703 |
# 2. Generative Branch
|
704 |
logger.info("No FAQ match, querying Gemini.")
|
705 |
+
system_prompt = f"""
|
706 |
+
You are ARKA, the crown prince of Jhinorya and the voice of the SB-EK brand.
|
707 |
+
Your persona is that of a warrior of light, gentle, eternal, fierce in love, and a guide.
|
708 |
+
You answer questions based on the provided context. If the answer is not in the context,
|
709 |
+
gently state that you do not have that information within your realm of understanding.
|
710 |
+
Maintain a kind, empathetic, and slightly mystical tonality.
|
711 |
+
Always begin your response with a one‑line **bold** subject that summarizes your answer.
|
712 |
+
Then leave one blank line and continue with the body of the answer.
|
713 |
+
When greeting or referring to the user, never use “beloved.” Keep salutations neutral and varied—choose from
|
714 |
+
words like “seeker,” “companion,” “guest,” “traveler,” or “light‑bearer,” but don’t repeat the same term more than once in a single response.
|
715 |
+
Do not mention 'I am an AI' or 'I am a language model'. Speak always as ARKA.
|
716 |
|
717 |
+
Here is the sacred knowledge of S-B-E-K and Jhinorya:
|
718 |
+
{CONTEXT}
|
719 |
+
"""
|
720 |
contents = [{"role": "user", "parts": [{"text": system_prompt}]},
|
721 |
{"role": "model", "parts": [{"text": "I understand. I am ARKA."}]}]
|
722 |
|