@bdky/aaas-pilot-kit 1.0.2 → 1.0.3
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/README.md +5 -1
- package/dist/index.cjs.js +7 -7
- package/dist/index.esm.js +4 -4
- package/dist/index.umd.js +3 -3
- package/dist/ky-aaas-pilot-kit.umd.js +3 -3
- package/dist/libs/aaas-pilot-kit/src/lib/aaas-pilot-kit.d.ts +2 -2
- package/dist/libs/aaas-pilot-kit/src/lib/api/request.d.ts +3 -3
- package/dist/libs/aaas-pilot-kit/src/lib/controller.d.ts +3 -3
- package/dist/libs/aaas-pilot-kit/src/lib/error/codes.d.ts +1 -0
- package/dist/libs/aaas-pilot-kit/src/lib/error/services/AsrError.d.ts +3 -0
- package/dist/libs/aaas-pilot-kit/src/lib/service/agent/baseAgentService.d.ts +3 -3
- package/dist/libs/aaas-pilot-kit/src/lib/service/conversation/aiWorkerConversationBean.d.ts +4 -4
- package/dist/libs/aaas-pilot-kit/src/lib/service/conversation/clientConversationBean.d.ts +4 -4
- package/dist/libs/aaas-pilot-kit/src/lib/service/conversation/conversationBean.d.ts +3 -3
- package/dist/libs/aaas-pilot-kit/src/lib/service/conversation/conversationService.d.ts +3 -3
- package/dist/libs/aaas-pilot-kit/src/lib/service/digital-human/BaseDigitalHumanService.d.ts +1 -1
- package/dist/libs/aaas-pilot-kit/src/lib/service/rtc-asr/asr/baseAsrService.d.ts +3 -3
- package/dist/libs/aaas-pilot-kit/src/lib/service/rtc-asr/signal/base.d.ts +3 -3
- package/dist/libs/aaas-pilot-kit/src/lib/service/rtc-asr/signal/brtc.d.ts +2 -2
- package/dist/libs/aaas-pilot-kit/src/lib/utils/ua.d.ts +16 -0
- package/dist/libs/aaas-pilot-kit/src/types/config.d.ts +31 -5
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'reflect-metadata';
|
|
2
2
|
import { AaaSPilotKitController } from './controller';
|
|
3
|
-
import type
|
|
3
|
+
import { type IOptions } from '../types/config';
|
|
4
4
|
import { BaseAgentService } from './service/agent/baseAgentService';
|
|
5
|
-
export declare const createAaaSPilotKit: <AS extends BaseAgentService = BaseAgentService>(opts: IOptions) => AaaSPilotKitController<AS>;
|
|
5
|
+
export declare const createAaaSPilotKit: <AS extends BaseAgentService = BaseAgentService>(opts: IOptions<AS>) => AaaSPilotKitController<AS>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { KyInstance } from 'ky';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IResolvedOptions } from '../../types/config';
|
|
3
3
|
export declare class CommonRequest {
|
|
4
|
-
readonly opts:
|
|
4
|
+
readonly opts: IResolvedOptions;
|
|
5
5
|
static ONLINE_HOST: string;
|
|
6
6
|
static SANDBOX_HOST: string;
|
|
7
7
|
client: KyInstance;
|
|
8
|
-
constructor(opts:
|
|
8
|
+
constructor(opts: IResolvedOptions);
|
|
9
9
|
}
|
|
@@ -4,7 +4,7 @@ import { BaseAsrService } from './service/rtc-asr/asr/baseAsrService';
|
|
|
4
4
|
import { BaseDigitalHumanService } from './service/digital-human/BaseDigitalHumanService';
|
|
5
5
|
import { ConversationService } from './service/conversation';
|
|
6
6
|
import { ErrorManager } from './error';
|
|
7
|
-
import type {
|
|
7
|
+
import type { IResolvedOptions, IAaaSPilotKitController, IAaaSPilotKitEmitter } from '../types/config';
|
|
8
8
|
export interface IAsrMessageEventPayload {
|
|
9
9
|
text: string;
|
|
10
10
|
completed: boolean;
|
|
@@ -41,9 +41,9 @@ export declare class AaaSPilotKitController<AS extends BaseAgentService = BaseAg
|
|
|
41
41
|
/** playWaitFor监听listener */
|
|
42
42
|
private playWaitForListener;
|
|
43
43
|
private readonly weirwood;
|
|
44
|
-
constructor(opts:
|
|
44
|
+
constructor(opts: IResolvedOptions, errorManager: ErrorManager, agentService: AS, asrService: BaseAsrService, digitalHumanService: BaseDigitalHumanService, conversationService: ConversationService);
|
|
45
45
|
mount: ($container?: HTMLElement) => Promise<void>;
|
|
46
|
-
getOptions: () =>
|
|
46
|
+
getOptions: () => IResolvedOptions;
|
|
47
47
|
checkNeedsManualActivation: () => boolean;
|
|
48
48
|
activateManually: () => Promise<void>;
|
|
49
49
|
keepAlive: () => IAaaSPilotKitController;
|
|
@@ -28,6 +28,7 @@ export declare const ERROR_CODES: {
|
|
|
28
28
|
readonly ASR_SESSION_INVALID: "3011";
|
|
29
29
|
readonly ASR_MUTE_FAILED: "3012";
|
|
30
30
|
readonly ASR_MESSAGE_INTERVAL_TIMEOUT: "3013";
|
|
31
|
+
readonly ASR_RUNTIME_ERROR: "3014";
|
|
31
32
|
readonly DH_MOUNT_FAILED: "4001";
|
|
32
33
|
readonly DH_IFRAME_LOAD_ERROR: "4002";
|
|
33
34
|
readonly DH_RENDER_ERROR: "4003";
|
|
@@ -21,3 +21,6 @@ export declare class AsrMessageParseError extends AsrError {
|
|
|
21
21
|
export declare class AsrMessageIntervalTimeoutError extends AsrError {
|
|
22
22
|
constructor(message?: string, metadata?: Partial<IErrorMetadata>);
|
|
23
23
|
}
|
|
24
|
+
export declare class AsrRuntimeError extends AsrError {
|
|
25
|
+
constructor(message?: string, metadata?: Partial<IErrorMetadata>);
|
|
26
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Emittery from 'emittery';
|
|
2
2
|
import { CommonRequest } from '../../api/request';
|
|
3
|
-
import type {
|
|
3
|
+
import type { IResolvedOptions } from '../../../types/config';
|
|
4
4
|
import { ErrorManager } from '../../error';
|
|
5
5
|
export declare namespace NBaseAgentService {
|
|
6
6
|
interface IEventWithSessionIdPayload {
|
|
@@ -28,7 +28,7 @@ export declare namespace NBaseAgentService {
|
|
|
28
28
|
export declare abstract class BaseAgentService<E extends NBaseAgentService.IEmitter = NBaseAgentService.IEmitter> {
|
|
29
29
|
readonly request: CommonRequest;
|
|
30
30
|
readonly errorManager: ErrorManager;
|
|
31
|
-
readonly opts:
|
|
31
|
+
readonly opts: IResolvedOptions;
|
|
32
32
|
readonly emitter: Emittery<E, E & import("emittery").OmnipresentEventData, import("emittery").DatalessEventNames<E>>;
|
|
33
33
|
protected conversationSessionId: string;
|
|
34
34
|
protected abortController: AbortController | null;
|
|
@@ -40,7 +40,7 @@ export declare abstract class BaseAgentService<E extends NBaseAgentService.IEmit
|
|
|
40
40
|
* 上一轮的query id
|
|
41
41
|
*/
|
|
42
42
|
protected _lastQueryId: string;
|
|
43
|
-
constructor(request: CommonRequest, errorManager: ErrorManager, opts:
|
|
43
|
+
constructor(request: CommonRequest, errorManager: ErrorManager, opts: IResolvedOptions);
|
|
44
44
|
get sessionId(): string;
|
|
45
45
|
get queryId(): string;
|
|
46
46
|
get lastQueryId(): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IResolvedOptions } from '../../../types/config';
|
|
2
2
|
import { ConversationBean, type IConversationBeanSnapshot, NConversationBean } from './conversationBean';
|
|
3
3
|
import { NMultimodalContent, ImageContent, VideoContent, TextContent } from './content';
|
|
4
4
|
export declare namespace NAIWorkerConversationBean {
|
|
@@ -18,13 +18,13 @@ export declare namespace NAIWorkerConversationBean {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
export declare class AIWorkerConversationBean extends ConversationBean<'aiWorker', NAIWorkerConversationBean.IEmitter> {
|
|
21
|
-
readonly opts:
|
|
21
|
+
readonly opts: IResolvedOptions;
|
|
22
22
|
contents: Array<ImageContent | VideoContent | TextContent>;
|
|
23
23
|
private readonly queue;
|
|
24
24
|
private readonly customXmlParser;
|
|
25
|
-
constructor(d: Partial<IConversationBeanSnapshot<'aiWorker'>>, opts:
|
|
25
|
+
constructor(d: Partial<IConversationBeanSnapshot<'aiWorker'>>, opts: IResolvedOptions);
|
|
26
26
|
get fulltext(): string;
|
|
27
|
-
static create: (opts:
|
|
27
|
+
static create: (opts: IResolvedOptions) => AIWorkerConversationBean;
|
|
28
28
|
static isAllTextContents: (contents: Array<ImageContent | VideoContent | TextContent>) => contents is TextContent[];
|
|
29
29
|
static isTextContent: (content: TextContent | ImageContent | VideoContent) => content is TextContent;
|
|
30
30
|
static isImageContent: (content: TextContent | ImageContent | VideoContent) => content is ImageContent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConversationBean, NConversationBean, type IConversationBeanSnapshot } from './conversationBean';
|
|
2
|
-
import {
|
|
2
|
+
import type { IResolvedOptions } from '../../../types/config';
|
|
3
3
|
import { NMultimodalContent } from './content';
|
|
4
4
|
export declare namespace NClientConversationBean {
|
|
5
5
|
interface IContentChangePayload {
|
|
@@ -16,9 +16,9 @@ export declare namespace NClientConversationBean {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
export declare class ClientConversationBean extends ConversationBean<'client', NClientConversationBean.IEmitter> {
|
|
19
|
-
readonly opts:
|
|
20
|
-
constructor(d: Partial<IConversationBeanSnapshot<'client'>>, opts:
|
|
21
|
-
static create(opts:
|
|
19
|
+
readonly opts: IResolvedOptions;
|
|
20
|
+
constructor(d: Partial<IConversationBeanSnapshot<'client'>>, opts: IResolvedOptions);
|
|
21
|
+
static create(opts: IResolvedOptions): ClientConversationBean;
|
|
22
22
|
appendText: (text: string) => void;
|
|
23
23
|
dispose: () => void;
|
|
24
24
|
interrupt: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Emittery from 'emittery';
|
|
2
|
-
import {
|
|
2
|
+
import type { IResolvedOptions } from '../../../types/config';
|
|
3
3
|
export type ConversationKind = 'client' | 'aiWorker';
|
|
4
4
|
export interface IConversationBeanSnapshot<K extends ConversationKind = ConversationKind> {
|
|
5
5
|
id: string;
|
|
@@ -11,12 +11,12 @@ export declare namespace NConversationBean {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
export declare abstract class ConversationBean<K extends ConversationKind, E = NConversationBean.IEmitter> implements IConversationBeanSnapshot<K> {
|
|
14
|
-
readonly opts:
|
|
14
|
+
readonly opts: IResolvedOptions;
|
|
15
15
|
readonly emitter: Emittery<E, E & import("emittery").OmnipresentEventData, import("emittery").DatalessEventNames<E>>;
|
|
16
16
|
id: string;
|
|
17
17
|
type: K;
|
|
18
18
|
text: string;
|
|
19
|
-
protected constructor(d: Partial<IConversationBeanSnapshot<K>>, opts:
|
|
19
|
+
protected constructor(d: Partial<IConversationBeanSnapshot<K>>, opts: IResolvedOptions);
|
|
20
20
|
update: (d: Partial<IConversationBeanSnapshot>) => void;
|
|
21
21
|
toJSON: () => Required<IConversationBeanSnapshot>;
|
|
22
22
|
abstract appendText(text: string): void;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { type IConversationBeanSnapshot } from './conversationBean';
|
|
2
2
|
import { ClientConversationBean } from './clientConversationBean';
|
|
3
3
|
import { AIWorkerConversationBean } from './aiWorkerConversationBean';
|
|
4
|
-
import type {
|
|
4
|
+
import type { IResolvedOptions } from '../../../types/config';
|
|
5
5
|
export type AnyConversation = ClientConversationBean | AIWorkerConversationBean;
|
|
6
6
|
export type IConversationFormatter = (text: string) => string;
|
|
7
7
|
export declare class ConversationService {
|
|
8
|
-
readonly opts:
|
|
8
|
+
readonly opts: IResolvedOptions;
|
|
9
9
|
beans: AnyConversation[];
|
|
10
10
|
currentConversation: AnyConversation | null;
|
|
11
11
|
private aiWorkerConversationFormatters;
|
|
12
|
-
constructor(opts:
|
|
12
|
+
constructor(opts: IResolvedOptions);
|
|
13
13
|
get last(): AnyConversation | null;
|
|
14
14
|
get currentClientConversation(): ClientConversationBean | null;
|
|
15
15
|
get currentAIWorkerConversation(): AIWorkerConversationBean | null;
|
|
@@ -31,7 +31,7 @@ export declare abstract class BaseDigitalHumanService {
|
|
|
31
31
|
protected readonly opts: IOptions;
|
|
32
32
|
protected readonly request: CommonRequest;
|
|
33
33
|
protected readonly errorManager: ErrorManager;
|
|
34
|
-
protected static readonly GET_ACCESS_TOKEN_REQUEST_URI = "
|
|
34
|
+
protected static readonly GET_ACCESS_TOKEN_REQUEST_URI = "employee-console/v1/access/r/ai-agent/get_digital_token";
|
|
35
35
|
emitter: Emittery<NAbstractDigitalHumanService.IEmitter>;
|
|
36
36
|
protected _isRendering: boolean;
|
|
37
37
|
protected _isMuted: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Emittery from 'emittery';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IResolvedOptions } from '../../../../types/config';
|
|
3
3
|
import type { BaseSignalingService } from '../signal/base';
|
|
4
4
|
import { ErrorManager } from '../../../error';
|
|
5
5
|
export declare namespace NBaseAsrService {
|
|
@@ -47,7 +47,7 @@ export declare namespace NBaseAsrService {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
export declare abstract class BaseAsrService<E = NBaseAsrService.IEmitter> {
|
|
50
|
-
readonly opts:
|
|
50
|
+
readonly opts: IResolvedOptions;
|
|
51
51
|
readonly signalingService: BaseSignalingService;
|
|
52
52
|
readonly errorManager: ErrorManager;
|
|
53
53
|
disabled: boolean;
|
|
@@ -55,7 +55,7 @@ export declare abstract class BaseAsrService<E = NBaseAsrService.IEmitter> {
|
|
|
55
55
|
muted: boolean;
|
|
56
56
|
readonly emitter: Emittery<E, E & import("emittery").OmnipresentEventData, import("emittery").DatalessEventNames<E>>;
|
|
57
57
|
protected started: boolean;
|
|
58
|
-
constructor(opts:
|
|
58
|
+
constructor(opts: IResolvedOptions, signalingService: BaseSignalingService, errorManager: ErrorManager);
|
|
59
59
|
get sessionId(): string | null;
|
|
60
60
|
mute: (muted: boolean) => void;
|
|
61
61
|
setMutedByUser: (muted: boolean) => void;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* @file 基础 RTC 信令服务抽象类
|
|
3
3
|
* @author zhangwenxi(zhangwenxi@baidu.com)
|
|
4
4
|
*/
|
|
5
|
-
import type {
|
|
5
|
+
import type { IResolvedOptions } from '../../../../types/config';
|
|
6
6
|
import { ErrorManager } from '../../../error';
|
|
7
7
|
export declare abstract class BaseSignalingService {
|
|
8
|
-
readonly opts:
|
|
8
|
+
readonly opts: IResolvedOptions;
|
|
9
9
|
readonly errorManager: ErrorManager;
|
|
10
10
|
protected started: boolean;
|
|
11
11
|
protected sessionId: string;
|
|
12
|
-
constructor(opts:
|
|
12
|
+
constructor(opts: IResolvedOptions, errorManager: ErrorManager);
|
|
13
13
|
protected readonly _dispose: () => void;
|
|
14
14
|
abstract Start<P extends Record<string, any>>(opts: P): Promise<void>;
|
|
15
15
|
abstract Stop(): Promise<void>;
|
|
@@ -40,7 +40,7 @@ export declare namespace NBRTCSignalingService {
|
|
|
40
40
|
remotevideoviewid?: string | HTMLElement;
|
|
41
41
|
localvideoviewid?: string | HTMLElement;
|
|
42
42
|
success?: () => void;
|
|
43
|
-
error?: (err:
|
|
43
|
+
error?: (err: string) => void;
|
|
44
44
|
onmessage?: (msg: IRawMessage) => void;
|
|
45
45
|
userevent_joinedroom?: (id: string, display: string, attribute: string) => void;
|
|
46
46
|
userevent_leavingroom?: (id: string, display: string) => void;
|
|
@@ -57,7 +57,7 @@ export declare class BRTCSignalingService extends BaseSignalingService {
|
|
|
57
57
|
static ONLINE_PREFIX_URL: string;
|
|
58
58
|
static SANDBOX_PREFIX_URL: string;
|
|
59
59
|
static AUTH_URL: string;
|
|
60
|
-
|
|
60
|
+
private currentAppId;
|
|
61
61
|
get prefixUrl(): string;
|
|
62
62
|
Start: (params: NBRTCSignalingService.IStartParams) => Promise<void>;
|
|
63
63
|
Stop: () => Promise<void>;
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
export declare const getBrowserInfo: () => {
|
|
2
|
+
userAgent: string;
|
|
3
|
+
browser: {
|
|
4
|
+
name: string | undefined;
|
|
5
|
+
version: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
os: {
|
|
8
|
+
name: string | undefined;
|
|
9
|
+
version: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
device: {
|
|
12
|
+
type: string | undefined;
|
|
13
|
+
vendor: string | undefined;
|
|
14
|
+
model: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
1
17
|
export declare const isInWeChat: () => boolean;
|
|
2
18
|
export declare const isIOS: () => boolean;
|
|
3
19
|
export declare const isIPadOS: () => boolean;
|
|
@@ -2,7 +2,7 @@ import type { Newable } from 'inversify';
|
|
|
2
2
|
import type { AgentConfig } from './agent';
|
|
3
3
|
import type { Env } from './common';
|
|
4
4
|
import { BaseAgentService, NBaseAgentService } from '../lib/service/agent/baseAgentService';
|
|
5
|
-
import type
|
|
5
|
+
import { type ReplacementRule } from '../lib/utils/applyTextReplacements';
|
|
6
6
|
import { NPictureClientDigitalHumanService } from '../lib/service/digital-human/PictureClientDigitalHumanService';
|
|
7
7
|
import Emittery from 'emittery';
|
|
8
8
|
import { AnyConversation, type IConversationBeanSnapshot } from '../lib/service/conversation';
|
|
@@ -98,9 +98,11 @@ export interface IOptions<AS extends BaseAgentService = BaseAgentService> {
|
|
|
98
98
|
*/
|
|
99
99
|
enTypeDelay?: number;
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* 🧠【选填】标准 Agent 配置(外呼 / 客服)
|
|
102
|
+
* - 未传自定义 `agentService` 时,此配置必填,用于驱动内置 Agent 服务
|
|
103
|
+
* - 已传 `agentService` 时请勿再配置,将由自定义服务完全接管
|
|
102
104
|
*/
|
|
103
|
-
agentConfig
|
|
105
|
+
agentConfig?: AgentConfig;
|
|
104
106
|
/**
|
|
105
107
|
* 📦【选填】挂载容器获取函数 —— 返回你要挂载数字员工形象的 DOM 节点
|
|
106
108
|
* 💡 若不传,需确保在调用 mount($container?: HTMLElement): Promise<void> 时传入,同时确保容器 DOM 已存在
|
|
@@ -226,7 +228,7 @@ export interface IOptions<AS extends BaseAgentService = BaseAgentService> {
|
|
|
226
228
|
conversationFormatters?: TFormatter[];
|
|
227
229
|
/**
|
|
228
230
|
* 🧠【选填】自定义 Agent 服务类(需继承 BaseAgentService)
|
|
229
|
-
* 用于实现私有 Agent 流式 Api
|
|
231
|
+
* 用于实现私有 Agent 流式 Api 协议对接。传入后将完全接管 Agent 相关能力,因此可省略 `agentConfig`。
|
|
230
232
|
*/
|
|
231
233
|
agentService?: Newable<AS>;
|
|
232
234
|
/**
|
|
@@ -241,7 +243,31 @@ export interface IOptions<AS extends BaseAgentService = BaseAgentService> {
|
|
|
241
243
|
* ❌ 设为 false → 保留原始背景(适合已有透明通道的素材)
|
|
242
244
|
*/
|
|
243
245
|
autoChromaKey?: boolean;
|
|
246
|
+
/**
|
|
247
|
+
* 🔌【隐藏参数】RTC 应用 ID(内部使用)
|
|
248
|
+
* ✅ 默认:'apprjff5d4wek7t'
|
|
249
|
+
* ⚠️ 外部用户直接使用默认值即可,内部开发可能需要传入不同的值
|
|
250
|
+
*/
|
|
251
|
+
rtcID?: string;
|
|
244
252
|
}
|
|
253
|
+
export declare const DEFAULT_OPTIONS: {
|
|
254
|
+
readonly enableDebugMode: false;
|
|
255
|
+
readonly minSplitLen: 5;
|
|
256
|
+
readonly ttsModel: "02-turbo";
|
|
257
|
+
readonly env: "production";
|
|
258
|
+
readonly asrVad: 600;
|
|
259
|
+
readonly interruptible: true;
|
|
260
|
+
readonly rendererMode: "cloud";
|
|
261
|
+
readonly autoChromaKey: true;
|
|
262
|
+
readonly typeDelay: 163;
|
|
263
|
+
readonly enTypeDelay: 45;
|
|
264
|
+
readonly inactivityPrompt: "您这么久没讲话,是不是有其它事情要忙,那我先挂断了";
|
|
265
|
+
readonly getMountContainer: () => HTMLElement;
|
|
266
|
+
readonly hotWordReplacementRules: ReplacementRule[];
|
|
267
|
+
readonly rtcID: "appreimunmd7utp";
|
|
268
|
+
};
|
|
269
|
+
type DefaultedOptionKeys = keyof typeof DEFAULT_OPTIONS;
|
|
270
|
+
export type IResolvedOptions<AS extends BaseAgentService = BaseAgentService> = IOptions<AS> & Required<Pick<IOptions<AS>, DefaultedOptionKeys>>;
|
|
245
271
|
export interface IAaaSPilotKitEmitter {
|
|
246
272
|
/**
|
|
247
273
|
* 🔇【状态事件】静音状态变更
|
|
@@ -419,7 +445,7 @@ export interface IAaaSPilotKitController {
|
|
|
419
445
|
*
|
|
420
446
|
* @returns 合并默认值后的完整配置对象
|
|
421
447
|
*/
|
|
422
|
-
getOptions():
|
|
448
|
+
getOptions(): IResolvedOptions;
|
|
423
449
|
/**
|
|
424
450
|
* 🎬【非流式】整段文本驱动播报 —— 适合预生成回复、公告播报
|
|
425
451
|
*
|