Object SanitizedGoalNameToolNamingStrategy

  • All Implemented Interfaces:
    com.embabel.agent.tools.agent.GoalToolNamingStrategy

    
    public class SanitizedGoalNameToolNamingStrategy
     implements GoalToolNamingStrategy
                        

    A simple naming strategy that uses the last two segments of the goal name to create a tool name. For example, "com.myco.MyAgent.myGoal" becomes "MyAgent_myGoal".

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String nameForGoal(Goal goal)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait