v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.11
LangChain.js
langchain-core/vectorstores
VectorStoreRetrieverInput
Type Alias VectorStoreRetrieverInput<V>
Vector
Store
Retriever
Input
<
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
V
extends
VectorStoreInterface
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
LangChain.js - v0.2.11
Loading...
Type for input when creating a VectorStoreRetriever instance.