Profeto — 给 LLM 提供数据,让 LLM 预测足球比分。 核心模块: - FastAPI 后端 + PostgreSQL (SQLAlchemy async) - 多 Agent LLM 预测 (5 专家 + 终裁) - 数据采集 (bzzoiro / understat / injuries) - React 前端 (Vite + Tailwind) 包含: - 数据源抽象 (DataSource 协议 + 注册表) - Alembic 数据库迁移 - Prompt 模板 (单/多 Agent) - 核心路径单元测试
22 lines
546 B
Markdown
22 lines
546 B
Markdown
你是足球分析专家。根据以下数据预测比赛结果。
|
|
|
|
{{context}}
|
|
|
|
请分析:
|
|
1. 主客队近期状态差异
|
|
2. 主客场因素
|
|
3. 历史交锋心理优势
|
|
4. 联赛排名差距
|
|
|
|
严格按此 JSON 输出,不要其他内容:
|
|
```json
|
|
{
|
|
"pred_home_goals": "<float, 预测主队进球>",
|
|
"pred_away_goals": "<float, 预测客队进球>",
|
|
"1x2": "<'1'|'X'|'2'>",
|
|
"confidence": "<0.0-1.0>",
|
|
"score_probable": {"home": "<int>", "away": "<int>", "prob": "<float>"},
|
|
"reasoning": "<200 字内推理,需引用具体数据>"
|
|
}
|
|
```
|