```python
call.set_persona(
    organization_name: str | None = None,
    agent_name: str | None = None,
    agent_purpose: str | None = None,
    voice: str | None = None,
)
```

```typescript
await call.setPersona({
  organizationName?: string,
  agentName?: string,
  agentPurpose?: string,
  voice?: string,
})
```

```python
call.set_persona(
    organization_name="Bright Smile Dental",
    agent_name="Alex",
    agent_purpose="You are calling patients to help them schedule and confirm dental appointments",
    voice="grace",
)
```

```typescript
await call.setPersona({
  organizationName: "Bright Smile Dental",
  agentName: "Alex",
  agentPurpose: "Help patients schedule dental appointments",
})
```

## set_persona()

`call.set_persona()` is deliberately minimal. Give it the organization name and let the agent figure out the tone. You don't need to specify a voice style, a greeting template, or a list of prohibited phrases — Guava's defaults are professional and natural.

```javascript
<CodeTabs
  python={{ code: SET_PERSONA_SIG_PY, filename: "signature" }}
  typescript={{ code: SET_PERSONA_SIG_TS, filename: "signature" }}
/>
```

| Name              | Type               | Description                                                                                              |
|-------------------|--------------------|----------------------------------------------------------------------------------------------------------|
| organization_name  | str | None          | The organization the agent represents. Used in introductions.                                           |
| agent_name        | str | None          | The agent's first name. Defaults to a generic 'assistant' style.                                        |
| agent_purpose     | str | None          | A sentence describing why the agent is calling. Sets the LLM's operating context.                       |
| voice             | str | None          | The TTS voice to use. Options: "grace" (southern female) or "jack" (British male). For languages outside of English, only the "grace" voice is supported. |

### Example

**Tip:** Include the contact's name in `agent_purpose` to help the agent personalize the conversation naturally.
