Deprecation Notice: The
brainType field has been replaced with llmId
to support custom language models. For backwards compatibility, you can still
use your existing brainType values as llmId. See our Custom LLMs
guide for more details.Creating Custom Personas with the API
You can create your own custom personas using the Anam API’s/v1/personas endpoint. Custom personas allow you to define specific characteristics and behaviors for your use case.
Required Parameters
Persona Parameters
| Parameter | Description | Type | Required | Default |
|---|---|---|---|---|
avatarId | The ID of the avatar to use (get from Avatar Gallery) | string | Yes | |
voiceId | The ID of the voice to use (get from Voice Gallery) | string | Yes | |
llmId | Which LLM used to power the responses | string | No | 0934d97d-0c3a-4f33-91b0-5e136a0ef466 |
systemPrompt | Initial instructions that define the persona’s behavior and personality | string | No | Default helpful assistant persona |
name | Optional name for internal organization | string | No |
Brain Parameters
| Parameter | Description |
|---|---|
systemPrompt | The prompt used for initializing LLM interactions. |

