Interface DocumentPostProcessor
A component for post-processing retrieved documents based on a query, addressing
challenges such as "lost-in-the-middle", context length restrictions from the model,
and the need to reduce noise and redundancy in the retrieved information.
For example, it could rank documents based on their relevance to the query, remove irrelevant or redundant documents, or compress the content of each document to reduce noise and redundancy.
- Since:
- 1.0.0
- Author:
- Thomas Vitale
-
Method Summary
Methods inherited from interface java.util.function.BiFunction
andThen