Interface defining the structure of the input data for the ZepMemory class. It includes properties like humanPrefix, aiPrefix, memoryKey, baseURL, sessionId, apiKey, and separateMessages.

interface ZepMemoryInput {
    aiPrefix?: string;
    apiKey?: string;
    baseURL: string;
    chatHistory?: BaseChatMessageHistory;
    humanPrefix?: string;
    inputKey?: string;
    memoryKey?: string;
    outputKey?: string;
    returnMessages?: boolean;
    separateMessages?: boolean;
    sessionId: string;
}

Hierarchy (view full)

Implemented by

Properties

aiPrefix?: string
apiKey?: string
baseURL: string
chatHistory?: BaseChatMessageHistory
humanPrefix?: string
inputKey?: string
memoryKey?: string
outputKey?: string
returnMessages?: boolean
separateMessages?: boolean

Whether to return separate messages for chat history with a SystemMessage containing facts and summary, or return a single HumanMessage with the entire memory context. Defaults to true (preserving message types) for backward compatibility.

Keep as true for models that fully support system messages. Set to false for models like Claude that have limitations with system messages.

sessionId: string