faiss_retriever], weights=[0.5, 0.5])docs = ensemble_retriever.get_relevant_documents("apples")docs    [Document(page_content='I like apples', metadata={}),     Document(page_content='Apples and oranges are fruits', metadata={})]PreviousContextual compressionNextMultiVector RetrieverCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.
The EnsembleRetriever takes a list of retrievers as input and ensemble the results of their getrelevantdocuments() methods and rerank the results based on the Reciprocal Rank Fusion algorithm.
The EnsembleRetriever takes a list of retrievers as input and ensemble the results of their getrelevantdocuments() methods and rerank the results based on the Reciprocal Rank Fusion algorithm. ->: faiss_retriever], weights=[0.5, 0.5])docs = ensemble_retriever.get_relevant_documents("apples")docs    [Document(page_content='I like apples', metadata={}),     Document(page_content='Apples and oranges are fruits', metadata={})]PreviousContextual compressionNextMultiVector RetrieverCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.