QueryLens is a cutting-edge document interaction platform that transforms static PDFs into interactive knowledge bases. By combining Retrieval-Augmented Generation (RAG) with advanced natural language processing it enables users to "converse" with their documents extracting insights with unprecedented precision.
https://www.loom.com/share/fcad98d57e0b4fbdafbf62ea7edd27bb?sid=dd222dd1-c7b2-40a4-83d5-5dc03e5ba896
Here're some of the project's best features:
- Ask Anything: Pose natural language questions about PDF content
- Context-Aware Answers: Leverages vector embeddings and Groq's ultra-fast LLMs for accurate citation-ready responses
- Drag-and-Drop PDF Processing: Automatic text extraction and vector embedding generation
- Semantic Search Engine: Pinecone-powered vector database enables content-based document retrieval
- In-App PDF Viewer: Annotate preview and download documents without leaving the platform
- Cross-Document Analysis: Ask questions spanning multiple uploaded PDFs
1. Starting App
Double click "start-app file"
2. Enter Your API Keys
Copy and paste your API Keys
OR
2. Make a file named ".env" inside the server folder
GROQ_API_KEY=your_groq_key
PINECONE_API_KEY=your_pinecone_key
PINECONE_ENV=your_pinecone_region
HUGGINGFACEHUB_API_TOKEN=your_hf_token
Technologies used in the project:
- React + Vite
- Lucid-React
- FastAPI
- Uvicorn
- Pydantic
- Groq
- LangChain
- Pinecone
- PyPDF
- Hugging Face
- Python-multipart
- FileResponse
Frontend/Client → FastAPI Server → LangChain RAG Pipeline → Groq LLM
PDF Upload → PyPDF Loader → Text Splitters → Hugging Face Embeddings → Pinecone Vector Store
Query → Pinecone Retrieval → Groq LLM → Response

.png?Expires=1836367881&Key-Pair-Id=K2ZIVPTIP2VGHC&Signature=qorU0AFwIqa-CQ0lZU4pJqt6SFee9zxDGUXVIG74SWUJNtDc-fm3pQgBWpz03BoPcNdnbaVd41wDod8t0vy204ADewgNPFHk6v1CL1fUq~jzI0ZvIaBC5EpfObY049bptuv~IHVxXV2vfCUofMjZHC8w9wztFD-SxOc~VNc7lXKwb4YvPQFpmjFy8a1WkxI6FxR7I9oVBiJMrfQRN-64qb1yKSuV0~nOXJtOCIZDa-SLEW7gVWvJRTv-l4h2a8~9lpb6Q8zvrqL6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