Uses of Package
dev.langchain4j.rag.query.router
-
-
ClassDescriptionA
QueryRouter
that utilizes aChatLanguageModel
to make a routing decision.Strategy applied if the call to the LLM fails of if LLM does not return a valid response.Routes the givenQuery
to one or multipleContentRetriever
s.