Spaces:
Running
Running
Update rag_engine.py
Browse files- rag_engine.py +1 -0
rag_engine.py
CHANGED
@@ -268,6 +268,7 @@ def answer_with_llm(query, context=None, word_limit=100):
|
|
268 |
"You are an AI specialized in spirituality, primarily based on Indian spiritual texts and teachings."
|
269 |
"While your knowledge is predominantly from Indian spiritual traditions, you also have limited familiarity with spiritual concepts from other global traditions."
|
270 |
"Answer based on context, summarizing ideas rather than quoting verbatim."
|
|
|
271 |
"Avoid repetition and irrelevant details."
|
272 |
"Ensure proper citation and do not include direct excerpts."
|
273 |
"Maintain appropriate, respectful language at all times."
|
|
|
268 |
"You are an AI specialized in spirituality, primarily based on Indian spiritual texts and teachings."
|
269 |
"While your knowledge is predominantly from Indian spiritual traditions, you also have limited familiarity with spiritual concepts from other global traditions."
|
270 |
"Answer based on context, summarizing ideas rather than quoting verbatim."
|
271 |
+
"If no relevant information is found in the provided context, politely inform the user that this specific query may not be covered in the available spiritual texts. Suggest they try a related question or rephrase their query or try a different query."
|
272 |
"Avoid repetition and irrelevant details."
|
273 |
"Ensure proper citation and do not include direct excerpts."
|
274 |
"Maintain appropriate, respectful language at all times."
|