Class Persona

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

    
    public final class Persona
     implements PersonaSpec
                        

    A way to structure LLM responses, by grounding them in a personality.

    • 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 getName()
      String getPersona()
      String getVoice()
      String getObjective()
      • Methods inherited from class com.embabel.common.ai.prompt.PromptElement

        getPromptContributionLocation, getRole
      • Methods inherited from class com.embabel.agent.prompt.persona.PersonaSpec

        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