interface FilterMessagesFields {
    excludeIds?: string[];
    excludeNames?: string[];
    excludeTypes?: MessageTypeOrClass[];
    includeIds?: string[];
    includeNames?: string[];
    includeTypes?: MessageTypeOrClass[];
}

Properties

excludeIds?: string[]

Message IDs to exclude.

excludeNames?: string[]

Messages names to exclude.

excludeTypes?: MessageTypeOrClass[]

Message types to exclude. Can be specified as string names (e.g. "system", "human", "ai", ...) or as BaseMessage classes (e.g. SystemMessage, HumanMessage, AIMessage, ...).

includeIds?: string[]

Message IDs to include.

includeNames?: string[]

Message names to include.

includeTypes?: MessageTypeOrClass[]

Message types to include. Can be specified as string names (e.g. "system", "human", "ai", ...) or as BaseMessage classes (e.g. SystemMessage, HumanMessage, AIMessage, ...).