Add RAGFlow knowledge QA template - #129
Open
webup wants to merge 3 commits into
Open
Conversation
webup
marked this pull request as ready for review
July 10, 2026 15:04
Contributor
Author
|
@Everfighting Could you review this PR and confirm whether it meets the core request in #81? This first version includes:
By design, this v1 defers:
The implemented safety boundary keeps retrieval scope explicit and requires user approval before RAGFlow mutations. Do these boundaries meet your expectation for the first version? If not, please call out anything you consider blocking before merge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new
deepagents/ragflow-knowledge-qatemplate for building dataset-scoped knowledge-base Q&A agents against an existing RAGFlow deployment.The design keeps RAGFlow credentials server-side, requires explicit dataset scopes for retrieval, and gates document uploads and parsing behind user approval. ContextSeek and per-user authorization remain intentionally deferred.
Closes #81.
What Changed
ragflow-sdk==0.26.4syncandfrontendtasks, loopback/remote-host guidance, registry entries, and English/Chinese documentationDeveloper Impact
Developers can scaffold the template with:
The generated project requires Python 3.13 and an external RAGFlow endpoint. It supports OpenAI-compatible agent models through the canonical
AGENTSEEK_*variables and keeps RAGFlow configuration underRAGFLOW_*.This PR does not deploy RAGFlow, connect directly to seekdb, or bundle ContextSeek/per-user authorization. RAGFlow backed by OceanBase seekdb remains a recommended deployment option.
Validation
make checkmake test- 125 passedmake docs-testragflow-sdk==0.26.4CompiledStateGraphA live RAGFlow request was not run because no endpoint or API key was available.
Current PR Checks