{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "momom101-rag-reactagent--sourced-qa-over-own-documents",
 "repo": "MoMoM101/RAG-ReActAgent",
 "repo_url": "https://github.com/MoMoM101/RAG-ReActAgent",
 "repo_slug": "momom101-rag-reactagent",
 "title": "Answer questions over your own documents with citations",
 "page_title": "How to answer questions over your own documents with citations with RAG Re Act Agent",
 "summary": "Run a self-hosted knowledge base that answers from uploaded PDF, Word, text, and spreadsheet files.",
 "who": "A team lead or ops staff member with internal manuals, policies, or product files who needs answers that point back to the source.",
 "problem": "Finding one answer across scattered files is slow, and general chatbots do not cite your documents.",
 "outcome": "Uploaded files become searchable, and each answer shows inline citations and source cards.",
 "steps": [
  "`git clone https://github.com/MoMoM101/RAG-ReActAgent.git`",
  "`cd RAG-ReActAgent`",
  "`cp backend/.env.example backend/.env` (Windows PowerShell: `Copy-Item backend/.env.example backend/.env`)",
  "`docker compose --env-file backend/.env -f docker-compose.ghcr.yml up -d`",
  "Log in as admin, change the default password, then fill in the LLM and Embedding settings on the settings page.",
  "Upload your .pdf, .docx, .txt, .md, .csv, or .xlsx files and ask a question in the chat."
 ],
 "agent_prompt": "Clone https://github.com/MoMoM101/RAG-ReActAgent, copy backend/.env.example to backend/.env, and start it with docker compose --env-file backend/.env -f docker-compose.ghcr.yml up -d. Then upload the files in <path-to-document-folder> and ask the question <question>. Expected output: a streamed answer with inline citations and source cards. Verify that the cited file names come from <path-to-document-folder> before reporting the result.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "Full answers need an LLM and an Embedding service configured in the settings page, and the README's benchmark figures come from a synthetic set that may not match your documents.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "python",
 "requirements": [
  "Docker and Docker Compose, or Python 3.12 and Node.js 22.22 or newer for a source install",
  "An OpenAI-compatible LLM service and an Embedding service, with an API key, for full knowledge Q&A"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The README publishes a default admin password, so change it right after the first login and before exposing the service."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/momom101-rag-reactagent/sourced-qa-over-own-documents/",
 "md": "https://dedupedai.com/use-cases/momom101-rag-reactagent/sourced-qa-over-own-documents/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/momom101-rag-reactagent--sourced-qa-over-own-documents.json",
 "api_version": "v1"
}
