- JSON representation
- InputAudioConfig
- AudioEncoding
- OutputAudioConfig
- EvaluationConfig.EvaluationChannel
EvaluationConfig configures settings for running the evaluation.
| JSON representation |
|---|
{ "inputAudioConfig": { object ( |
| Fields | |
|---|---|
inputAudioConfig |
Optional. Configuration for processing the input audio. |
outputAudioConfig |
Optional. Configuration for generating the output audio. |
evaluationChannel |
Optional. The channel to evaluate. |
InputAudioConfig
InputAudioConfig configures how the CES agent should interpret incoming audio data.
| JSON representation |
|---|
{
"audioEncoding": enum ( |
| Fields | |
|---|---|
audioEncoding |
Required. The encoding of the input audio data. |
sampleRateHertz |
Optional. The sample rate (in Hertz) of the input audio data. |
noiseSuppressionLevel |
Optional. Whether to enable noise suppression on the input audio. Available values are "low", "moderate", "high", "very_high". |
AudioEncoding
AudioEncoding specifies the encoding format for audio data.
| Enums | |
|---|---|
AUDIO_ENCODING_UNSPECIFIED |
Unspecified audio encoding. |
LINEAR16 |
16-bit linear PCM audio encoding. |
MULAW |
8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. |
ALAW |
8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law. |
OutputAudioConfig
OutputAudioConfig configures how the CES agent should synthesize outgoing audio responses.
| JSON representation |
|---|
{
"audioEncoding": enum ( |
| Fields | |
|---|---|
audioEncoding |
Required. The encoding of the output audio data. |
sampleRateHertz |
Optional. The sample rate (in Hertz) of the output audio data. |
EvaluationConfig.EvaluationChannel
The channel to evaluate.
| Enums | |
|---|---|
EVALUATION_CHANNEL_UNSPECIFIED |
Unspecified evaluation channel. |
TEXT |
Text-only evaluation channel. |
AUDIO |
Audio evaluation channel. |