Interface VectorStoreRetrieverMemoryParams

Interface for the parameters required to initialize a VectorStoreRetrieverMemory instance.

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

Implemented by

Properties

vectorStoreRetriever: VectorStoreRetrieverInterface<VectorStoreInterface>
inputKey?: string
memoryKey?: string
metadata?: Metadata | MetadataFunction

Metadata to be added to the document when saving context.

outputKey?: string
returnDocs?: boolean

Generated using TypeDoc