dialognonrepetition_mapper

September 8, 2026 · View on GitHub

New information vs prior assistant turns in the same prompt window.

同一 prompt 窗口中,新信息与先前 assistant turn 的对比。

Type 算子类型: mapper

Tags 标签: cpu, api

🔧 Parameter Configuration 参数配置

name 参数名type 类型default 默认值desc 说明
api_modelstr'qwen-turbo'
api_endpointOptional[str]None
response_pathOptional[str]None
history_keystr'dialog_history'
query_keystr'query'
response_keystr'response'
text_keystr'text'
max_roundNonNegativeInt8
max_query_chars_for_promptNonNegativeInt6000
max_response_chars_for_promptNonNegativeInt8000
trajectory_text_max_charsNonNegativeInt12000
tool_types_keystr'agent_tool_types'
primary_tool_keystr'primary_tool_type'
try_numPositiveInt2
overwriteboolFalse
model_paramsOptional[Dict]None
sampling_paramsOptional[Dict]None
preferred_output_langstr'en'
kwargs``