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

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

Properties

Properties

content: string
role: "system" | "user" | "assistant"