OROpenRealtime
角色资源文档
对话记录

还没有对话记录

OROpenRealtime
角色资源文档
对话记录

还没有对话记录

Connect cloud services

定制语音 Agent · 正文语言: English

文档目录
全部文档开发与扩展产品功能架构与可替换模块开发与扩展系统架构与消息流程开发与扩展文档与发布边界认识产品与开始使用认识 OpenRealtime知识、工具与记忆用产品资料配置语音助手认识产品与开始使用首页使用指南定制语音 Agent角色配置指南知识、工具与记忆知识库使用指南知识、工具与记忆记忆与会话历史知识、工具与记忆工具权限设置知识、工具与记忆知识与记忆管理指南定制语音 Agent成本与服务选型可选:添加数字人数字人驱动方案可选:添加数字人动作编排使用指南部署与维护本地启动与排错定制语音 Agent连接真实语音与模型服务部署与维护自行部署指南部署与维护前后端分离部署部署与维护可靠性与运维开发与扩展模块化话轮协调器开发与扩展判停与打断插件合约开发与扩展语音 Pipeline 与插件接口开发与扩展知识库选型与接入方案接入你的 Agent接入自己的 Chat Agent

Local startup · Documentation index

The cloud route uses hosted inference and avatar services, so it does not require self-hosted model GPUs. It still requires the application backend, service credentials and paid usage where applicable.

For your first product guide and Q&A assistant, configure speech recognition, an answer model with knowledge-tool support, and speech synthesis first. Check the document-to-voice walkthrough before adding an optional avatar service.

Minimal local voice configuration

The current default direct speech route uses Doubao for ASR/TTS and can use DeepSeek for answers. For a local configuration, put your own keys in .env.local:

DEEPSEEK_API_KEY=your-deepseek-key
DOUBAO_API_KEY=your-doubao-speech-key
VOICEAGENT_ASR_BACKEND=doubao-direct
VOICEAGENT_TTS_BACKEND=doubao-direct
VOICEAGENT_DEMO_TOOLS=1
OPENREALTIME_AVATAR_RENDERER_MODE=disabled

VOICEAGENT_DEMO_TOOLS=1 enables the local tool/knowledge path when no public admission binding is present. Select knowledge in the role and check its tool permissions; the flag does not bypass authorization or guarantee that a model retrieves on every turn. Public deployments use their separate admission and account configuration.

Use a speech key authorized for the selected ASR and TTS resources, and account for service usage fees. Restart pnpm dev, then verify transcription, source retrieval and a spoken answer. If your role overrides a provider, configure that provider as well or clear the override to use the defaults. See provider details for other supported routes and speech resource settings.

This is a repository-backed configuration example, not a fresh account or English voice acceptance result. Keep actual keys local; optional avatar keys are unnecessary for this voice-only path.

Configure a supported route

  1. Review .env.example and select supported ASR, answer-model and TTS providers. Do not copy credentials into documentation, screenshots or Git.
  2. Store platform credentials in local environment files. The development scripts load .env followed by .env.local; explicitly exported settings can override values where the launcher supports them. Check the relevant script before diagnosing precedence.
  3. Start/restart the application and verify the advertised speech capabilities, a real transcription and spoken response. An echo or browser fallback is not a provider acceptance test.
  4. Select the role's voice/persona/tools/knowledge as needed. Role-level supplier overrides and platform defaults are distinct; individual provider keys have their own owner/scope.
  5. For avatars, configure the selected cloud service separately and check readiness, first video frame, streamed audio and interruption behavior.

See retained provider/console examples and deployment for exact service-specific settings. Do not infer that every provider menu entry has a verified adapter or an English configuration.

Decision provider

VOICEAGENT_EOT_PROVIDER and VOICEAGENT_INTERRUPTION_PROVIDER default to qwen-turbo. Both independently support qwen-turbo, bailian, jev, or llm. Qwen needs server-side DASHSCOPE_API_KEY; VOICEAGENT_QWEN_BASE_URL defaults to https://dashscope.aliyuncs.com/compatible-mode/v1, matching the tested research endpoint. Its async HTTP dependency ships with uv sync. Native Bailian still needs BAILIAN_API_HOST and the System One SDK extra (uv sync --extra jev); that workspace endpoint currently returns model_not_found for Qwen Turbo. The semantic classifiers share a model pool, separate from tool routing. They do not replace the answer model or runtime cancellation policy. Qwen confidence is a generated self-report, not a calibrated probability. See the decision contract and integration limitations(内部资料); successful API calls do not establish voice endpoint quality.

Verify the selected combination

Record the app version, providers/models, language, browser and network. Test a request, pause, short response, backchannel, stop, correction and new task. For a cloud avatar also verify cancellation and mode-specific output. Compare user-end-of-speech to actual playback separately from classification-call time.

English ASR/TTS configuration and end-to-end English acceptance remain roadmap work until the selected combination is documented and tested. This guide adds documentation, not new adapters or a paid-service test result.

For overseas Chinese/English speech, see Soniox and Cartesia setup. Domestic deployments retain Doubao/Bailian.