Uses of Package
org.springframework.ai.rag.preretrieval.query.expansion
Package
Description
Provides classes for advising chat clients.
RAG Sub-Module: Query Expansion.
-
ClassDescriptionA component for expanding the input query into a list of queries, addressing challenges such as poorly formed queries by providing alternative query formulations, or by breaking down complex problems into simpler sub-queries,
-
ClassDescriptionUses a large language model to expand a query into multiple semantically diverse variations to capture different perspectives, useful for retrieving additional contextual information and increasing the chances of finding relevant results.A component for expanding the input query into a list of queries, addressing challenges such as poorly formed queries by providing alternative query formulations, or by breaking down complex problems into simpler sub-queries,