AIOps Peach

RAG Optimization · Re-ranking · Bài 3/5

Additional Post-Retrieval Techniques: Contextual Compression and Lost in the Middle

Contextual compression sends the LLM only the relevant parts of retrieved documents, by extracting sentences or by summarising with a small model. LLMs attend most to the beginning and end of the context and lose the middle (Liu et al., 2023); U-shape reordering, fewer documents and compression before stuffing mitigate it.

Nội dung bài học, quiz và tab Command mở trên site sau khi đăng nhập và được admin cấp quyền học AIOps Peach.

Vào học →