Calculate maximal marginal relevance.
Enumerator of the types of search to perform.
DocArray Document Indices retriever.
Currently, it supports 5 backends: InMemoryExactNNIndex, HnswDocumentIndex, QdrantDocumentIndex, ElasticDocIndex, and WeaviateDocumentIndex.