Skip to main content
agentscope-extensions-rag-ragflow integrates with RAGFlow. RAGFlow is strong on document parsing (OCR, table extraction, knowledge graph augmentation) and shines for unstructured-heavy KBs.

When to use

  • Your KB is mostly scanned PDFs, complex layouts, or images and tables.
  • You want to use RAGFlow’s chunking strategies and reranker.

Add the dependency

Quickstart

How it works

The plugin calls RAGFlow’s POST /api/v1/datasets/{dataset_id}/retrieve-chunks:
  • Vector similarity search with configurable topK.
  • Server-side similarityThreshold filtering.
  • Metadata filtering via RAGFlowConfig.
  • Optional RAGFlow rerank.
Note: RAGFlow’s retrieve-chunks API does not currently accept conversation history for context-aware retrieval. If you need that, prepend instructions into the query yourself.

Document management goes through RAGFlow

addDocuments(...) is unsupported — upload and index documents through the RAGFlow console or its native API.

Key parameters