Use an existing persona
List the personas available to the repository’s project:egma persona list to select the one you mean.
Selecting a persona for the first time saves its default model and voice
settings for your project. All tests in that project that select the persona
share those settings. Test files keep the persona selection; egma pull and
egma push do not copy model settings into the file.
Choose models and a voice
Open the persona in Personas. Select Use to save its first settings, Edit settings for a provided persona, or Edit for a custom persona. Choose the language model, speech-to-text model, text-to-speech model, voice, and speech rate. The supported speech rate is0.6 through 1.5; 1 is the
normal rate. You can enter a voice ID from the selected provider even if it is
not in the recommended list.
These choices belong to your project. Saving them does not change the
persona’s behavior version or another project’s settings. Defaults are saved
on first use and do not replace the choices you have already saved.
Create a persona
Open Personas in your project and select New persona.- Enter a Name that your team can recognize, such as
Caller in a hurry. - Set Identity name to the name the caller gives the agent, such as
Morgan Chen. - Write a Personality that describes how the caller acts. For example:
Answers briefly, asks for the earliest appointment, and asks the agent to get to the point if it repeats a question. Remains polite. - Choose the Language and review the language, speech-to-text, and text-to-speech models. Use the supplied choices, then set the voice and speech rate if the test needs them.
- Select Create persona, run
egma persona list, and add the persona to your test.
Understand changes and versions
Changing a custom persona’s identity, personality, or language creates a new immutable behavior version. Its name, description, and project model settings can change without creating a behavior version. Version history is read-only. For API behavior edits, send the currentversionId as expectedVersionId;
read the persona again if another edit changed that version.
Egma maintains the behavior of provided personas. Compatible updates apply to
future runs while keeping your project’s model settings and test selections.
Clones do not receive updates from their source.
A run saves each selected persona’s current behavior version and complete
project settings when it is created. Queued simulations and retries keep that
selection. After changing behavior or settings, start a new run to use them.