Toggle Menu
Prev Up Next

# `langchain.retrievers.multi_vector`.SearchType

class langchain.retrievers.multi_vector.SearchType(value)

  Enumerator of the types of search to perform.

  similarity = 'similarity'

    Similarity search.

  mmr = 'mmr'

    Maximal Marginal Relevance reranking of similarity search.

# Examples using SearchType

- Set this to your Zep server URL

- The vectorstore to use to index the child chunks

- You need the dgml-utils package to use the DocugamiLoader (run pip install directly without “poetry run” if you are not using poetry)