AskYourPDF
Unlock the power of your PDFs!, dive into your documents, find answers, and bring information to your fingertips.
AskYourPDF is a handy plugin that expedites the extraction of essential information from PDF documents. It accepts a URL link to a PDF or a document ID (doc_id), and can scan through stored PDFs to find answers to user queries or retrieve specific details. If any error occurs, users are prompted to upload their document manually and paste the resulting doc_id for further interaction. With the ability to specify the page number where the relevant information was found, AskYourPDF is an excellent tool to sift through PDF documents and unlock hidden knowledge.
How to
Comments (0)
API docs
Learn how to use AskYourPDF effectively! Here are a few example prompts, tips, and the documentation of available commands.
Example prompts
-
Prompt 1: "I found a PDF document that I need to extract information from. Can you help me?"
-
Prompt 2: "I have the URL of a PDF document. How can I download and save it to the vector database?"
-
Prompt 3: "I want to perform a query on a specific document. How can I do that?"
-
Prompt 4: "Can you tell me how to validate a PDF document URL before querying it?"
-
Prompt 5: "I encountered an error while querying the API. What should I do?"
Features and commands
Feature/Command | Description |
---|---|
downloadPdf | This command allows you to download a PDF file from a URL and save it to the vector database. To use this command, provide the URL of the PDF document. |
performQuery | This command performs a query on a specific document. To use this command, provide the document ID (doc_id) and the query string. |
validateUrl | This command helps you validate a PDF document URL before querying it. It ensures that the URL is correct and valid. |
errorHandling | In case you encounter an error while querying the API, the plugin provides instructions. You need to download your document, upload it to a specific platform, and copy the resulting doc_id to continue the interaction. The plugin will guide you through this process. |