Return AzureSearchVectorStoreRetriever initialized from this VectorStore.
as_retriever(
self,
**kwargs: Any = {},
) -> AzureSearchVectorStoreRetriever| Name | Type | Description |
|---|---|---|
search_type* | Optional[str] | Overrides the type of search that
the Retriever should perform. Defaults to |
search_kwargs* | Optional[Dict] | Keyword arguments to pass to the search function. Can include things like: score_threshold: Minimum relevance threshold for similarity_score_threshold fetch_k: Amount of documents to pass to MMR algorithm (Default: 20) lambda_mult: Diversity of results returned by MMR; 1 for minimum diversity and 0 for maximum. (Default: 0.5) filter: Filter by document metadata |