{
 "schema_version": 1,
 "generated": "2026-10-25",
 "id": "langgenius-dify--build-a-docs-chatbot-with-the-rag-pipeline",
 "repo": "langgenius/dify",
 "repo_url": "https://github.com/langgenius/dify",
 "repo_slug": "langgenius-dify",
 "title": "Build a chatbot over your PDFs and slides",
 "page_title": "How to build a chatbot over your PDFs and slides with Dify",
 "summary": "Upload documents to a knowledge base and wire a chat app that answers from them.",
 "who": "A team lead who wants staff to ask questions of policies, manuals or decks.",
 "problem": "People cannot find answers buried in long PDFs and slide decks.",
 "outcome": "A chat app that answers from your documents through Dify's RAG pipeline.",
 "steps": [
  "Create a knowledge base and upload PDFs, PPTs or other documents",
  "Let the RAG pipeline extract text and index it",
  "Create a chat app and attach the knowledge base",
  "Tune the prompt in the Prompt IDE and compare models side by side",
  "Publish it, or call it from your own app through the API"
 ],
 "agent_prompt": "In my langgenius/dify instance, create a knowledge base from <documents>, build a chat app that answers only from it and says when it does not know, and give me its API endpoint.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "python",
 "requirements": [
  "Docker and Docker Compose v2.24.0 or later for self-hosting",
  "A machine with at least 2 CPU cores and 4 GiB RAM",
  "API keys for the model providers you use"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/langgenius-dify/build-a-docs-chatbot-with-the-rag-pipeline/",
 "md": "https://dedupedai.com/use-cases/langgenius-dify/build-a-docs-chatbot-with-the-rag-pipeline/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/langgenius-dify--build-a-docs-chatbot-with-the-rag-pipeline.json",
 "api_version": "v1"
}
