Coherence of the flattened session text (goal focus, few detours).
展平后的会话 text 的连贯性(聚焦目标,少有偏题)。
Type 算子类型: mapper
Tags 标签: cpu, api, text
| name 参数名 | type 类型 | default 默认值 | desc 说明 |
|---|---|---|---|
api_model |
str | 'qwen-turbo' |
|
api_endpoint |
Optional[str] | None |
|
response_path |
Optional[str] | None |
|
history_key |
str | 'dialog_history' |
|
query_key |
str | 'query' |
|
response_key |
str | 'response' |
|
text_key |
str | 'text' |
|
max_round |
NonNegativeInt | 8 |
|
max_query_chars_for_prompt |
NonNegativeInt | 6000 |
|
max_response_chars_for_prompt |
NonNegativeInt | 8000 |
|
trajectory_text_max_chars |
NonNegativeInt | 12000 |
|
tool_types_key |
str | 'agent_tool_types' |
|
primary_tool_key |
str | 'primary_tool_type' |
|
try_num |
PositiveInt | 2 |
|
overwrite |
bool | False |
|
model_params |
Optional[Dict] | None |
|
sampling_params |
Optional[Dict] | None |
|
preferred_output_lang |
str | 'en' |
|
kwargs |
`` |