Welcome to the PDF Query! This application allows users to upload any PDF document and interact with an AI model trained on that document. Users can ask questions, and the AI will provide responses based on the content of the uploaded PDF.
demo.mov
- PDF Upload: Users can upload any PDF document.
- AI Model Training: The application trains an AI model on the uploaded PDF to understand its content.
- Contextual Responses: Users can ask questions, and the AI will respond with answers in the context of the uploaded PDF.
- Authentication: Secure authentication is supported via Clerk.
- Storage: Uploaded PDFs are stored in Azure Blob Storage.
- Database: Drizzle is used as the ORM, and Postgres is the database.
- Payments: LemonSqueezy is integrated for handling payments.
To get started with the PDF Query Application, follow these steps:
- Clone the repository:
git clone https://github.com/muneeb-devp/pdf-query.git
cd pdf-query
- Install dependencies:
npm install
-
Set up environment variables: Create a
.env
file and add the necessary environment variables for Clerk, Azure Blob Storage, Postgres, and LemonSqueezy. -
Run the application:
npm start
- Upload a PDF: Log in and upload a PDF document.
- Ask Questions: Once the AI model is trained, ask any questions related to the content of the PDF.
- Receive Answers: Get contextual answers from the AI based on the uploaded PDF.
Any and all contributions are welcome. :)
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or issues, please open an issue on GitHub or contact us at [email protected]