Package dev.langchain4j.adaptiverag
Class QuestionRouter
java.lang.Object
dev.langchain4j.adaptiverag.QuestionRouter
- All Implemented Interfaces:
Function<String,
QuestionRouter.Type>
Router for user queries to the most relevant datasource.
-
Constructor Details
-
QuestionRouter
public QuestionRouter()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<String,
QuestionRouter.Type>
-