Class RelevancyEvaluator
java.lang.Object
org.springframework.ai.chat.evaluation.RelevancyEvaluator
- All Implemented Interfaces:
Evaluator
Evaluates the relevancy of a response to a query based on the context provided.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RelevancyEvaluator.Builder
builder()
evaluate
(EvaluationRequest evaluationRequest) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.ai.evaluation.Evaluator
doGetSupportingData