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
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.ai.rag.orchestration.routing.QueryRouter
apply
-
Constructor Details
-
AllRetrieversQueryRouter
-
-
Method Details
-
route
Description copied from interface:QueryRouterRoutes a query to one or more document retrievers.- Specified by:
routein interfaceQueryRouter- Parameters:
query- the query to route- Returns:
- a list of document retrievers
-
builder
-