Uses of Package
dev.langchain4j.model.chat.router
Packages that use dev.langchain4j.model.chat.router
-
Classes in dev.langchain4j.model.chat.router used by dev.langchain4j.model.chat.routerClassDescriptionDecides which route of a
RoutingChatModelorRoutingStreamingChatModelhandles a chat request.The input of aChatModelRouter: the chat request to route, the routes that can handle it and the options of the call.The result of aChatModelRouter: the route that handles the request, or the default route of the routing chat model.AChatModelRouterthat uses aDecisionModelto select the route: the decision model chooses the route whose description fits the last user message best.What the router does when the decision model fails.AChatModelthat sends each request to one of several chat models, as decided by aChatModelRouter.The streaming counterpart ofRoutingChatModel: aStreamingChatModelthat sends each request to one of several streaming chat models, as decided by aChatModelRouter.