Spaces:
Runtime error
Runtime error
Update app/rag.py
Browse files- 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
|
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):
|