Status: [UNTESTED] Endpoints found: http://localhost:3000/api/health http://localhost:3000/api/ingest http://localhost:3000/api/query http://localhost:3000/api/collections http://localhost:3000/api/documents/550e8400-e29b-41d4-a716-446655440000 Source: https://github.com/ajaySharma2096/Query-Nest # Query-Nest A Retrieval-Augmented Generation (RAG) pipeline built with Node.js. Upload your documents, ask questions in plain English, and get grounded answers with source citations — powered by Groq's free-tier LLM API (~500 tokens/sec) and a fully local embedding + vector search stack. [![Node.js](https://img.shields.io/badge/Node.js-20%2B-green?logo=node.js)](https://nodejs.org) [![Fastify](https://img.shields.io/badge/Fastify-v5-black?logo=fastify)](https://fastify.dev) [![Qdrant](https://img.shields.io/badge/Qdrant-Vector%20DB-red)](https://qdrant.tech) [![Groq](https://img.shields.io/badge/Groq-LLM%20API-orange)](https://groq.com) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow)](LICENSE) --- ## What It Does Query-Nest lets you build a private knowledge base from your own documents and query it using a local language model: ``` Upload PDF / DOCX / XLSX / TXT ↓ Parse → Chunk → Embed → Store in Qdrant ↓ Ask a question in plain English ↓ Retrieve relevant chunks → Build prompt → Groq LLM (llama-3.3-70b-versatile) ↓ Grounded answer with [source citations] ``` Documents are parsed, chunked, and embedded **locally** (no data sent for embedding). Only the final prompt is sent to Groq's API for generation. --- ## Use Cases | Use Case | Example | |---|---| | **Enterprise knowledge base** | Upload internal policies, SOPs, HR handbooks — employees ask questions and get cited answers | | **Legal document Q&A** | Upload contracts or case files — query specific clauses without reading the entire document | | **Research assistant** | Upload academic papers — ask for summaries, methodology comparisons, key findings | | **Technical documentation** | Upload API docs, architecture specs — get precise answers to implementation questions | | **Compliance auditing** | Upload compliance documents — verify whether your processes satisfy specific requirements | | **Customer support** | Up