OpenRouter Blog·· 23 天前精选AI 评分60
OpenRouter 教程:如何用 Python 构建语音 AI 智能体
How to Build a Voice AI Agent
AI 导读
OpenRouter 发布教程,用 Python 搭建一个餐厅订位语音智能体,把语音转文字、LLM 工具调用和语音合成串成一条链路,三者共用一个 OpenRouter API key。
推荐理由
原文给出完整可运行的 Python 代码与实测延迟、成本拆解,读者可据此复现一个带工具调用的语音智能体。
来源:OpenRouter Blog · openrouter.ai