Uses of Class
dev.langchain4j.model.chat.router.DecisionModelChatModelRouter.Builder
Packages that use DecisionModelChatModelRouter.Builder
-
Uses of DecisionModelChatModelRouter.Builder in dev.langchain4j.model.chat.router
Methods in dev.langchain4j.model.chat.router that return DecisionModelChatModelRouter.BuilderModifier and TypeMethodDescriptionDecisionModelChatModelRouter.builder()DecisionModelChatModelRouter.Builder.decisionModel(DecisionModel decisionModel) Sets the decision model that selects the route.DecisionModelChatModelRouter.Builder.fallbackStrategy(DecisionModelChatModelRouter.FallbackStrategy fallbackStrategy) Sets what happens when the decision model fails.DecisionModelChatModelRouter.Builder.maxMessages(Integer maxMessages) Sets the maximum number of messages of the conversation (user messages and text responses of the AI, up to and including the last user message) that the decision model receives.DecisionModelChatModelRouter.Builder.minProbability(Double minProbability) Sets the minimum probability of the chosen route.Sets the question asked to choose between the routes, whose descriptions are the options.Constructors in dev.langchain4j.model.chat.router with parameters of type DecisionModelChatModelRouter.BuilderModifierConstructorDescriptionprotected