Interface EvaluationResult

All Known Implementing Classes:
HallucinationEvaluator.Result, SummarizationEvaluator.Result, ToxicityEvaluator.Result

@Deprecated(since="3.7.1", forRemoval=true) public interface EvaluationResult
Deprecated, for removal: This API element is subject to removal in a future version.
Evaluate interactions with an Evaluator component, which records its verdict in the ledger, metrics and traces.
When an Agent returns an EvaluationResult it is tracked in metrics and traces.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Details

    • explanation

      String explanation()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      reason for the decision, especially when it didn't pass
    • passed

      boolean passed()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      true if the input passed the guardrail evaluation