Commit caed4b3
authored
Keep the same pass check behavior for FactCheckingEvaluator and RelevancyEvaluator, and avoid NPE. (#3975)
Fixes #3975
Auto-cherry-pick to 1.0.x
Signed-off-by: Mengqi Xu <[email protected]>1 parent 196a91b commit caed4b3
File tree
2 files changed
+2
-2
lines changed- spring-ai-client-chat/src/main/java/org/springframework/ai/chat/evaluation
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
spring-ai-client-chat/src/main/java/org/springframework/ai/chat/evaluation/RelevancyEvaluator.java
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments