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<Document> dataList, String responseContent)
    • EvaluationRequest

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