- JSON representation
- EvaluationPersona.SpeechConfig
- EvaluationPersona.SpeechConfig.BackgroundEnvironment
A persona represents an end user in an evaluation.
| JSON representation |
|---|
{
"name": string,
"description": string,
"displayName": string,
"personality": string,
"speechConfig": {
object ( |
| Fields | |
|---|---|
name |
Required. The unique identifier of the persona. Format: |
description |
Optional. The description of the persona. |
displayName |
Required. The display name of the persona. Unique within an app. |
personality |
Required. An instruction for the agent on how to behave in the evaluation. |
speechConfig |
Optional. Configuration for how the persona sounds (TTS settings). |
EvaluationPersona.SpeechConfig
Configuration for Text-to-Speech generation.
| JSON representation |
|---|
{
"speakingRate": number,
"environment": enum ( |
| Fields | |
|---|---|
speakingRate |
Optional. The speaking rate. 1.0 is normal. Lower is slower (e.g., 0.8), higher is faster (e.g., 1.5). Useful for testing how the agent handles fast talkers. |
environment |
Optional. The simulated audio environment. |
voiceId |
Optional. The specific voice identifier/accent to use. Example: "en-US-Wavenet-D" or "en-GB-Standard-A" |
EvaluationPersona.SpeechConfig.BackgroundEnvironment
Simulated audio environment.
| Enums | |
|---|---|
BACKGROUND_ENVIRONMENT_UNSPECIFIED |
Background environment unspecified. |
CALL_CENTER |
Call center environment. |
TRAFFIC |
Traffic noise environment. |
KIDS_NOISE |
Kids noise environment. |
CAFE |
Cafe environment. |