qwen_agent/skills/developing/rag-retrieve-no-citation
朱潮 425f3c5bb4 chore: replace Chinese comments and log messages with English
Convert all Chinese comments, docstrings, logger/print output,
HTTPException detail messages, and API response messages to English
across the entire codebase. Functional zh/ja localized strings
(e.g. prompt templates, timezone display names, date formats) are
preserved as-is.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-30 19:45:35 +08:00
..
.claude-plugin add rag-retrieve-no-citation 2026-04-22 17:33:15 +08:00
hooks chore: replace Chinese comments and log messages with English 2026-04-30 19:45:35 +08:00
mcp_common.py chore: replace Chinese comments and log messages with English 2026-04-30 19:45:35 +08:00
rag_retrieve_server.py chore: replace Chinese comments and log messages with English 2026-04-30 19:45:35 +08:00
rag_retrieve_tools.json add rag-retrieve-no-citation 2026-04-22 17:33:15 +08:00
README.md add rag-retrieve-no-citation 2026-04-22 17:33:15 +08:00

rag-retrieve

只保留 rag_retrieve 的精简版插件示例。

功能说明

  • 通过 PrePrompt Hook 注入检索策略
  • 暴露 rag_retrieve MCP Server
  • 插件仅支持 rag_retrieve
  • 已禁用 table_rag_retrieve
  • 已禁用本地文件检索

目录结构

rag-retrieve-only/
├── README.md
├── .claude-plugin/
│   └── plugin.json
├── hooks/
│   ├── pre_prompt.py
│   └── retrieval-policy.md
├── rag_retrieve_server.py
└── rag_retrieve_tools.json

当前检索策略

默认顺序skill-enabled knowledge retrieval tools > rag_retrieve

  • 优先使用可用的技能内知识检索工具
  • 不足时使用 rag_retrieve
  • 不并行执行多个检索源
  • 插件仅支持 rag_retrieve