Uses of Record Class
org.springframework.ai.rag.Query
Packages that use Query
Package
Description
This package contains the core interfaces and classes supporting Retrieval Augmented
Generation flows.
RAG Sub-Module: Query Augmentation.
RAG Sub-Module: Query Expansion.
RAG Sub-Module: Query Transformation.
RAG Sub-Module: Document Join.
RAG Sub-Module: Document Search.
-
Uses of Query in org.springframework.ai.rag
Methods in org.springframework.ai.rag that return Query -
Uses of Query in org.springframework.ai.rag.generation.augmentation
Subinterfaces with type arguments of type Query in org.springframework.ai.rag.generation.augmentationModifier and TypeInterfaceDescriptioninterfaceA component for augmenting an input query with additional data, useful to provide a large language model with the necessary context to answer the user query.interfaceA component for augmenting an input query with additional data, useful to provide a large language model with the necessary context to answer the user query.Methods in org.springframework.ai.rag.generation.augmentation that return QueryMethods in org.springframework.ai.rag.generation.augmentation with parameters of type Query -
Uses of Query in org.springframework.ai.rag.postretrieval.document
Subinterfaces with type arguments of type Query in org.springframework.ai.rag.postretrieval.documentModifier and TypeInterfaceDescriptioninterfaceA 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.Methods in org.springframework.ai.rag.postretrieval.document with parameters of type Query -
Uses of Query in org.springframework.ai.rag.preretrieval.query.expansion
Subinterfaces with type arguments of type Query in org.springframework.ai.rag.preretrieval.query.expansionModifier and TypeInterfaceDescriptioninterfaceA 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.interfaceA 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.Methods in org.springframework.ai.rag.preretrieval.query.expansion that return types with arguments of type QueryModifier and TypeMethodDescriptionExpands the given query into a list of queries.Methods in org.springframework.ai.rag.preretrieval.query.expansion with parameters of type Query -
Uses of Query in org.springframework.ai.rag.preretrieval.query.transformation
Subinterfaces with type arguments of type Query in org.springframework.ai.rag.preretrieval.query.transformationModifier and TypeInterfaceDescriptioninterfaceA component for transforming the input query to make it more effective for retrieval tasks, addressing challenges such as poorly formed queries, ambiguous terms, complex vocabulary, or unsupported languages.interfaceA component for transforming the input query to make it more effective for retrieval tasks, addressing challenges such as poorly formed queries, ambiguous terms, complex vocabulary, or unsupported languages.Methods in org.springframework.ai.rag.preretrieval.query.transformation that return QueryModifier and TypeMethodDescriptiondefault QueryTransforms the given query according to the implemented strategy.Methods in org.springframework.ai.rag.preretrieval.query.transformation with parameters of type QueryModifier and TypeMethodDescriptiondefault QueryTransforms the given query according to the implemented strategy. -
Uses of Query in org.springframework.ai.rag.retrieval.join
Subinterfaces with type arguments of type Query in org.springframework.ai.rag.retrieval.joinModifier and TypeInterfaceDescriptioninterfaceA component for combining documents retrieved based on multiple queries and from multiple data sources into a single collection of documents.Method parameters in org.springframework.ai.rag.retrieval.join with type arguments of type QueryModifier and TypeMethodDescriptionJoins documents retrieved across multiple queries and daa sources. -
Uses of Query in org.springframework.ai.rag.retrieval.search
Subinterfaces with type arguments of type Query in org.springframework.ai.rag.retrieval.searchModifier and TypeInterfaceDescriptioninterfaceComponent responsible for retrievingDocuments from an underlying data source, such as a search engine, a vector store, a database, or a knowledge graph.Methods in org.springframework.ai.rag.retrieval.search with parameters of type QueryModifier and TypeMethodDescriptionRetrieves relevant documents from an underlying data source based on the given query.