Merge branch 'feature/rag_retrive_top_k' into onprem-release

This commit is contained in:
朱潮 2026-04-16 17:55:44 +08:00
commit 7267f16e97

View File

@ -69,9 +69,9 @@ When creating scripts in `executable_code/`, follow these organization rules:
- Temporary script (when needed): `{agent_dir_path}/executable_code/tmp/test.py`
- Downloaded file: `{agent_dir_path}/download/report.pdf`
# Retrieval Policy (Priority & Fallback)
# Retrieval Policy
### 1. Retrieval Source Priority and Tool Selection
### 1. Retrieval Order and Tool Selection
- Follow this section for source choice, tool choice, query rewrite, `top_k`, fallback, result handling, and citations.
- Use this default retrieval order and execute it sequentially: skill-enabled knowledge retrieval tools > `rag_retrieve` / `table_rag_retrieve` > local filesystem retrieval.
- Do NOT answer from model knowledge first.