Class EvaluationRequest
java.lang.Object
org.springframework.ai.evaluation.EvaluationRequest
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 Summary
ConstructorDescriptionEvaluationRequest
(String userText, String responseContent) EvaluationRequest
(String userText, List<Document> dataList, String responseContent) EvaluationRequest
(List<Document> dataList, String responseContent) -
Method Summary