Update app.py
Browse files
app.py
CHANGED
@@ -64,10 +64,24 @@ class AdvancedPdfChatbot:
|
|
64 |
Context: {context}
|
65 |
Question: {question}
|
66 |
Provide a comprehensive, precise answer based strictly on the document's content.
|
67 |
-
|
|
|
|
|
|
|
|
|
68 |
- Short summary of the response with a relevant title
|
69 |
- Headlines and bullet points with descriptions with breakdowns of each topic and details
|
70 |
- Conclusion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
NOTE: Give precise and short answers when asked about specific terms and summaries of specific topics.
|
72 |
If the answer isn't directly available, explain why. """,
|
73 |
input_variables=["context", "question"]
|
|
|
64 |
Context: {context}
|
65 |
Question: {question}
|
66 |
Provide a comprehensive, precise answer based strictly on the document's content.
|
67 |
+
|
68 |
+
|
69 |
+
Use this different formats for different contexts:
|
70 |
+
|
71 |
+
example format 1:
|
72 |
- Short summary of the response with a relevant title
|
73 |
- Headlines and bullet points with descriptions with breakdowns of each topic and details
|
74 |
- Conclusion
|
75 |
+
|
76 |
+
example format 2:
|
77 |
+
|
78 |
+
Precise pragraph with headlines and a paragraph
|
79 |
+
|
80 |
+
example format 3:
|
81 |
+
Numbered bullet points or ordered lists
|
82 |
+
|
83 |
+
Use more such formats to suit the user given context
|
84 |
+
|
85 |
NOTE: Give precise and short answers when asked about specific terms and summaries of specific topics.
|
86 |
If the answer isn't directly available, explain why. """,
|
87 |
input_variables=["context", "question"]
|