Class AllRetrieversQueryRouter
java.lang.Object
org.springframework.ai.rag.orchestration.routing.AllRetrieversQueryRouter
- All Implemented Interfaces:
Function<Query,
,List<DocumentRetriever>> QueryRouter
Routes a query to all the defined document retrievers.
- Since:
- 1.0.0
- Author:
- Thomas Vitale
-
Constructor Details
-
AllRetrieversQueryRouter
-
-
Method Details
-
route
Description copied from interface:QueryRouter
Routes a query to one or more document retrievers.- Specified by:
route
in interfaceQueryRouter
- Parameters:
query
- the query to route- Returns:
- a list of document retrievers
-
builder
-