We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9910ccc commit 62feb38Copy full SHA for 62feb38
spring-ai-core/src/main/java/org/springframework/ai/evaluation/EvaluationRequest.java
@@ -2,6 +2,7 @@
2
3
import org.springframework.ai.model.Content;
4
5
+import java.util.Collections;
6
import java.util.List;
7
import java.util.Objects;
8
@@ -21,6 +22,10 @@ public class EvaluationRequest {
21
22
23
private final String responseContent;
24
25
+ public EvaluationRequest(String userText, String responseContent) {
26
+ this(userText, Collections.emptyList(), responseContent);
27
+ }
28
+
29
public EvaluationRequest(String userText, List<Content> dataList, String responseContent) {
30
this.userText = userText;
31
this.dataList = dataList;
0 commit comments