Interface QueryTransformer
- All Known Implementing Classes:
CompressingQueryTransformer
,DefaultQueryTransformer
,ExpandingQueryTransformer
public interface QueryTransformer
Transforms the given
The goal is to enhance retrieval quality by modifying or expanding the original
Some known approaches to improve retrieval include:
Query
into one or multiple Query
s.
The goal is to enhance retrieval quality by modifying or expanding the original
Query
.
Some known approaches to improve retrieval include:
- Query compression (seeAdditional details can be found here.CompressingQueryTransformer
) - Query expansion (seeExpandingQueryTransformer
) - Query re-writing - Step-back prompting - Hypothetical document embeddings (HyDE)
- See Also:
-
Method Summary