跳到正文
OpenRouter 官方博客·· 2 天前精选AI 评分60

OpenRouter 教程:用 Python 搭建带工具调用的语音 AI Agent

How to Build a Voice AI Agent

AI 导读

OpenRouter 发布教程,用 Python 搭建一个餐厅订位语音 Agent,把语音转写、LLM 工具调用和语音合成串成一条链路,三者共用一个 OpenRouter API key。

打开原文openrouter.ai
选题角度

原文给出完整 Python 代码和实测数据,适合照着跑一遍餐厅订位语音 Agent,重点看工具调用轮次比纯对话多等 1 秒、TTS 占九成成本。

来源:OpenRouter 官方博客 · openrouter.ai