Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions content/en-US/recipes/integrate-qca-realtime-en/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
schema_version: 1
slug: integrate-qca-realtime-en
title: Integrate QCA Realtime into a Web Application
summary: Add QCA Realtime to a Web application, covering conversation creation, WebSocket connections, audio input and output, task updates, and reconnection.
title: Integrate QCA Realtime into Your Application
summary: Add QCA Realtime to your application, covering conversation creation, WebSocket connections, audio input and output, task updates, and reconnection.
type: recipe
category: build-deploy
tags:
Expand All @@ -21,7 +21,7 @@ source_url: https://mp.weixin.qq.com/s/xqGxH3dbtGfcgOSx51z8dw

## Goal and use case

This recipe adds real-time voice to a Web application with an existing Forward Template:
This recipe adds real-time voice to your application using an existing Forward Template. The example uses a browser and an application server:

- The voice Agent handles conversation and explains results.
- The task Agent executes tasks using the Template's tools and runtime.
Expand Down Expand Up @@ -61,7 +61,7 @@ Before you start:

- Credentials and resources: a PAT or SAT, Identity, and Template in the same environment. Exchange a Service Account Key for an SAT first.
- Runtime: a Template with tool permissions and a runtime that can complete the target task.
- Application: a server with WebSocket support, a browser with microphone and Web Audio support, and HTTPS for the deployed page.
- Example environment: a server with WebSocket support, a browser with microphone and Web Audio support, and HTTPS for the deployed page.
- Example tools: curl and Node.js. The application server can use any language.

Realtime is in Beta. Model, sandbox, and tool usage is billed under the applicable pricing rules.
Expand Down
8 changes: 4 additions & 4 deletions content/zh-CN/recipes/integrate-qca-realtime/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
schema_version: 1
slug: integrate-qca-realtime
title: 为 Web 应用接入 QCA Realtime
summary: 为 Web 应用接入 QCA Realtime,完成会话创建、WebSocket 连接、音频收发、任务反馈及断线恢复。
title: 为你的应用接入 QCA Realtime
summary: 为你的应用接入 QCA Realtime,完成会话创建、WebSocket 连接、音频收发、任务反馈及断线恢复。
type: recipe
category: build-deploy
tags:
Expand All @@ -18,7 +18,7 @@ source_url: https://mp.weixin.qq.com/s/xqGxH3dbtGfcgOSx51z8dw

## 目标与适用场景

本文介绍如何为已有 Forward Template 的 Web 应用接入实时语音:
本文介绍如何基于已有 Forward Template,为你的应用接入实时语音。示例采用浏览器与应用服务端架构:

- 语音 Agent 负责交互与结果讲解。
- 任务 Agent 使用 Template 的工具和运行环境执行任务。
Expand Down Expand Up @@ -58,7 +58,7 @@ sequenceDiagram

- 凭据与资源:同一环境下的 PAT 或 SAT、Identity、Template;Service Account Key 须先换取 SAT。
- 执行环境:Template 已配置工具权限和运行环境,并能完成目标任务。
- 应用环境:服务端支持 WebSocket,浏览器支持麦克风和 Web Audio,部署页面使用 HTTPS。
- 示例环境:服务端支持 WebSocket,浏览器支持麦克风和 Web Audio,部署页面使用 HTTPS。
- 示例工具:curl 和 Node.js;应用服务端不限语言。

Realtime 处于 Beta。模型、沙箱及工具调用按实际计费规则收费。
Expand Down
Loading