Class EvaluationRequest

java.lang.Object
org.springframework.ai.evaluation.EvaluationRequest

public class EvaluationRequest extends Object
Represents an evaluation request, which includes the user's text, a list of content data, and a chat response. The evaluation request is used to evaluate the relevance or correctness of the chat response based on the context.
Since:
1.0.0 M1
Author:
Mark Pollack, EddĂș MelĂ©ndez
  • Constructor Details

    • EvaluationRequest

      public EvaluationRequest(String userText, String responseContent)
    • EvaluationRequest

      public EvaluationRequest(List<Content> dataList, String responseContent)
    • EvaluationRequest

      public EvaluationRequest(String userText, List<Content> dataList, String responseContent)
  • Method Details