A message to be sent to an LLM through a chat like interface.

interface LLMMessage {
    content: string | MessageContent[];
    role: "system" | "user" | "assistant";
}

Properties

Properties

content: string | MessageContent[]
role: "system" | "user" | "assistant"