公开只读 API,可直接填到 ChatIM 的「客服设置 → AI 配置 → 知识库 API」里,实现人设 + 知识库回答。也可以自己部署一份。
GET /api.php?action=ping
{"ok":true,"site":"ChatIM 知识库","count":1234,"time":"..."}GET /api.php?action=search&q=怎么退款&limit=5
items,每条包含 question / answer / variants / keywords / category / score。AI 会取前 3~5 条拼进提示词。/api.php 地址填到 ChatIM 的 AI 配置里,点「测试知识库」;