Guides
What is EasyRAG and how it works
Welcome to EasyRAG! This guide will help you understand what EasyRAG is and how it can help you build AI-powered applications.
EasyRAG is a Retrieval-Augmented Generation (RAG) service that makes it easy to build AI applications that can understand and answer questions about your documents.
Think of it as giving ChatGPT knowledge of your specific documents without having to build the complex infrastructure yourself.
Building a document Q&A system typically requires:
EasyRAG handles all of this for you.
javascript// 1. Upload your documents await uploadFile(dataset, pdfFile); // 2. Ask questions const answer = await query(dataset, "What are the key points?"); // Done! 🎉
EasyRAG follows a simple 3-step process:
Your Document → Chunking → Embeddings → Vector Storage
When you upload a document:
Your Question → Embedding → Vector Search → Relevant Chunks
When you search:
Question + Context → GPT-4 → Grounded Answer
When you query:
Upload virtually any document type:
.docx).xlsx).pptx).mp3, .wav) - automatically transcribed.mp4) - audio extracted and transcribedFind relevant information even if the exact words don't match:
Question: "How do I reset my password?"
Matches: "To recover your account credentials..."
Get ChatGPT-like answers grounded in your documents:
javascriptconst answer = await query( 'support-docs', 'What is your refund policy?' ); // Returns: "According to our policy documents, refunds are // available within 30 days of purchase for any reason..."
Built-in support for multiple users/projects:
Frontend tokens allow safe API access from browsers:
javascript// Upload help docs once await uploadFiles('support-kb', [ 'faq.pdf', 'user-manual.pdf', 'troubleshooting.pdf' ]); // Users ask questions const answer = await query( 'support-kb', 'How do I reset my password?' );
javascript// Each user has their own dataset const userDataset = `user-${userId}`; // User uploads their documents await uploadFile(userDataset, document); // User searches their documents const results = await search(userDataset, query);
javascript// Upload company policies, procedures, contracts await uploadFiles('company-kb', documents); // Employees can search const results = await search( 'company-kb', 'What is the vacation policy?', { filters: [{ key: 'department', match: { value: 'HR' } }] } );
javascript// Upload course materials await uploadFiles('course-101', lectures); // Students ask questions const answer = await query( 'course-101', 'Explain the concept of recursion' );
Ready to get started?
EasyRAG uses a simple pay-as-you-go model:
Free tier: 20 credits on signup (~20 uploads or 200 queries)
See the dashboard for credit packs and pricing.
Need help?