daniel-simeone commited on
Commit ·
f103733
1
Parent(s): eb02516
Update app.py
Browse files
app.py
CHANGED
|
@@ -214,7 +214,7 @@ class RAGChatbot:
|
|
| 214 |
context = "\n\n".join(context_parts)
|
| 215 |
|
| 216 |
# Build instruction-tuned prompt
|
| 217 |
-
prompt = f"""You are a helpful assistant. Answer the user's question based ONLY on the provided context. If the context doesn't contain enough information to answer the question, say so clearly.
|
| 218 |
|
| 219 |
Context:
|
| 220 |
{context}
|
|
|
|
| 214 |
context = "\n\n".join(context_parts)
|
| 215 |
|
| 216 |
# Build instruction-tuned prompt
|
| 217 |
+
prompt = f"""You are a helpful assistant. Answer the user's question based ONLY on the provided context. If the context doesn't contain enough information to answer the question, say so clearly. The response is to be in English only.
|
| 218 |
|
| 219 |
Context:
|
| 220 |
{context}
|