Interface BindingsFormatter

  • All Implemented Interfaces:

    
    public interface BindingsFormatter
    
                        

    Formats bindings into a string representation suitable for goal ranking and intent display.

    This allows Autonomy.chooseAndAccomplishGoal to work with arbitrary bindings, not just UserInput.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract String format(Map<String, Object> bindings) Format the bindings map into a string representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • format

         abstract String format(Map<String, Object> bindings)

        Format the bindings map into a string representation. This string is used for:

        • Goal ranking (comparing against goal descriptions)

        • Intent display in approval requests

        • Logging and event tracking

        Parameters:
        bindings - the bindings map passed to chooseAndAccomplishGoal
        Returns:

        a string representation suitable for ranking and display