enforcement accountable.         That‚Äôs why the Justice Department required body cameras, banned chokeholds, and restricted no-knock warrants for its officers.Doing reranking with CohereRerank‚ÄãNow let's wrap our base retriever with a ContextualCompressionRetriever. We'll add an CohereRerank, uses the Cohere rerank endpoint to rerank the returned results.from langchain.llms import OpenAIfrom langchain.retrievers import ContextualCompressionRetrieverfrom langchain.retrievers.document_compressors import CohereRerankllm = OpenAI(temperature=0)compressor = CohereRerank()compression_retriever = ContextualCompressionRetriever(    base_compressor=compressor, base_retriever=retriever)compressed_docs = compression_retriever.get_relevant_documents(    "What did the president say about Ketanji Jackson Brown")pretty_print_docs(compressed_docs)    Document 1:        One of the most serious constitutional responsibilities a President has is nominating someone to serve on the United States Supreme Court.         And I did that 4 days ago, when I nominated Circuit Court of Appeals Judge Ketanji Brown Jackson. One of our nation‚Äôs top legal minds, who will continue Justice Breyer‚Äôs legacy of excellence.    ----------------------------------------------------------------------------------------------------    Document 2:        I spoke with their families and told them that we are forever in debt for their sacrifice, and we will carry on their mission to restore the trust and safety every community deserves.         I‚Äôve worked on these issues a long time.         I know what works: Investing in crime prevention and community police officers who‚Äôll walk the beat, who‚Äôll know the neighborhood, and who can restore trust and safety.         So let‚Äôs not abandon our streets. Or choose between safety and equal justice.    ----------------------------------------------------------------------------------------------------    Document 3:        A former top litigator in
Cohere is a Canadian startup that provides natural language processing models that help companies improve human-machine interactions.
Cohere is a Canadian startup that provides natural language processing models that help companies improve human-machine interactions. ->: enforcement accountable.         That‚Äôs why the Justice Department required body cameras, banned chokeholds, and restricted no-knock warrants for its officers.Doing reranking with CohereRerank‚ÄãNow let's wrap our base retriever with a ContextualCompressionRetriever. We'll add an CohereRerank, uses the Cohere rerank endpoint to rerank the returned results.from langchain.llms import OpenAIfrom langchain.retrievers import ContextualCompressionRetrieverfrom langchain.retrievers.document_compressors import CohereRerankllm = OpenAI(temperature=0)compressor = CohereRerank()compression_retriever = ContextualCompressionRetriever(    base_compressor=compressor, base_retriever=retriever)compressed_docs = compression_retriever.get_relevant_documents(    "What did the president say about Ketanji Jackson Brown")pretty_print_docs(compressed_docs)    Document 1:        One of the most serious constitutional responsibilities a President has is nominating someone to serve on the United States Supreme Court.         And I did that 4 days ago, when I nominated Circuit Court of Appeals Judge Ketanji Brown Jackson. One of our nation‚Äôs top legal minds, who will continue Justice Breyer‚Äôs legacy of excellence.    ----------------------------------------------------------------------------------------------------    Document 2:        I spoke with their families and told them that we are forever in debt for their sacrifice, and we will carry on their mission to restore the trust and safety every community deserves.         I‚Äôve worked on these issues a long time.         I know what works: Investing in crime prevention and community police officers who‚Äôll walk the beat, who‚Äôll know the neighborhood, and who can restore trust and safety.         So let‚Äôs not abandon our streets. Or choose between safety and equal justice.    ----------------------------------------------------------------------------------------------------    Document 3:        A former top litigator in