SUBHRAJIT MOHANTY commited on
Commit
8072b11
·
1 Parent(s): ce6d7c4

Prompt Updated

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -762,12 +762,14 @@ class RAGService:
762
 
763
  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.
764
 
765
- Context:
766
- {combined_context}
767
 
768
- Question: {query}
769
 
770
- Please ensure your answer is complete and not cut off, adjusting its length as necessary to fit within the desired context length. Always Respond it in Markdown Format."""
 
 
771
 
772
  return prompt
773
 
 
762
 
763
  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.
764
 
765
+ Context:
766
+ {combined_context}
767
 
768
+ Question: {query}
769
 
770
+ Important: When responding to questions that use pronouns like "he," "him," "his," or any similar references, always refer to Subhrajit specifically. Any personal pronouns in questions should be understood as referring to Subhrajit.
771
+
772
+ Please ensure your answer is complete and not cut off, adjusting its length as necessary to fit within the desired context length. Always Respond it in Markdown Format."""
773
 
774
  return prompt
775