Uses of Class
dev.langchain4j.model.chat.router.ChatModelRoutingResult
Packages that use ChatModelRoutingResult
-
Uses of ChatModelRoutingResult in dev.langchain4j.model.chat.router
Methods in dev.langchain4j.model.chat.router that return ChatModelRoutingResultModifier and TypeMethodDescriptionstatic ChatModelRoutingResultChatModelRoutingResult.defaultRoute()Routes the request to the default route of the routing chat model, for example when a router that calls a model is unsure.ChatModelRouter.route(ChatModelRoutingRequest request) Selects the route that handles the request.static ChatModelRoutingResultRoutes the request to the route with the given name.DecisionModelChatModelRouter.route(ChatModelRoutingRequest request) Methods in dev.langchain4j.model.chat.router that return types with arguments of type ChatModelRoutingResultModifier and TypeMethodDescriptiondefault CompletableFuture<ChatModelRoutingResult> ChatModelRouter.routeAsync(ChatModelRoutingRequest request) Non-blocking counterpart ofChatModelRouter.route(ChatModelRoutingRequest), used by the asynchronous and streaming methods of the routing chat models.DecisionModelChatModelRouter.routeAsync(ChatModelRoutingRequest request)