agentinsightllm_mapper

September 8, 2026 · View on GitHub

Synthesize stats + LLM eval text into meta.agent_insight_llm (JSON).

Intended to run after filters/mappers that populate stats and agent_bad_case_signal_mapper. Use run_for_tiers to limit API cost.

Output is best-effort JSON; raw model text is stored in meta.agent_insight_llm_raw if parsing fails.

将 stats 和 LLM eval 文本综合到 meta.agent_insight_llm(JSON)中。

旨在填充 stats 和 agent_bad_case_signal_mapper 的 filter/mapper 之后运行。使用 run_for_tiers 来限制 API 成本。

输出为尽力生成的 JSON;如果解析失败,原始模型文本将存储在 meta.agent_insight_llm_raw 中。

Type 算子类型: mapper

Tags 标签: cpu, api

🔧 Parameter Configuration 参数配置

name 参数名type 类型default 默认值desc 说明
api_modelstr'gpt-4o'
api_endpointOptional[str]None
response_pathOptional[str]None
system_promptOptional[str]None
query_keystr'query'
response_keystr'response'
query_preview_max_charsint500
response_preview_max_charsint500
run_for_tiersOptional[List[str]]None
try_numPositiveInt2
model_paramsDict{}
sampling_paramsDict{}
preferred_output_langstr'en'
kwargs``