Class ScoringModelCall

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

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

    • request

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

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