EvaluationPersona

A persona represents an end user in an evaluation.

JSON representation
{
  "name": string,
  "description": string,
  "displayName": string,
  "personality": string,
  "speechConfig": {
    object (EvaluationPersona.SpeechConfig)
  }
}
Fields
name

string

Required. The unique identifier of the persona. Format: projects/{project}/locations/{location}/apps/{app}/evaluationPersonas/{evaluationPersona}

description

string

Optional. The description of the persona.

displayName

string

Required. The display name of the persona. Unique within an app.

personality

string

Required. An instruction for the agent on how to behave in the evaluation.

speechConfig

object (EvaluationPersona.SpeechConfig)

Optional. Configuration for how the persona sounds (TTS settings).

EvaluationPersona.SpeechConfig

Configuration for Text-to-Speech generation.

JSON representation
{
  "speakingRate": number,
  "environment": enum (EvaluationPersona.SpeechConfig.BackgroundEnvironment),
  "voiceId": string
}
Fields
speakingRate

number

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

enum (EvaluationPersona.SpeechConfig.BackgroundEnvironment)

Optional. The simulated audio environment.

voiceId

string

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.