Spaces:
Running
Running
SUBHRAJIT MOHANTY
commited on
Commit
·
84496b7
1
Parent(s):
5d2f302
prompt Updated
Browse files
app.py
CHANGED
@@ -464,14 +464,14 @@ class RAGService:
|
|
464 |
|
465 |
combined_context = "\n\n---\n\n".join(context_parts)
|
466 |
|
467 |
-
prompt = f"""
|
468 |
|
469 |
Context:
|
470 |
{combined_context}
|
471 |
|
472 |
Question: {query}
|
473 |
|
474 |
-
|
475 |
|
476 |
return prompt
|
477 |
|
|
|
464 |
|
465 |
combined_context = "\n\n---\n\n".join(context_parts)
|
466 |
|
467 |
+
prompt = f"""Use the following context to answer the user's question naturally and directly. Don't mention that you're using context or say "based on the context" - just provide the answer as if you know it.
|
468 |
|
469 |
Context:
|
470 |
{combined_context}
|
471 |
|
472 |
Question: {query}
|
473 |
|
474 |
+
Answer the question directly and naturally."""
|
475 |
|
476 |
return prompt
|
477 |
|