Interface ExplainDecision

All Known Implementing Classes:
LogginggExplainDecision

public interface ExplainDecision
The ExplainDecision interface represents a mechanism for AI to explain decisions regarding a particular prompt text, method name, and reason. AI will call this back

This interface defines a method explain(String, String, String) that can be used to provide an explanation by AI to a human regarding a decision made based on a prompt text, method name, and reason.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    explain(String promptText, String methodName, String reason)
     
  • Method Details