Represents a message to send speech via the interaction manager.

SendSpeechMessage

interface SendSpeechMessage {
    id: string;
    message: string;
    options?: {
        audioFile?: string | ArrayBuffer | Blob | File;
        emotionInferrenceType?: "sentiment" | "distilbert";
        emotionIntensityMultiplier?: number;
    };
    type: "sendSpeech";
}

Properties

Properties

id: string
message: string

The message content to be spoken.

options?: {
    audioFile?: string | ArrayBuffer | Blob | File;
    emotionInferrenceType?: "sentiment" | "distilbert";
    emotionIntensityMultiplier?: number;
}
type: "sendSpeech"

The type of the message, which is "sendSpeech".