astock-agent/backend/app/llm/enhancer.py
2026-04-16 14:16:02 +08:00

15 lines
475 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""推荐结果 LLM 增强
现在统一使用 analysis_agent 模块进行深度分析。
此文件保留为兼容入口,内部直接调用 analysis_agent。
"""
import logging
logger = logging.getLogger(__name__)
async def enhance_recommendations(result: dict) -> None:
"""对推荐结果进行 LLM 增强分析(兼容入口,委托给 analysis_agent"""
from app.llm.analysis_agent import analyze_recommendations
await analyze_recommendations(result)