Back to Workflow Library
AI ResearchDifficulty: Intermediate 5 Nodes · Verified 2026-10-25
Dify Enterprise Document QA & Hybrid Search Agent
Ready-to-import Dify DSL agent workflow: segments technical PDFs, runs hybrid vector + BM25 keyword retrieval, and performs multi-turn citations with DeepSeek R1.
Interactive Pipeline Architecture
Click any node below to inspect its configuration
Integrations: Dify.ai → DeepSeek R1 → Milvus / PgVector → Slack
Active Node: Inbound Document Upload
Processes PDF, Markdown or DOCX
Node Role: Trigger
Step-by-Step Setup Instructions
- 1Download the dify-document-qa-pipeline.dsl.json file.
- 2In your self-hosted or cloud Dify workspace, click 'Import DSL'.
- 3Attach your preferred Vector Database and model credentials.
- 4Publish the workflow as an internal API or Webhook.
Connected Services & Credentials
Dify.aiDeepSeek R1Milvus / PgVectorSlack
Production Error-Handling Notes
Enforces a minimum 0.72 cosine similarity threshold; low-confidence queries route to human escalation.
dify-enterprise-document-qa.n8n.json
{
"name": "Dify DSL Workflow - Document QA Agent",
"engine": "dify"
} Full Production Bundle
AI Agent Starter Kit ($19)
A clean, framework-light TypeScript skeleton for building reliable AI agents without heavy abstraction bloat. Includes tool-calling loops, JSON schema output enforcement, SQLite/Turso conversation memory, and automatic retry with exponential backoff.