@xmov/avatar 2.5.0-alpha.20 → 2.5.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package-dist/agent/avatar.cjs +1 -1
- package/package-dist/agent/avatar.modern.js +1 -1
- package/package-dist/agent/avatar.module.js +1 -1
- package/package-dist/agent/avatar.umd.js +1 -1
- package/package-dist/agent/index.d.ts +2 -1
- package/package-dist/index.cjs +1 -1
- package/package-dist/index.modern.js +1 -1
- package/package-dist/index.module.js +1 -1
- package/package-dist/index.umd.js +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,8 @@ export default class XingyunAvatarAgent {
|
|
|
7
7
|
init: (params?: XingyunAvatarAgentInitParams) => Promise<void>;
|
|
8
8
|
destroy: (reason?: string) => Promise<void>;
|
|
9
9
|
ask: (text: string) => Promise<void>;
|
|
10
|
-
|
|
10
|
+
/** `extra` must be JSON-serializable and is sent with this E2E fragment. */
|
|
11
|
+
speak: (ssml: string, is_start?: boolean, is_end?: boolean, extra?: Record<string, unknown>) => string | undefined;
|
|
11
12
|
/** @deprecated Use speak instead. */
|
|
12
13
|
speakByE2E: (text: string) => Promise<void>;
|
|
13
14
|
startASR: (options?: AgentASRStartOptions) => Promise<void>;
|