Package com.embabel.agent.prompt.persona
Interface RoleGoalBackstorySpec
-
- All Implemented Interfaces:
-
com.embabel.common.ai.prompt.PromptContributor,com.embabel.common.ai.prompt.PromptElement
public interface RoleGoalBackstorySpec implements PromptContributorInterface for CrewAI style backstory prompt when a concrete class isn't appropriate (eg for some persistence scenarios). Included for users migrating from CrewAI. In Embabel, such structures aren't core to the framework, but merely a PromptContributor that can be used in any action implementation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRoleGoalBackstorySpec.Companionpublic final classRoleGoalBackstorySpec.RoleBuilderpublic final classRoleGoalBackstorySpec.GoalBuilder
-
Method Summary
Modifier and Type Method Description Stringcontribution()abstract StringgetGoal()abstract StringgetBackstory()-
Methods inherited from class com.embabel.common.ai.prompt.PromptContributor
promptContribution -
Methods inherited from class com.embabel.common.ai.prompt.PromptElement
getPromptContributionLocation, getRole -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
contribution
String contribution()
-
getBackstory
abstract String getBackstory()
-
-
-
-