Package com.embabel.agent.tools.agent
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".
-
-
Field Summary
Fields Modifier and Type Field Description public final static SanitizedGoalNameToolNamingStrategyINSTANCE
-
Method Summary
Modifier and Type Method Description StringnameForGoal(Goal goal)-
-
Method Detail
-
nameForGoal
String nameForGoal(Goal goal)
-
-
-
-