staff-os/dsh-ragflow

staff-os★ 1TypeScript最后同步: 2026-08-18

在 GitHub 打开

RAGFlow knowledge-base retrieval plugin for the DeepSeek Harness.

README 摘要

dsh-ragflow English 中文 RAGFlow knowledge-base retrieval for the DeepSeek Harness. It gives the agent a ragflow retrieve tool that queries your RAGFlow datasets and returns document chunks with similarity scores and source names. Design The package follows the Harness three-role capability pattern: one seam, one provider, one consumer — shipped as one package with four plugin entry points (the fourth is the configuration page over the same values), so a profile can override, replace, or drop any single role without touching the others. Role Module Plugin name Responsibility Service Definition src/index.ts @deepseek-ai/dsh-ragflow Owns ctx.ragflow : provider registry, order-independent selection, maxChunks enforcement Service Provider src/http.ts @deepseek-ai/dsh-ragflow/http Calls POST /api/v1/retrieval , resolves credentials, normalizes chunks Consumer src/tool.ts @deepseek-ai/dsh-ragflow/tool The model-facing tool: schema, prompt guidance, chunk bound, presentation Consumer src/config.ts @deepseek-ai/dsh-ragflow/config The person-facing configuration page over the same settings and credential seams The provider and the consumer depend only on the Service Definition, never on each …

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdeepseek-harness-plugindsh-pluginragflowagent

分类