mitulagr2 commited on
Commit
a087355
1 Parent(s): 6c391ee

Update app/rag.py

Browse files
Files changed (1) hide show
  1. app/rag.py +1 -1
app/rag.py CHANGED
@@ -96,7 +96,7 @@ class ChatPDF:
96
  def ask(self, query: str):
97
  logger.info("retrieving the response to the query")
98
  streaming_response = self.query_engine.query("You are an assistant for question-answering tasks. Use three \
99
- sentences maximum and keep the answer concise without repeating the same text.\n\n" + query)
100
  return streaming_response
101
 
102
  def clear(self):
 
96
  def ask(self, query: str):
97
  logger.info("retrieving the response to the query")
98
  streaming_response = self.query_engine.query("You are an assistant for question-answering tasks. Use three \
99
+ sentences only and keep the answer concise.\n\n" + query)
100
  return streaming_response
101
 
102
  def clear(self):