Interface MessageModel

Message model for LLM conversation history. Used in Optimizer to build prompts and maintain conversation context.

interface MessageModel {
    content: string;
    role: MessageRole;
}

Properties

Properties

content: string

The text content of the message. Contains the actual message text sent or received.

The sender of the message.

  • "system": System instructions and context
  • "user": User input and questions
  • "assistant": LLM responses