Update app.py
Browse files
app.py
CHANGED
@@ -148,17 +148,16 @@ with gr.Blocks(theme=Monochrome()) as demo:
|
|
148 |
with gr.Column():
|
149 |
with gr.Accordion("What This Demo Does", open = True):
|
150 |
gr.Markdown("""
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
4. Receive AI-generated answers that are grounded in the uploaded documents
|
155 |
""")
|
156 |
with gr.Column():
|
157 |
with gr.Accordion("How does it work?", open = True):
|
158 |
gr.Markdown("""
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
""")
|
163 |
|
164 |
with gr.Row():
|
|
|
148 |
with gr.Column():
|
149 |
with gr.Accordion("What This Demo Does", open = True):
|
150 |
gr.Markdown("""
|
151 |
+
- Upload multiple PDF documents.
|
152 |
+
- Process and index the content of these documents.
|
153 |
+
- Ask questions about the content and Receive AI-generated answers that are grounded.
|
|
|
154 |
""")
|
155 |
with gr.Column():
|
156 |
with gr.Accordion("How does it work?", open = True):
|
157 |
gr.Markdown("""
|
158 |
+
- When a user asks a question, the system searches for the most relevant chunks of text from the uploaded documents.
|
159 |
+
- It then uses these relevant chunks as context for a large language model (LLM) to generate an answer.
|
160 |
+
- The LLM formulates a response based on the provided context and the user's question.
|
161 |
""")
|
162 |
|
163 |
with gr.Row():
|