Skip to content

Commit

Permalink
Merge pull request #8 from Conv-AI/viseme-sync
Browse files Browse the repository at this point in the history
addModule undef changes and trigger config with narrative Maps
  • Loading branch information
AirSurfer09 authored Jul 10, 2024
2 parents 2889af7 + a17b14d commit 8bf7c90
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/cjs/convai-web-client.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/typings/audio_recorder.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ export declare class AudioRecorder {
private convertoFloat32ToInt16;
start(audioCallback: (buffer: ArrayBuffer) => void): void;
stop(): void;
removeMicrophoneAccess(): void;
getMicrophoneAccess(): void;
}
2 changes: 2 additions & 0 deletions dist/typings/convai_client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export interface ConvaiClientParams {
disableAudioGeneration?: boolean;
enableFacialData?: boolean;
faceModel?: 0 | 1 | 2 | 3;
narrativeTemplateKeysMap: Map<string, string>;
}
export declare class ConvaiClient {
private sessionId;
Expand All @@ -29,6 +30,7 @@ export declare class ConvaiClient {
private disableAudioGeneration;
private enableFacialData;
private faceModel;
private narrativeTemplateKeysMap;
constructor(params: ConvaiClientParams);
private validateBeforeRequest;
resetSession(): void;
Expand Down
3 changes: 2 additions & 1 deletion dist/typings/convai_grpc_client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export declare class ConvaiGRPCClient {
private disableAudioGeneration;
private enableFacialData;
private faceModel;
constructor(apiKey: string, characterId: string, speaker: string, speakerId: string, sessionId: string, responseCallback: (response: GetResponseResponse) => void, errorCallback: (type: string, statusMessage: string) => void, languageCode: string, disableAudioGeneration?: boolean, enableFacialData?: boolean, faceModel?: 0 | 1 | 2 | 3);
private narrativeTemplateKeysMap;
constructor(apiKey: string, characterId: string, speaker: string, speakerId: string, sessionId: string, responseCallback: (response: GetResponseResponse) => void, errorCallback: (type: string, statusMessage: string) => void, languageCode: string, disableAudioGeneration: boolean, enableFacialData: boolean, faceModel: 0 | 1 | 2 | 3, narrativeTemplateKeysMap: Map<string, string>);
close(): void;
invokeTrigger(name: string, message?: string): void;
sendFeedback(interaction_id: string, character_id: string, session_id: string, thumbs_up: boolean, feedback_text: string): void;
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/convai-web-client.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"interactive web experiences",
"interactive avatars"
],
"version": "0.1.1",
"version": "0.1.2",
"homepage": "https://www.convai.com/",
"main": "dist/cjs/convai-web-client.js",
"browser": "dist/umd/convai-web-client.umd.js",
Expand Down

0 comments on commit 8bf7c90

Please sign in to comment.