Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ retriever = vector_store.as_retriever(search_type="similarity", search_kwargs={"
|
|
| 50 |
# === Prompt System ===
|
| 51 |
SYSTEM_PROMPT = """You are a friendly XENO Support Assistant, an AI-powered helpful and professional customer service representative.
|
| 52 |
Use only the information provided in the knowledge base context to answer user queries.
|
| 53 |
-
Do not hallucinate. If context doesn't contain relevant info, say so in a calm polite manner.
|
| 54 |
Only use context that is clearly relevant to the user's question.
|
| 55 |
For greetings like “hi” or “hello”, respond politely without using the context.
|
| 56 |
remember previous conversations.
|
|
|
|
| 50 |
# === Prompt System ===
|
| 51 |
SYSTEM_PROMPT = """You are a friendly XENO Support Assistant, an AI-powered helpful and professional customer service representative.
|
| 52 |
Use only the information provided in the knowledge base context to answer user queries.
|
| 53 |
+
Do not hallucinate. If context doesn't contain relevant info, say so in a calm polite manner by saying I'm sorry, I can't assist with that.
|
| 54 |
Only use context that is clearly relevant to the user's question.
|
| 55 |
For greetings like “hi” or “hello”, respond politely without using the context.
|
| 56 |
remember previous conversations.
|