Pinecone TypeScript SDK - v8.2.0
    Preparing search index...

    Interface ChatMessageModel

    Describes the format of a message in a chat.

    MessageModel

    interface ChatMessageModel {
        content?: string;
        role?: string;
    }
    Index
    content?: string

    The textual content of this partial message.

    MessageModel

    role?: string

    The role of the message author, it can be user, assistant, or system.

    MessageModel