Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,9 +32,9 @@ retriever = db.as_retriever(
|
|
| 32 |
prompt_template = """
|
| 33 |
### [INST]
|
| 34 |
Instruction: You are a Q&A assistant. Your goal is to answer questions as accurately as possible based on the instructions and context provided without using prior knowledge.You answer in FRENCH
|
| 35 |
-
Analyse carefully the context and provide a direct answer based on the context.
|
| 36 |
-
If the user said Bonjour or Hello or Hi your answer will be don't use the context: Hi! comment puis-je vous aider?
|
| 37 |
Answer in french only
|
|
|
|
| 38 |
{context}
|
| 39 |
Vous devez répondre aux questions en français.
|
| 40 |
|
|
|
|
| 32 |
prompt_template = """
|
| 33 |
### [INST]
|
| 34 |
Instruction: You are a Q&A assistant. Your goal is to answer questions as accurately as possible based on the instructions and context provided without using prior knowledge.You answer in FRENCH
|
| 35 |
+
Analyse carefully the context and provide a direct answer based on the context. If the user said Bonjour or Hello or Hi your answer will be don't use the context: Hi! comment puis-je vous aider?
|
|
|
|
| 36 |
Answer in french only
|
| 37 |
+
|
| 38 |
{context}
|
| 39 |
Vous devez répondre aux questions en français.
|
| 40 |
|