Class DecisionServiceConfig

java.lang.Object
dev.langchain4j.service.decision.internal.DecisionServiceConfig

public final class DecisionServiceConfig extends Object
The configuration of a decision service, shared by all its methods: the service interface, the decision model and the optional ThresholdProvider. New options are added here, so that the signatures of DecisionMethod.invoke(DecisionServiceConfig, Object[]) and DecisionMethod.invokeAsync(DecisionServiceConfig, Object[]) stay stable for frameworks.
  • Method Details