agentscope-extensions-rag-dify integrates with Dify datasets, reusing knowledge bases you already maintain in Dify.
When to use
- Your team operates content and document management in Dify.
- You want to leverage Dify’s multiple retrieval modes (keyword / semantic / hybrid / full-text).
Add the dependency
Quickstart
Retrieval modes
RetrievalMode selects how Dify searches the dataset:
Self-hosted Dify
PointbaseUrl at your deployment:
Metadata filtering
UseMetadataFilter / MetadataFilterCondition to filter by metadata fields you’ve configured in Dify:
Retrieval only
addDocuments(...) is unsupported — use the Dify console: log in → Knowledge → choose dataset → upload documents → wait for indexing. This matches Bailian, HayStack, and RAGFlow.