set persona.md
call.set_persona(
organization_name: str | None = None,
agent_name: str | None = None,
agent_purpose: str | None = None,
voice: str | None = None,
)
await call.setPersona({
organizationName?: string,
agentName?: string,
agentPurpose?: string,
voice?: string,
})
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",
)
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.
<CodeTabs
python={{ code: SET_PERSONA_SIG_PY, filename: "signature" }}
typescript={{ code: SET_PERSONA_SIG_TS, filename: "signature" }}
/>
| Name | Type | Description |
|---|---|---|
| organization_name | str | None |
| agent_name | str | None |
| agent_purpose | str | None |
| voice | str | None |
Example
Tip: Include the contact's name in agent_purpose to help the agent personalize the conversation naturally.