Interface PersonaSpec

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

    
    public interface PersonaSpec
     implements PromptContributor
                        

    Interface for Persona, when we can't use data class directly (e.g. in some persistence scenarios).

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class PersonaSpec.Companion
    • 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 getName()
      abstract String getPersona()
      abstract String getVoice()
      abstract String getObjective()
      • 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