@streamoji/aitwin 0.2.5 → 0.2.7
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 +3 -1
- package/dist/aitwin.cjs +2 -2
- package/dist/aitwin.js +619 -609
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -79,6 +79,8 @@ export declare type AiTwinRecord = {
|
|
|
79
79
|
faceId: string;
|
|
80
80
|
ttsEngineId: TtsEngineId;
|
|
81
81
|
voiceId?: string;
|
|
82
|
+
/** When set, passed as `personaId` on voice WebSocket connect. */
|
|
83
|
+
knowledgeContextId?: string;
|
|
82
84
|
gender?: string;
|
|
83
85
|
createdAt?: string;
|
|
84
86
|
updatedAt?: string;
|
|
@@ -259,6 +261,8 @@ export declare type VoiceConnectOptions = {
|
|
|
259
261
|
authToken?: string;
|
|
260
262
|
/** Cartesia voice UUID override (optional). */
|
|
261
263
|
voiceId?: string;
|
|
264
|
+
/** Persona / knowledge context id (from getAiTwin `knowledgeContextId`). */
|
|
265
|
+
personaId?: string;
|
|
262
266
|
speakingRate?: number;
|
|
263
267
|
/** Default true — server streams TTS + avatar messages. */
|
|
264
268
|
ttsStream?: boolean;
|