Uses of Class
dev.langchain4j.model.chat.router.ChatModelRoute
Packages that use ChatModelRoute
-
Uses of ChatModelRoute in dev.langchain4j.model.chat.router
Methods in dev.langchain4j.model.chat.router that return types with arguments of type ChatModelRouteModifier and TypeMethodDescriptionChatModelRoutingRequest.routes()The routes that can handle the request, in the order in which they were configured: all routes or, if the request needs a capability (such as a JSON schema response format), the routes whose model supports it.RoutingChatModel.routes()The routes, in the order in which they were configured.RoutingStreamingChatModel.routes()The routes, in the order in which they were configured.Method parameters in dev.langchain4j.model.chat.router with type arguments of type ChatModelRouteModifier and TypeMethodDescriptionChatModelRoutingRequest.Builder.routes(List<ChatModelRoute> routes) default voidChatModelRouter.validate(List<ChatModelRoute> routes) Checks that this router can route between the given routes, for example that every route has a description.voidDecisionModelChatModelRouter.validate(List<ChatModelRoute> routes)