retrievers.document_compressors.embeddings_filter.EmbeddingsFilter
Document compressor that uses embeddings to drop documents unrelated to the query.
retrievers.document_compressors.cohere_rerank.CohereRerank
DocumentCompressor that uses Cohere's rerank API to compress documents.
retrievers.document_compressors.base.BaseDocumentCompressor
Base abstraction interface for document compression.
retrievers.document_compressors.base.DocumentCompressorPipeline
Document compressor that uses a pipeline of transformers.
retrievers.document_compressors.chain_filter.LLMChainFilter
Filter that drops documents that aren't relevant to the query.
retrievers.self_query.deeplake.DeepLakeTranslator()
Logic for converting internal query language elements to valid filters.
retrievers.self_query.base.SelfQueryRetriever
Retriever that uses a vector store and an LLM to generate the vector store queries.
retrievers.self_query.qdrant.QdrantTranslator(...)
Translate the internal query language elements to valid filters.
retrievers.self_query.chroma.ChromaTranslator()
Translate internal query language elements to valid filters.
retrievers.self_query.pinecone.PineconeTranslator()
Translate the internal query language elements to valid filters.
retrievers.self_query.myscale.MyScaleTranslator([...])
Translate internal query language elements to valid filters.
retrievers.self_query.weaviate.WeaviateTranslator()
Translate the internal query language elements to valid filters.
Functions¶
retrievers.bm25.default_preprocessing_func(text)
retrievers.document_compressors.chain_extract.default_get_input(...)
Return the compression chain input.
retrievers.document_compressors.chain_filter.default_get_input(...)
Return the compression chain input.
retrievers.kendra.clean_excerpt(excerpt)
Cleans an excerpt from Kendra.
retrievers.kendra.combined_text(item)