VectorStoreRetrieverInput<V>: BaseRetrieverInput & ({
    vectorStore: V;
    filter?: V["FilterType"];
    k?: number;
    searchType?: "similarity";
} | {
    searchType: "mmr";
    vectorStore: V;
    filter?: V["FilterType"];
    k?: number;
    searchKwargs?: VectorStoreRetrieverMMRSearchKwargs;
})

Type for input when creating a VectorStoreRetriever instance.

Type Parameters

Generated using TypeDoc