Interface RoleGoalBackstorySpec

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

    
    public interface RoleGoalBackstorySpec
     implements PromptContributor
                        

    Interface 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.

    • 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
      String contribution()
      abstract String getGoal()
      abstract String getBackstory()
      • 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