Lost in the Middle of long context and LangChain LongContextReorder

LLMs get lost in the middle of long context and we try to address this using LangChain LongContextReorder

LangChain ParentDocumentRetriever: Strike a Balance between large vs small chunks

Looking at LangChain ParentDocumentRetriever to strike a balance between large vs small document chunks while retrieving related documents.

LangChain MultiQueryRetriever to Get Better Relevant Documents by Generating Multiple Queries from Different Perspectives

Looking at LangChain MultiQueryRetriever to cover various perspectives and get better results while finding relevant documents.