Skip to content

Commit 35a8c06

Browse files
committed
feat: upgrade AI chat and gaokao evidence flow
1 parent 6687d77 commit 35a8c06

7 files changed

Lines changed: 1968 additions & 210 deletions

File tree

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,17 @@
100100
├── HTTPS → img.rdfzer.com (Cloudflare R2 CDN)
101101
│ └── 87,156 张教材原图(3.4GB,全球加速,免费出站)
102102
103-
└── HTTPS → ai.bdfz.net (Cloudflare Worker)
104-
└── Gemini API → AI 跨学科综合解读
103+
└── HTTPS → ai.bdfz.net (Cloudflare Worker custom domain)
104+
└── service: apis / production → Gemini API 最大 key 池
105105
```
106106

107+
### AI 网关约定
108+
109+
- 本项目外部 AI 入口统一使用 `https://ai.bdfz.net/`
110+
- `ai.bdfz.net` 是 Cloudflare Worker custom domain,实际绑定到 service `apis` / `production`
111+
- 在 Cloudflare Dashboard 里看到的 `apis` 是服务名,不是这个项目应优先暴露给用户的 canonical 域名
112+
- 详细说明见 [docs/ai_gateway_rule.md](docs/ai_gateway_rule.md)
113+
107114
### Docker 内容
108115

109116
```
@@ -365,7 +372,7 @@ certbot --nginx -d your-domain.com
365372
| 知识图谱 | D3.js v7 | 力导向交互式图谱(缩放/拖拽/悬停) |
366373
| 公式渲染 | KaTeX | LaTeX 数学公式 |
367374
| 图片 CDN | Cloudflare R2 | `img.rdfzer.com` |
368-
| AI 解读 | Gemini (via Cloudflare Worker) | `ai.bdfz.net` |
375+
| AI 解读 | Gemini (via Cloudflare Worker service `apis` / `production`) | `ai.bdfz.net`(custom domain) |
369376
| 容器 | Docker | 单文件部署 |
370377
| 数据备份 | rclone → Google Drive / R2 | |
371378

0 commit comments

Comments
 (0)