Spaces:
Running
Running
Commit
·
f15a4e8
1
Parent(s):
70daafc
Update app.py
Browse files
app.py
CHANGED
@@ -161,9 +161,11 @@ def question_answer(url, file, question):
|
|
161 |
|
162 |
|
163 |
title = 'PDF GPT'
|
164 |
-
description = """
|
165 |
-
PDF GPT
|
166 |
-
|
|
|
|
|
167 |
|
168 |
with gr.Blocks() as demo:
|
169 |
|
|
|
161 |
|
162 |
|
163 |
title = 'PDF GPT'
|
164 |
+
description = """ What is PDF GPT ?
|
165 |
+
1. PDF GPT allows you to chat with a PDF file using GPT functionalities.
|
166 |
+
2. The application intelligently breaks the document into smaller chunks and employs a powerful Deep Averaging Network Encoder to generate embeddings.
|
167 |
+
3. PDF GPT utilizes Open AI as its data layer to generate a summary for each chunk.
|
168 |
+
4. PDF GPT uses a KNN algorithm to return the top-n embedding from each chunk and uses custom logic to generate a response. The application also leverages important document sections to generate precise responses, and can even provide the page number where the information is located, adding credibility to the responses and helping to locate pertinent information quickly."""
|
169 |
|
170 |
with gr.Blocks() as demo:
|
171 |
|