providerplaneai
    Preparing search index...

    Interface contract for ClientChatMessage.

    interface ClientChatMessage {
        content: ClientMessagePart[];
        role: "system" | "user" | "assistant";
    }
    Index

    Properties

    Properties

    role: "system" | "user" | "assistant"

    The role of a participant in a chat message. System messages typically provide context or instructions. User messages are from the end-user. Assistant messages are from the AI model.