Class RoleGoalBackstory

  • All Implemented Interfaces:
    com.embabel.agent.prompt.persona.RoleGoalBackstorySpec , com.embabel.common.ai.prompt.PromptContributor , com.embabel.common.ai.prompt.PromptElement

    
    public final class RoleGoalBackstory
     implements RoleGoalBackstorySpec
                        

    CrewAI style backstory prompt. 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
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getRole()
      String getGoal()
      String getBackstory()
      • Methods inherited from class com.embabel.common.ai.prompt.PromptElement

        getPromptContributionLocation
      • Methods inherited from class com.embabel.agent.prompt.persona.RoleGoalBackstorySpec

        contribution
      • Methods inherited from class com.embabel.common.ai.prompt.PromptContributor

        promptContribution
      • Methods inherited from class java.lang.Object

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