Uses of Class
dev.langchain4j.service.decision.internal.DecisionServiceConfig
Packages that use DecisionServiceConfig
-
Uses of DecisionServiceConfig in dev.langchain4j.service.decision.internal
Methods in dev.langchain4j.service.decision.internal that return DecisionServiceConfigMethods in dev.langchain4j.service.decision.internal with parameters of type DecisionServiceConfigModifier and TypeMethodDescriptionDecisionMethod.invoke(DecisionServiceConfig config, Object[] args) Invokes this method with the given configuration of the decision service.DecisionMethod.invokeAsync(DecisionServiceConfig config, Object[] args) Invokes this method asynchronously with the given model, whatever its return type.DecisionMethod.invokeWithResponse(DecisionServiceConfig config, DecisionRequest request) Invokes this method synchronously with the given request, typically created withDecisionMethod.toRequest(Object[]), and returns both its result and the response of the decision model, for frameworks that need the raw answers (for example their probabilities or the token usage) whatever the declared return type of the method.