Adipta commited on
Commit
e732ed3
1 Parent(s): 4f43089

Update pdfchatbot.py

Browse files
Files changed (1) hide show
  1. pdfchatbot.py +5 -5
pdfchatbot.py CHANGED
@@ -55,11 +55,11 @@ class PDFChatBot:
55
  """
56
  Create a prompt template for the chatbot.
57
  """
58
- template = (
59
- f"The assistant should provide detailed explanations."
60
- "Combine the chat history and follow up question into "
61
- "Follow up question: What is this"
62
- )
63
  self.prompt = PromptTemplate.from_template(template)
64
 
65
  def load_embeddings(self):
 
55
  """
56
  Create a prompt template for the chatbot.
57
  """
58
+ template = """
59
+ You are an AI Assistant that help user answer question from user.
60
+
61
+ Question: {question}
62
+ Answer: """
63
  self.prompt = PromptTemplate.from_template(template)
64
 
65
  def load_embeddings(self):