Package com.embabel.agent.prompt.persona
Interface PersonaSpec
-
- All Implemented Interfaces:
-
com.embabel.common.ai.prompt.PromptContributor,com.embabel.common.ai.prompt.PromptElement
public interface PersonaSpec implements PromptContributorInterface 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 classPersonaSpec.Companion
-
Method Summary
Modifier and Type Method Description Stringcontribution()abstract StringgetName()abstract StringgetPersona()abstract StringgetVoice()abstract StringgetObjective()-
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()
-
getPersona
abstract String getPersona()
-
getObjective
abstract String getObjective()
-
-
-
-