Langchain.
different pieces of information. Then we add this information to the docuiment compressor. The compressor filters and processes this information to extract only what is useful to answer the question. To use the Contextual Compression Retriever, you’ll need: a base retriever a Document Compressor