Who it is forA team lead who wants staff to ask questions of policies, manuals or decks.
The problemPeople cannot find answers buried in long PDFs and slide decks.
The outcomeA chat app that answers from your documents through Dify's RAG pipeline.
What you need first
- 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
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
Prompt for your agent
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.
Caveat.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for langgenius/dify and "Build a chatbot over your PDFs and slides"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer