QA Prompts
qa_boxed
签名
{{ question }}
qa_boxed_multiple_choice
签名
{{ question }}, {{ choices }}
qa_rag_boxed
签名
{{ question }}, {{ documents }}
qa_rag_boxed_multiple_choice
签名
{{ question }}, {{ documents }}, {{ choices }}
RankCoT Prompts
RankCoT_kr
签名
{{ question }}, {{ documents }}
RankCoT_qa
签名
{{ question }}, {{ CoT }} (此处 CoT 通常为上一阶段生成的知识)
IRCoT Prompts
ircot_next_prompt
签名
{{ documents }}, {{ question }}, {{ cur_answer }}
WebNote Prompts
webnote_init_page
签名
{{ question }}, {{ plan }}
webnote_gen_plan
签名
{{ question }}
webnote_gen_subq
签名
{{ question }}, {{ plan }}, {{ page }}
webnote_fill_page
签名
{{ question }}, {{ plan }}, {{ sub_question }}, {{ docs_text }}, {{ page }}
webnote_gen_answer
签名
{{ question }}, {{ page }}
Search-R1 & R1-Searcher
search_r1_gen
签名
{{ history }}, {{ answer }}, {{ passages }}
r1_searcher_gen
签名
{{ history }}, {{ answer }}, {{ passages }}
Search-o1 Prompts
search_o1_init
签名
{{ question }}
search_o1_reasoning_indocument
签名
{{ prev_reasoning }}, {{ search_query }}, {{ document }}
search_o1_insert
签名
<|begin_search_query|> 和搜索结果标记,构造完整的思维链上下文。
EVisRAG & Multi-branch Prompts
gen_subq
签名
{{ question }}, {{ documents }}
evisrag_vqa
签名
<image> Token。
模板变量: {{ question }} (含自动注入的 image tokens)
SurveyCPM Prompts
surveycpm_search
签名
{{ user_query }}, {{ current_outline }}, {{ current_instruction }}
surveycpm_init_plan
签名
{{ user_query }}, {{ current_information }}
surveycpm_write
签名
{{ user_query }}, {{ current_survey }}, {{ current_instruction }}, {{ current_information }}
surveycpm_extend_plan
签名
{{ user_query }}, {{ current_survey }}
参数配置
| 参数 | 说明 |
|---|---|
template | 基础 QA 模板路径 |
kr_template | RankCoT 知识精炼模板路径 |
qa_template | RankCoT 问答模板路径 |
*_template | 对应各模块功能的 Jinja2 模板文件路径 |