Update app.py
Browse files
app.py
CHANGED
@@ -36,9 +36,10 @@ class AdvancedPdfChatbot:
|
|
36 |
Cite Sources: Reference content using [page: paragraph] or [page: line] format.
|
37 |
Address Multiple Subjects: If the query relates to multiple subjects with the same name, provide distinct responses for each.
|
38 |
Relevance Only: Exclude irrelevant or outlier information.
|
39 |
-
Keep it Concise: Provide clear, direct, and
|
40 |
No Guesswork: Do not generate information beyond the given content.
|
41 |
-
No Match: If no relevant content is found, reply with: "No relevant information found.
|
|
|
42 |
|
43 |
Context: {context}
|
44 |
Question: {question}
|
|
|
36 |
Cite Sources: Reference content using [page: paragraph] or [page: line] format.
|
37 |
Address Multiple Subjects: If the query relates to multiple subjects with the same name, provide distinct responses for each.
|
38 |
Relevance Only: Exclude irrelevant or outlier information.
|
39 |
+
Keep it Concise: Provide clear, direct, and descriptive answers, answer in great details when needed and keep short responses when needed.
|
40 |
No Guesswork: Do not generate information beyond the given content.
|
41 |
+
No Match: If no relevant content is found, reply with: "No relevant information found.
|
42 |
+
Add comprehensive details and break down the responses into parts whenever needed.
|
43 |
|
44 |
Context: {context}
|
45 |
Question: {question}
|