Interface ConversationMessage

A single message in the conversation history. Used for providing conversational context to the classifier and generator.

interface ConversationMessage {
    role: "user" | "assistant";
    content: string;
}

Properties

Properties

role: "user" | "assistant"

The role of the message author.

content: string

The text content of the message.