掘金 AI· 蜗牛聊AI·· 2026-10-10AI 评分38
Python 调用 Gemini Structured Outputs 实现工单路由门禁
Python调用Gemini Structured Outputs实现工单路由门禁
AI 导读
用 Python 调用 Gemini API 的 Structured Outputs,按 JSON Schema 把客服工单分流到 refund、account、general 三个队列,priority 限定 low、normal、high,模型返回未知值时转入人工复核队列。
来源:掘金 AI · juejin.cn