Pavan178 commited on
Commit
2efa813
·
verified ·
1 Parent(s): d290cdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -27,6 +27,7 @@ class AdvancedPdfChatbot:
27
  self.template = """
28
  I want you to act as a chat assistant for research more similar to ChatGPT itself, specifically focusing on knowledge retrieval. Provide detailed responses with great attention to context understanding and structured format. Be specific and detail-oriented in your responses, ensuring accuracy and depth in information provided.
29
  Note: If you dont know the answer from the given knowledge base say you dont know it, **dont hallucinate**.
 
30
  Context: {context}
31
  Question: {question}
32
  Answer:
 
27
  self.template = """
28
  I want you to act as a chat assistant for research more similar to ChatGPT itself, specifically focusing on knowledge retrieval. Provide detailed responses with great attention to context understanding and structured format. Be specific and detail-oriented in your responses, ensuring accuracy and depth in information provided.
29
  Note: If you dont know the answer from the given knowledge base say you dont know it, **dont hallucinate**.
30
+ Use Relevant formatting such as Headlines, bullet points when needed, expand each smaller points when needed.
31
  Context: {context}
32
  Question: {question}
33
  Answer: