Interface that defines the shape of the input object that the CombinedMemory constructor accepts. It extends the BaseChatMemoryInput interface and adds additional properties.

interface CombinedMemoryInput {
    aiPrefix?: string;
    chatHistory?: BaseChatMessageHistory;
    humanPrefix?: string;
    inputKey?: string;
    memories: BaseMemory[];
    memoryKey?: string;
    outputKey?: string;
    returnMessages?: boolean;
}

Hierarchy (view full)

Implemented by

Properties

aiPrefix?: string
chatHistory?: BaseChatMessageHistory
humanPrefix?: string
inputKey?: string
memories: BaseMemory[]
memoryKey?: string
outputKey?: string
returnMessages?: boolean