添加Ai 能力,重构项目结构

This commit is contained in:
zk
2026-07-24 17:55:27 +08:00
parent 39e162ae0f
commit d7f1ba4812
13 changed files with 127 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
"""AI 模型场景配置。
集中管理爬虫服务使用的模型,切换模型只需修改此文件。
"""
from app.ai.models import LLM
class SpiderModel:
"""爬虫 AI 场景模型。"""
# 页面内容理解与结构化提取
CONTENT_EXTRACT = LLM.CLAUDE_OPUS.create(temperature=0)