Keyword arguments, including (but not limited to):
-
search_type (Optional[str]): Overrides the type of search that
the Retriever should perform.
Defaults to self.search_type.
Can be "similarity", "hybrid", or "semantic_hybrid".
-
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