Skip to content

Conversation

@remeio
Copy link
Contributor

@remeio remeio commented Aug 2, 2025

Keep the same pass check behavior for FactCheckingEvaluator and RelevancyEvaluator, and avoid NPE.

Some test cases:

  • When evaluationResponse is null, return false.
  • When evaluationResponse is yes, return true.
  • When evaluationResponse is Yes, return true.
  • When evaluationResponse is yES, return true.
  • When evaluationResponse is no and yes, return false.
  • When evaluationResponse is yes. , return false.

…ancyEvaluator, and avoid NPE.

Signed-off-by: Mengqi Xu <[email protected]>
@sobychacko sobychacko added this to the 1.1.0.M1 milestone Aug 6, 2025
@sobychacko sobychacko merged commit caed4b3 into spring-projects:main Aug 6, 2025
2 checks passed
spring-builds pushed a commit that referenced this pull request Aug 6, 2025
…ancyEvaluator, and avoid NPE. (#3975)

Fixes #3975

Signed-off-by: Mengqi Xu <[email protected]>
(cherry picked from commit caed4b3)
juntae6942 pushed a commit to juntae6942/spring-ai that referenced this pull request Aug 7, 2025
…ancyEvaluator, and avoid NPE. (spring-projects#3975)

Fixes spring-projects#3975

Auto-cherry-pick to 1.0.x

Signed-off-by: Mengqi Xu <[email protected]>
scionaltera pushed a commit to scionaltera/spring-ai that referenced this pull request Sep 3, 2025
…ancyEvaluator, and avoid NPE. (spring-projects#3975)

Fixes spring-projects#3975

Auto-cherry-pick to 1.0.x

Signed-off-by: Mengqi Xu <[email protected]>
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
…ancyEvaluator, and avoid NPE. (spring-projects#3975)

Fixes spring-projects#3975

Auto-cherry-pick to 1.0.x

Signed-off-by: Mengqi Xu <[email protected]>
Willam2004 pushed a commit to Willam2004/spring-ai that referenced this pull request Oct 11, 2025
…ancyEvaluator, and avoid NPE. (spring-projects#3975)

Fixes spring-projects#3975

Auto-cherry-pick to 1.0.x

Signed-off-by: Mengqi Xu <[email protected]>
Signed-off-by: 家娃 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants