SUBHRAJIT MOHANTY commited on
Commit
84496b7
·
1 Parent(s): 5d2f302

prompt Updated

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -464,14 +464,14 @@ class RAGService:
464
 
465
  combined_context = "\n\n---\n\n".join(context_parts)
466
 
467
- prompt = f"""Based on the following context, answer the user's question:
468
 
469
  Context:
470
  {combined_context}
471
 
472
  Question: {query}
473
 
474
- Please provide a comprehensive answer based on the context provided."""
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