Interface VectorStoreRetrieverMemoryParams

Interface for the parameters required to initialize a VectorStoreRetrieverMemory instance.

interface VectorStoreRetrieverMemoryParams {
    inputKey?: string;
    memoryKey?: string;
    metadata?: Metadata | MetadataFunction;
    outputKey?: string;
    returnDocs?: boolean;
    vectorStoreRetriever: VectorStoreRetrieverInterface<VectorStoreInterface>;
}

Implemented by

Properties

inputKey?: string
memoryKey?: string
metadata?: Metadata | MetadataFunction

Metadata to be added to the document when saving context.

outputKey?: string
returnDocs?: boolean
vectorStoreRetriever: VectorStoreRetrieverInterface<VectorStoreInterface>