Interface defining the structure of the input data for the Mem0Memory class. It includes properties like memoryKey, sessionId, and apiKey.

interface Mem0MemoryInput {
    aiPrefix?: string;
    apiKey: string;
    chatHistory?: BaseChatMessageHistory;
    humanPrefix?: string;
    inputKey?: string;
    mem0Options?: ClientOptions;
    memoryOptions?: MemoryOptions | SearchOptions;
    outputKey?: string;
    returnMessages?: boolean;
    separateMessages?: boolean;
    sessionId: string;
}

Hierarchy (view full)

Implemented by

Properties

aiPrefix?: string
apiKey: string
chatHistory?: BaseChatMessageHistory
humanPrefix?: string
inputKey?: string
mem0Options?: ClientOptions
memoryOptions?: MemoryOptions | SearchOptions
outputKey?: string
returnMessages?: boolean
separateMessages?: boolean
sessionId: string