Langchain.
Steps followed in Contextual Compression The Contextual Compression Retriever passes queries to the base retriever, It then takes the initial documents and passes them through the Document Compressor. The Document Compressor takes a list of documents and shortens it by reducing the contents of