Class DecisionModelCall

java.lang.Object
dev.langchain4j.test.service.ModelCall
dev.langchain4j.test.service.DecisionModelCall

@Experimental public final class DecisionModelCall extends ModelCall
A call to a decision model made during an AI Service invocation (see ModelCall).
  • Method Details

    • request

      public DecisionRequest request()
      Returns the request sent to the decision model.
      Specified by:
      request in class ModelCall
    • response

      public DecisionResponse response()
      Returns the response of the decision model, or null if the call failed or had not ended when the invocation finished.
      Specified by:
      response in class ModelCall