Represents a message to send a message the model should respond to via the interaction manager.

SendRespondMessage

interface RespondMessage {
    context?: string;
    id: string;
    message: string;
    options?: SharedMessageOptions & {
        modelProvider?: {
            dtype: string;
            model: string;
            pipeline: "text" | "auto" | "mediapipe";
        };
    };
    type: "respond";
}

Properties

context?: string
id: string
message: string

The message content the model should respond to.

options?: SharedMessageOptions & {
    modelProvider?: {
        dtype: string;
        model: string;
        pipeline: "text" | "auto" | "mediapipe";
    };
}
type: "respond"

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