Get Started in 3 Steps
Follow this guide to upload your first PDF and start asking questions with AI-powered intelligence.Sign In or Create an Account
Navigate to PDF AI and sign in with your account. If you don’t have one, create a new account using Clerk authentication.
Authentication is required to access PDF AI features. Your account keeps your PDFs and chat history private and secure.
Upload Your PDF
Once signed in, you’ll see the upload interface on the home page.To upload:
- Click the upload area or drag and drop your PDF file
- Wait for the file to upload to AWS S3
- The system will automatically process and index your PDF
- Your PDF is uploaded to AWS S3 storage
- The document is split into smaller chunks for processing
- Each chunk is converted into vector embeddings using OpenAI
- Embeddings are stored in Pinecone for fast semantic search
- A new chat session is created in the database
View upload code
View upload code
The upload is handled by the FileUpload component (
src/components/ui/FileUpload.tsx:33-70):Start Chatting
After your PDF is processed, you’ll be redirected to the chat interface.Ask questions like:
- “What is this document about?”
- “Summarize the main points”
- “Find information about [specific topic]”
- “What does the document say about [question]?”
- Convert your question into vector embeddings
- Search for the most relevant sections in your PDF (top 5 matches with similarity > 0.7)
- Pass the relevant context to GPT-4
- Stream back an intelligent, context-aware response
Responses are streamed in real-time for a smooth experience. All messages are saved to your chat history.
Example Workflow
Here’s what a typical session looks like:Ask for a summary
You: “What are the main contributions of this paper?”AI: “Based on the document, this paper presents three main contributions: 1) A novel architecture for…” (streams full response)
Dive deeper
You: “Explain the methodology in detail”AI: “The methodology section describes a multi-stage approach…” (provides detailed explanation based on document content)
Tips for Best Results
Ask Specific Questions
Specific questions get better answers. Instead of “Tell me about this,” ask “What is the main argument in section 3?”
Use Context
Reference specific sections, page numbers, or topics from your PDF for more targeted responses.
Break Down Complex Queries
For complex topics, ask multiple focused questions rather than one broad question.
Iterate and Refine
If the answer isn’t quite right, rephrase your question or ask for clarification.
What’s Next?
Learn How It Works
Understand the RAG pipeline and vector embeddings that power PDF AI
Explore Features
Discover all the capabilities of AI-powered PDF chat
Upgrade to Pro
Get unlimited PDFs and priority processing with a Pro subscription
API Documentation
Integrate PDF AI into your own applications
Common Questions
How long does processing take?
How long does processing take?
Most PDFs process in 10-30 seconds depending on length. You’ll be redirected automatically when ready.
Can I upload multiple PDFs?
Can I upload multiple PDFs?
Yes! Each PDF gets its own chat session. Free users can upload up to 2 PDFs, Pro users get unlimited uploads.
Is my data private?
Is my data private?
Absolutely. Your PDFs and chats are private to your account. We use Clerk for secure authentication and all data is isolated by user ID.
What if I get an error?
What if I get an error?
Common issues include file size (must be under 10 MB) or format (must be PDF). Check the troubleshooting guide for solutions.
Need Help?
Troubleshooting Guide
Find solutions to common issues with uploads, chat, and subscriptions