SearchType#

class langchain.retrievers.multi_vector.SearchType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Enumerator of the types of search to perform.

similarity = 'similarity'#

Similarity search.

similarity_score_threshold = 'similarity_score_threshold'#

Similarity search with a score threshold.

mmr = 'mmr'#

Maximal Marginal Relevance reranking of similarity search.

Examples using SearchType