9 lines
366 B
Python
9 lines
366 B
Python
def build_mock_structured_output(output_type: str, user_input: str, references: list) -> dict:
|
|
return {
|
|
"output_type": output_type,
|
|
"summary": f"模拟结构化输出:{user_input}",
|
|
"references_count": len(references),
|
|
"risk_level": "low",
|
|
"suggested_actions": ["补充真实 LLM Provider 后替换模拟结果"],
|
|
}
|