添加ai日志
This commit is contained in:
@@ -62,7 +62,7 @@ async def _do_clean(company: dict) -> None:
|
||||
short_name = company.get("short_name", "")
|
||||
|
||||
user_msg = f"【公司简称】\n{short_name}\n\n【行业列表】\n{dict_cache.industry_text}"
|
||||
result = await ai_chat_json(CompanyCleanModel.ENRICH, COMPANY_ENRICH_SYSTEM, user_msg)
|
||||
result = await ai_chat_json(CompanyCleanModel.ENRICH, COMPANY_ENRICH_SYSTEM, user_msg, scene="company_enrich")
|
||||
|
||||
if result is None or not result.get("valid", False):
|
||||
await _update_status(company_id, 4)
|
||||
|
||||
Reference in New Issue
Block a user