Package dev.langchain4j.rag.query.router
See: Description
-
Class Summary Class Description DefaultQueryRouter Default implementation of QueryRouter intended to be suitable for the majority of use cases. LanguageModelQueryRouterBuilder LanguageModelQueryRouter A QueryRouter that utilizes a ChatLanguageModel to make a routing decision. -
Interface Summary Interface Description QueryRouter Routes the given Query to one or multiple ContentRetrievers. -
Enum Summary Enum Description FallbackStrategy Strategy applied if the call to the LLM fails of if LLM does not return a valid response.