Contextual Compression — AI Glossary

Contextual compression filters or summarizes retrieved chunks against the query before generation — dropping off-topic passages and extracting only answer-bearing sentences to cut cost and noise.