Interface ChatMessage

A conversation consists of a sequence of ChatMessages. Each ChatMessage is either a user message, AI message or a system message.

For now we only support text based messages.

interface ChatMessage {
    actor: MessageActor;
    query: string;
    type: "text";
}

Properties

Properties

actor: MessageActor
query: string
type: "text"