Interface IMessage

IMessage interface for providing input to create a Message instance.

interface IMessage {
    content: string;
    created_at?: string;
    metadata?: Record<string, any>;
    role: string;
    token_count?: number;
    uuid?: string;
}

Properties

content: string
created_at?: string
metadata?: Record<string, any>
role: string
token_count?: number
uuid?: string

Generated using TypeDoc