Package org.springframework.ai.rag.postretrieval.compression
@NonNullApi
@NonNullFields
package org.springframework.ai.rag.postretrieval.compression
RAG Sub-Module: Document Compression.
-
ClassDescriptionA component for compressing the content of each document to reduce noise and redundancy in the retrieved information, addressing challenges such as "lost-in-the-middle" and context length restrictions from the model.