先跳过 定额信息的提取

This commit is contained in:
2025-11-26 10:28:11 +08:00
parent c97e96c620
commit a22b001680
2 changed files with 50 additions and 1 deletions
@@ -355,7 +355,11 @@ class AsyncIntentRecognizer:
"dinge_info_list":{{"dinge_code_list":["xxxx","xxxx"], "dinge_name_list":["xxxx","xxxx"]}},
"qingdan_info":{{"qingdan_code_list":["xxxx","xxxx"], "qingdan_name_list":["xxxx","xxxx"]}}
}}"""
# 暂时跳过提取定额清单信息,本环节还未梳理清楚套用规则。
return {
"dinge_info_list":{"dinge_code_list":[], "dinge_name_list":[]},
"qingdan_info":{"qingdan_code_list":[], "qingdan_name_list":[]}
}
try:
# response = await self._llm.ainvoke(prompt, response_format={"type": "json_object"}, extra_body={"enable_thinking": False})
response = await self._llm.ainvoke(prompt, response_format={"type": "json_object"})