QA Prompts
qa_boxed
Signature
{{ question }}
qa_boxed_multiple_choice
Signature
{{ question }}, {{ choices }}
qa_rag_boxed
Signature
{{ question }}, {{ documents }}
qa_rag_boxed_multiple_choice
Signature
{{ question }}, {{ documents }}, {{ choices }}
RankCoT Prompts
RankCoT_kr
Signature
{{ question }}, {{ documents }}
RankCoT_qa
Signature
{{ question }}, {{ CoT }} (Here CoT is usually knowledge generated in the previous phase)
IRCoT Prompts
ircot_next_prompt
Signature
{{ documents }}, {{ question }}, {{ cur_answer }}
WebNote Prompts
webnote_init_page
Signature
{{ question }}, {{ plan }}
webnote_gen_plan
Signature
{{ question }}
webnote_gen_subq
Signature
{{ question }}, {{ plan }}, {{ page }}
webnote_fill_page
Signature
{{ question }}, {{ plan }}, {{ sub_question }}, {{ docs_text }}, {{ page }}
webnote_gen_answer
Signature
{{ question }}, {{ page }}
Search-R1 & R1-Searcher
search_r1_gen
Signature
{{ history }}, {{ answer }}, {{ passages }}
r1_searcher_gen
Signature
{{ history }}, {{ answer }}, {{ passages }}
Search-o1 Prompts
search_o1_init
Signature
{{ question }}
search_o1_reasoning_indocument
Signature
{{ prev_reasoning }}, {{ search_query }}, {{ document }}
search_o1_insert
Signature
<|begin_search_query|> and search result tags into Prompt to construct complete chain-of-thought context.
EVisRAG & Multi-branch Prompts
gen_subq
Signature
{{ question }}, {{ documents }}
evisrag_vqa
Signature
<image> Token into Prompt according to the number of retrieved images.
Template Variable: {{ question }} (contains automatically injected image tokens)
SurveyCPM Prompts
surveycpm_search
Signature
{{ user_query }}, {{ current_outline }}, {{ current_instruction }}
surveycpm_init_plan
Signature
{{ user_query }}, {{ current_information }}
surveycpm_write
Signature
{{ user_query }}, {{ current_survey }}, {{ current_instruction }}, {{ current_information }}
surveycpm_extend_plan
Signature
{{ user_query }}, {{ current_survey }}
Configuration
| Parameter | Description |
|---|---|
template | Basic QA template path |
kr_template | RankCoT knowledge refinement template path |
qa_template | RankCoT Q&A template path |
*_template | Jinja2 template file path corresponding to each module function |