Represents a single LLM chat model message

interface Message {
    content: string;
    role?: string;
    toolCalls?: ToolCall[];
}

Properties

content: string

Content of the message.

role?: string

Role of the message (ie system, user, ai)

toolCalls?: ToolCall[]

Tool calls of the message

Generated using TypeDoc