DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to build a chatbot over your PDFs and slides with Dify

Upload documents to a knowledge base and wire a chat app that answers from them.

Short answer: Create a knowledge base and upload PDFs, PPTs or other documents; then let the RAG pipeline extract text and index it; create a chat app and attach the knowledge base. All steps.

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

  1. Create a knowledge base and upload PDFs, PPTs or other documents
  2. Let the RAG pipeline extract text and index it
  3. Create a chat app and attach the knowledge base
  4. Tune the prompt in the Prompt IDE and compare models side by side
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer