Langchain.
document with a lot of irrelevant text. Passing that full document through your application can lead to more expensive LLM calls and poorer responses. So here the idea of Contextual compression comes handy. The idea here is that :- We have some kind of base retriever that retrieves a bunch of