Debian Codegraph @

docs/dyn/ces_v1beta.projects.locations.apps.evaluationRuns.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="ces_v1beta.html">Gemini Enterprise for Customer Experience API</a> . <a href="ces_v1beta.projects.html">projects</a> . <a href="ces_v1beta.projects.locations.html">locations</a> . <a href="ces_v1beta.projects.locations.apps.html">apps</a> . <a href="ces_v1beta.projects.locations.apps.evaluationRuns.html">evaluationRuns</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes an evaluation run.</p>
83 <p class="toc_element">
84 <code><a href="#export">export(parent, body=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Exports evaluations runs.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of the specified evaluation run.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists all evaluation runs in the given app.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
103 <pre>Deletes an evaluation run.
104
105 Args:
106 name: string, Required. The resource name of the evaluation run to delete. (required)
107 x__xgafv: string, V1 error format.
108 Allowed values
109 1 - v1 error format
110 2 - v2 error format
111
112 Returns:
113 An object of the form:
114
115 { # This resource represents a long-running operation that is the result of a network API call.
116 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
117 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
118 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
119 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
120 {
121 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
122 },
123 ],
124 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
125 },
126 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
127 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
128 },
129 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
130 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
131 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
132 },
133 }</pre>
134 </div>
135
136 <div class="method">
137 <code class="details" id="export">export(parent, body=None, x__xgafv=None)</code>
138 <pre>Exports evaluations runs.
139
140 Args:
141 parent: string, Required. The resource name of the app to export evaluation runs from. Format: `projects/{project}/locations/{location}/apps/{app}` (required)
142 body: object, The request body.
143 The object takes the form of:
144
145 { # Request message for EvaluationService.ExportEvaluationRuns.
146 &quot;exportOptions&quot;: { # Options for exporting CES evaluation resources. # Optional. The export options for the evaluation runs.
147 &quot;exportFormat&quot;: &quot;A String&quot;, # Optional. The format to export the evaluation results in. Defaults to JSON if not specified.
148 &quot;gcsUri&quot;: &quot;A String&quot;, # Optional. The Google Cloud Storage URI to write the exported Evaluation Results to.
149 },
150 &quot;names&quot;: [ # Required. The resource names of the evaluation runs to export.
151 &quot;A String&quot;,
152 ],
153 }
154
155 x__xgafv: string, V1 error format.
156 Allowed values
157 1 - v1 error format
158 2 - v2 error format
159
160 Returns:
161 An object of the form:
162
163 { # This resource represents a long-running operation that is the result of a network API call.
164 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
165 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
166 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
167 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
168 {
169 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
170 },
171 ],
172 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
173 },
174 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
175 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
176 },
177 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
178 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
179 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
180 },
181 }</pre>
182 </div>
183
184 <div class="method">
185 <code class="details" id="get">get(name, x__xgafv=None)</code>
186 <pre>Gets details of the specified evaluation run.
187
188 Args:
189 name: string, Required. The resource name of the evaluation run to retrieve. (required)
190 x__xgafv: string, V1 error format.
191 Allowed values
192 1 - v1 error format
193 2 - v2 error format
194
195 Returns:
196 An object of the form:
197
198 { # An evaluation run represents an all the evaluation results from an evaluation execution.
199 &quot;appVersion&quot;: &quot;A String&quot;, # Output only. The app version to evaluate. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
200 &quot;appVersionDisplayName&quot;: &quot;A String&quot;, # Output only. The display name of the `app_version` that the evaluation ran against.
201 &quot;changelog&quot;: &quot;A String&quot;, # Output only. The changelog of the app version that the evaluation ran against. This is populated if user runs evaluation on latest/draft.
202 &quot;changelogCreateTime&quot;: &quot;A String&quot;, # Output only. The create time of the changelog of the app version that the evaluation ran against. This is populated if user runs evaluation on latest/draft.
203 &quot;config&quot;: { # EvaluationConfig configures settings for running the evaluation. # Output only. The configuration used in the run.
204 &quot;evaluationChannel&quot;: &quot;A String&quot;, # Optional. The channel to evaluate.
205 &quot;inputAudioConfig&quot;: { # InputAudioConfig configures how the CES agent should interpret the incoming audio data. # Optional. Configuration for processing the input audio.
206 &quot;audioEncoding&quot;: &quot;A String&quot;, # Required. The encoding of the input audio data.
207 &quot;noiseSuppressionLevel&quot;: &quot;A String&quot;, # Optional. Whether to enable noise suppression on the input audio. Available values are &quot;low&quot;, &quot;moderate&quot;, &quot;high&quot;, &quot;very_high&quot;.
208 &quot;sampleRateHertz&quot;: 42, # Required. The sample rate (in Hertz) of the input audio data.
209 },
210 &quot;outputAudioConfig&quot;: { # OutputAudioConfig configures how the CES agent should synthesize outgoing audio responses. # Optional. Configuration for generating the output audio.
211 &quot;audioEncoding&quot;: &quot;A String&quot;, # Required. The encoding of the output audio data.
212 &quot;sampleRateHertz&quot;: 42, # Required. The sample rate (in Hertz) of the output audio data.
213 },
214 &quot;toolCallBehaviour&quot;: &quot;A String&quot;, # Optional. Specifies whether the evaluation should use real tool calls or fake tools.
215 },
216 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the evaluation run was created.
217 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-defined display name of the evaluation run. default: &quot; run - &quot;.
218 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Deprecated: Use error_info instead. Errors encountered during execution.
219 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
220 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
221 {
222 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
223 },
224 ],
225 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
226 },
227 &quot;errorInfo&quot;: { # Information about an error encountered during an evaluation execution. # Output only. Error information for the evaluation run.
228 &quot;errorMessage&quot;: &quot;A String&quot;, # Output only. The error message.
229 &quot;errorType&quot;: &quot;A String&quot;, # Output only. The type of error.
230 &quot;sessionId&quot;: &quot;A String&quot;, # Output only. The session ID for the conversation that caused the error.
231 &quot;userFacingErrorMessage&quot;: &quot;A String&quot;, # Output only. The user facing error message.
232 },
233 &quot;evaluationDataset&quot;: &quot;A String&quot;, # Output only. The evaluation dataset that this run is associated with. This field is mutually exclusive with `evaluations`. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationDatasets/{evaluationDataset}`
234 &quot;evaluationResults&quot;: [ # Output only. The evaluation results that are part of this run. Format: `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}/results/{result}`
235 &quot;A String&quot;,
236 ],
237 &quot;evaluationRunSummaries&quot;: { # Output only. Map of evaluation name to EvaluationRunSummary.
238 &quot;a_key&quot;: { # Contains the summary of passed and failed result counts for a specific evaluation in an evaluation run.
239 &quot;errorCount&quot;: 42, # Output only. Number of error results for the associated Evaluation in this run.
240 &quot;failedCount&quot;: 42, # Output only. Number of failed results for the associated Evaluation in this run.
241 &quot;passedCount&quot;: 42, # Output only. Number of passed results for the associated Evaluation in this run.
242 },
243 },
244 &quot;evaluationType&quot;: &quot;A String&quot;, # Output only. The type of the evaluations in this run.
245 &quot;evaluations&quot;: [ # Output only. The evaluations that are part of this run. The list may contain evaluations of either type. This field is mutually exclusive with `evaluation_dataset`. Format: `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}`
246 &quot;A String&quot;,
247 ],
248 &quot;goldenRunMethod&quot;: &quot;A String&quot;, # Output only. The method used to run the evaluation.
249 &quot;initiatedBy&quot;: &quot;A String&quot;, # Output only. The user who initiated the evaluation run.
250 &quot;latencyReport&quot;: { # Latency report for the evaluation run. # Output only. Latency report for the evaluation run.
251 &quot;callbackLatencies&quot;: [ # Output only. Unordered list. Latency metrics for each callback.
252 { # Latency metrics for a single callback.
253 &quot;latencyMetrics&quot;: { # Latency metrics for a component. # Output only. The latency metrics for the callback.
254 &quot;callCount&quot;: 42, # Output only. The number of times the resource was called.
255 &quot;p50Latency&quot;: &quot;A String&quot;, # Output only. The 50th percentile latency.
256 &quot;p90Latency&quot;: &quot;A String&quot;, # Output only. The 90th percentile latency.
257 &quot;p99Latency&quot;: &quot;A String&quot;, # Output only. The 99th percentile latency.
258 },
259 &quot;stage&quot;: &quot;A String&quot;, # Output only. The stage of the callback.
260 },
261 ],
262 &quot;guardrailLatencies&quot;: [ # Output only. Unordered list. Latency metrics for each guardrail.
263 { # Latency metrics for a single guardrail.
264 &quot;guardrail&quot;: &quot;A String&quot;, # Output only. The name of the guardrail. Format: `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}`.
265 &quot;guardrailDisplayName&quot;: &quot;A String&quot;, # Output only. The display name of the guardrail.
266 &quot;latencyMetrics&quot;: { # Latency metrics for a component. # Output only. The latency metrics for the guardrail.
267 &quot;callCount&quot;: 42, # Output only. The number of times the resource was called.
268 &quot;p50Latency&quot;: &quot;A String&quot;, # Output only. The 50th percentile latency.
269 &quot;p90Latency&quot;: &quot;A String&quot;, # Output only. The 90th percentile latency.
270 &quot;p99Latency&quot;: &quot;A String&quot;, # Output only. The 99th percentile latency.
271 },
272 },
273 ],
274 &quot;llmCallLatencies&quot;: [ # Output only. Unordered list. Latency metrics for each LLM call.
275 { # Latency metrics for a single LLM call.
276 &quot;latencyMetrics&quot;: { # Latency metrics for a component. # Output only. The latency metrics for the LLM call.
277 &quot;callCount&quot;: 42, # Output only. The number of times the resource was called.
278 &quot;p50Latency&quot;: &quot;A String&quot;, # Output only. The 50th percentile latency.
279 &quot;p90Latency&quot;: &quot;A String&quot;, # Output only. The 90th percentile latency.
280 &quot;p99Latency&quot;: &quot;A String&quot;, # Output only. The 99th percentile latency.
281 },
282 &quot;model&quot;: &quot;A String&quot;, # Output only. The name of the model.
283 },
284 ],
285 &quot;sessionCount&quot;: 42, # Output only. The total number of sessions considered in the latency report.
286 &quot;toolLatencies&quot;: [ # Output only. Unordered list. Latency metrics for each tool.
287 { # Latency metrics for a single tool.
288 &quot;latencyMetrics&quot;: { # Latency metrics for a component. # Output only. The latency metrics for the tool.
289 &quot;callCount&quot;: 42, # Output only. The number of times the resource was called.
290 &quot;p50Latency&quot;: &quot;A String&quot;, # Output only. The 50th percentile latency.
291 &quot;p90Latency&quot;: &quot;A String&quot;, # Output only. The 90th percentile latency.
292 &quot;p99Latency&quot;: &quot;A String&quot;, # Output only. The 99th percentile latency.
293 },
294 &quot;tool&quot;: &quot;A String&quot;, # Output only. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`.
295 &quot;toolDisplayName&quot;: &quot;A String&quot;, # Output only. The display name of the tool.
296 &quot;toolsetTool&quot;: { # A tool that is created from a toolset. # Output only. The toolset tool identifier.
297 &quot;toolId&quot;: &quot;A String&quot;, # Optional. The tool ID to filter the tools to retrieve the schema for.
298 &quot;toolset&quot;: &quot;A String&quot;, # Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
299 },
300 },
301 ],
302 },
303 &quot;name&quot;: &quot;A String&quot;, # Identifier. The unique identifier of the evaluation run. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluationRun}`
304 &quot;operation&quot;: &quot;A String&quot;, # Output only. The operation that created this evaluation run. Format: `projects/{project}/locations/{location}/operations/{operation}`
305 &quot;optimizationConfig&quot;: { # Configuration for running the optimization step after the evaluation run. # Optional. Configuration for running the optimization step after the evaluation run. If not set, the optimization step will not be run.
306 &quot;assistantSession&quot;: &quot;A String&quot;, # Output only. The assistant session to use for the optimization based on this evaluation run. Format: `projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistantSession}`
307 &quot;errorMessage&quot;: &quot;A String&quot;, # Output only. The error message if the optimization run failed.
308 &quot;generateLossReport&quot;: True or False, # Optional. Whether to generate a loss report.
309 &quot;lossReport&quot;: { # Output only. The generated loss report.
310 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
311 },
312 &quot;reportSummary&quot;: &quot;A String&quot;, # Output only. The summary of the loss report.
313 &quot;shouldSuggestFix&quot;: True or False, # Output only. Whether to suggest a fix for the losses.
314 &quot;status&quot;: &quot;A String&quot;, # Output only. The status of the optimization run.
315 },
316 &quot;personaRunConfigs&quot;: [ # Output only. The configuration to use for the run per persona.
317 { # Configuration for running an evaluation for a specific persona.
318 &quot;persona&quot;: &quot;A String&quot;, # Optional. The persona to use for the evaluation. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationPersonas/{evaluationPersona}`
319 &quot;taskCount&quot;: 42, # Optional. The number of tasks to run for the persona.
320 },
321 ],
322 &quot;progress&quot;: { # The progress of the evaluation run. # Output only. The progress of the evaluation run.
323 &quot;completedCount&quot;: 42, # Output only. Number of evaluation results that finished successfully. (EvaluationResult.execution_state is COMPLETED).
324 &quot;errorCount&quot;: 42, # Output only. Number of evaluation results that failed to execute. (EvaluationResult.execution_state is ERROR).
325 &quot;failedCount&quot;: 42, # Output only. Number of completed evaluation results with an outcome of FAIL. (EvaluationResult.execution_state is COMPLETED and EvaluationResult.evaluation_status is FAIL).
326 &quot;passedCount&quot;: 42, # Output only. Number of completed evaluation results with an outcome of PASS. (EvaluationResult.execution_state is COMPLETED and EvaluationResult.evaluation_status is PASS).
327 &quot;totalCount&quot;: 42, # Output only. Total number of evaluation results in this run.
328 },
329 &quot;runCount&quot;: 42, # Output only. The number of times the evaluations inside the run were run.
330 &quot;scheduledEvaluationRun&quot;: &quot;A String&quot;, # Output only. The scheduled evaluation run resource name that created this evaluation run. This field is only set if the evaluation run was created by a scheduled evaluation run. Format: `projects/{project}/locations/{location}/apps/{app}/scheduledEvaluationRuns/{scheduled_evaluation_run}`
331 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the evaluation run.
332 }</pre>
333 </div>
334
335 <div class="method">
336 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
337 <pre>Lists all evaluation runs in the given app.
338
339 Args:
340 parent: string, Required. The resource name of the app to list evaluation runs from. (required)
341 filter: string, Optional. Filter to be applied when listing the evaluation runs. See https://google.aip.dev/160 for more details.
342 orderBy: string, Optional. Field to sort by. Only &quot;name&quot; and &quot;create_time&quot;, and &quot;update_time&quot; are supported. Time fields are ordered in descending order, and the name field is ordered in ascending order. If not included, &quot;update_time&quot; will be the default. See https://google.aip.dev/132#ordering for more details.
343 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
344 pageToken: string, Optional. The next_page_token value returned from a previous list EvaluationService.ListEvaluationRuns call.
345 x__xgafv: string, V1 error format.
346 Allowed values
347 1 - v1 error format
348 2 - v2 error format
349
350 Returns:
351 An object of the form:
352
353 { # Response message for EvaluationService.ListEvaluationRuns.
354 &quot;evaluationRuns&quot;: [ # The list of evaluation runs.
355 { # An evaluation run represents an all the evaluation results from an evaluation execution.
356 &quot;appVersion&quot;: &quot;A String&quot;, # Output only. The app version to evaluate. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
357 &quot;appVersionDisplayName&quot;: &quot;A String&quot;, # Output only. The display name of the `app_version` that the evaluation ran against.
358 &quot;changelog&quot;: &quot;A String&quot;, # Output only. The changelog of the app version that the evaluation ran against. This is populated if user runs evaluation on latest/draft.
359 &quot;changelogCreateTime&quot;: &quot;A String&quot;, # Output only. The create time of the changelog of the app version that the evaluation ran against. This is populated if user runs evaluation on latest/draft.
360 &quot;config&quot;: { # EvaluationConfig configures settings for running the evaluation. # Output only. The configuration used in the run.
361 &quot;evaluationChannel&quot;: &quot;A String&quot;, # Optional. The channel to evaluate.
362 &quot;inputAudioConfig&quot;: { # InputAudioConfig configures how the CES agent should interpret the incoming audio data. # Optional. Configuration for processing the input audio.
363 &quot;audioEncoding&quot;: &quot;A String&quot;, # Required. The encoding of the input audio data.
364 &quot;noiseSuppressionLevel&quot;: &quot;A String&quot;, # Optional. Whether to enable noise suppression on the input audio. Available values are &quot;low&quot;, &quot;moderate&quot;, &quot;high&quot;, &quot;very_high&quot;.
365 &quot;sampleRateHertz&quot;: 42, # Required. The sample rate (in Hertz) of the input audio data.
366 },
367 &quot;outputAudioConfig&quot;: { # OutputAudioConfig configures how the CES agent should synthesize outgoing audio responses. # Optional. Configuration for generating the output audio.
368 &quot;audioEncoding&quot;: &quot;A String&quot;, # Required. The encoding of the output audio data.
369 &quot;sampleRateHertz&quot;: 42, # Required. The sample rate (in Hertz) of the output audio data.
370 },
371 &quot;toolCallBehaviour&quot;: &quot;A String&quot;, # Optional. Specifies whether the evaluation should use real tool calls or fake tools.
372 },
373 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the evaluation run was created.
374 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-defined display name of the evaluation run. default: &quot; run - &quot;.
375 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Deprecated: Use error_info instead. Errors encountered during execution.
376 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
377 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
378 {
379 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
380 },
381 ],
382 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
383 },
384 &quot;errorInfo&quot;: { # Information about an error encountered during an evaluation execution. # Output only. Error information for the evaluation run.
385 &quot;errorMessage&quot;: &quot;A String&quot;, # Output only. The error message.
386 &quot;errorType&quot;: &quot;A String&quot;, # Output only. The type of error.
387 &quot;sessionId&quot;: &quot;A String&quot;, # Output only. The session ID for the conversation that caused the error.
388 &quot;userFacingErrorMessage&quot;: &quot;A String&quot;, # Output only. The user facing error message.
389 },
390 &quot;evaluationDataset&quot;: &quot;A String&quot;, # Output only. The evaluation dataset that this run is associated with. This field is mutually exclusive with `evaluations`. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationDatasets/{evaluationDataset}`
391 &quot;evaluationResults&quot;: [ # Output only. The evaluation results that are part of this run. Format: `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}/results/{result}`
392 &quot;A String&quot;,
393 ],
394 &quot;evaluationRunSummaries&quot;: { # Output only. Map of evaluation name to EvaluationRunSummary.
395 &quot;a_key&quot;: { # Contains the summary of passed and failed result counts for a specific evaluation in an evaluation run.
396 &quot;errorCount&quot;: 42, # Output only. Number of error results for the associated Evaluation in this run.
397 &quot;failedCount&quot;: 42, # Output only. Number of failed results for the associated Evaluation in this run.
398 &quot;passedCount&quot;: 42, # Output only. Number of passed results for the associated Evaluation in this run.
399 },
400 },
401 &quot;evaluationType&quot;: &quot;A String&quot;, # Output only. The type of the evaluations in this run.
402 &quot;evaluations&quot;: [ # Output only. The evaluations that are part of this run. The list may contain evaluations of either type. This field is mutually exclusive with `evaluation_dataset`. Format: `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}`
403 &quot;A String&quot;,
404 ],
405 &quot;goldenRunMethod&quot;: &quot;A String&quot;, # Output only. The method used to run the evaluation.
406 &quot;initiatedBy&quot;: &quot;A String&quot;, # Output only. The user who initiated the evaluation run.
407 &quot;latencyReport&quot;: { # Latency report for the evaluation run. # Output only. Latency report for the evaluation run.
408 &quot;callbackLatencies&quot;: [ # Output only. Unordered list. Latency metrics for each callback.
409 { # Latency metrics for a single callback.
410 &quot;latencyMetrics&quot;: { # Latency metrics for a component. # Output only. The latency metrics for the callback.
411 &quot;callCount&quot;: 42, # Output only. The number of times the resource was called.
412 &quot;p50Latency&quot;: &quot;A String&quot;, # Output only. The 50th percentile latency.
413 &quot;p90Latency&quot;: &quot;A String&quot;, # Output only. The 90th percentile latency.
414 &quot;p99Latency&quot;: &quot;A String&quot;, # Output only. The 99th percentile latency.
415 },
416 &quot;stage&quot;: &quot;A String&quot;, # Output only. The stage of the callback.
417 },
418 ],
419 &quot;guardrailLatencies&quot;: [ # Output only. Unordered list. Latency metrics for each guardrail.
420 { # Latency metrics for a single guardrail.
421 &quot;guardrail&quot;: &quot;A String&quot;, # Output only. The name of the guardrail. Format: `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}`.
422 &quot;guardrailDisplayName&quot;: &quot;A String&quot;, # Output only. The display name of the guardrail.
423 &quot;latencyMetrics&quot;: { # Latency metrics for a component. # Output only. The latency metrics for the guardrail.
424 &quot;callCount&quot;: 42, # Output only. The number of times the resource was called.
425 &quot;p50Latency&quot;: &quot;A String&quot;, # Output only. The 50th percentile latency.
426 &quot;p90Latency&quot;: &quot;A String&quot;, # Output only. The 90th percentile latency.
427 &quot;p99Latency&quot;: &quot;A String&quot;, # Output only. The 99th percentile latency.
428 },
429 },
430 ],
431 &quot;llmCallLatencies&quot;: [ # Output only. Unordered list. Latency metrics for each LLM call.
432 { # Latency metrics for a single LLM call.
433 &quot;latencyMetrics&quot;: { # Latency metrics for a component. # Output only. The latency metrics for the LLM call.
434 &quot;callCount&quot;: 42, # Output only. The number of times the resource was called.
435 &quot;p50Latency&quot;: &quot;A String&quot;, # Output only. The 50th percentile latency.
436 &quot;p90Latency&quot;: &quot;A String&quot;, # Output only. The 90th percentile latency.
437 &quot;p99Latency&quot;: &quot;A String&quot;, # Output only. The 99th percentile latency.
438 },
439 &quot;model&quot;: &quot;A String&quot;, # Output only. The name of the model.
440 },
441 ],
442 &quot;sessionCount&quot;: 42, # Output only. The total number of sessions considered in the latency report.
443 &quot;toolLatencies&quot;: [ # Output only. Unordered list. Latency metrics for each tool.
444 { # Latency metrics for a single tool.
445 &quot;latencyMetrics&quot;: { # Latency metrics for a component. # Output only. The latency metrics for the tool.
446 &quot;callCount&quot;: 42, # Output only. The number of times the resource was called.
447 &quot;p50Latency&quot;: &quot;A String&quot;, # Output only. The 50th percentile latency.
448 &quot;p90Latency&quot;: &quot;A String&quot;, # Output only. The 90th percentile latency.
449 &quot;p99Latency&quot;: &quot;A String&quot;, # Output only. The 99th percentile latency.
450 },
451 &quot;tool&quot;: &quot;A String&quot;, # Output only. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`.
452 &quot;toolDisplayName&quot;: &quot;A String&quot;, # Output only. The display name of the tool.
453 &quot;toolsetTool&quot;: { # A tool that is created from a toolset. # Output only. The toolset tool identifier.
454 &quot;toolId&quot;: &quot;A String&quot;, # Optional. The tool ID to filter the tools to retrieve the schema for.
455 &quot;toolset&quot;: &quot;A String&quot;, # Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
456 },
457 },
458 ],
459 },
460 &quot;name&quot;: &quot;A String&quot;, # Identifier. The unique identifier of the evaluation run. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluationRun}`
461 &quot;operation&quot;: &quot;A String&quot;, # Output only. The operation that created this evaluation run. Format: `projects/{project}/locations/{location}/operations/{operation}`
462 &quot;optimizationConfig&quot;: { # Configuration for running the optimization step after the evaluation run. # Optional. Configuration for running the optimization step after the evaluation run. If not set, the optimization step will not be run.
463 &quot;assistantSession&quot;: &quot;A String&quot;, # Output only. The assistant session to use for the optimization based on this evaluation run. Format: `projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistantSession}`
464 &quot;errorMessage&quot;: &quot;A String&quot;, # Output only. The error message if the optimization run failed.
465 &quot;generateLossReport&quot;: True or False, # Optional. Whether to generate a loss report.
466 &quot;lossReport&quot;: { # Output only. The generated loss report.
467 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
468 },
469 &quot;reportSummary&quot;: &quot;A String&quot;, # Output only. The summary of the loss report.
470 &quot;shouldSuggestFix&quot;: True or False, # Output only. Whether to suggest a fix for the losses.
471 &quot;status&quot;: &quot;A String&quot;, # Output only. The status of the optimization run.
472 },
473 &quot;personaRunConfigs&quot;: [ # Output only. The configuration to use for the run per persona.
474 { # Configuration for running an evaluation for a specific persona.
475 &quot;persona&quot;: &quot;A String&quot;, # Optional. The persona to use for the evaluation. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationPersonas/{evaluationPersona}`
476 &quot;taskCount&quot;: 42, # Optional. The number of tasks to run for the persona.
477 },
478 ],
479 &quot;progress&quot;: { # The progress of the evaluation run. # Output only. The progress of the evaluation run.
480 &quot;completedCount&quot;: 42, # Output only. Number of evaluation results that finished successfully. (EvaluationResult.execution_state is COMPLETED).
481 &quot;errorCount&quot;: 42, # Output only. Number of evaluation results that failed to execute. (EvaluationResult.execution_state is ERROR).
482 &quot;failedCount&quot;: 42, # Output only. Number of completed evaluation results with an outcome of FAIL. (EvaluationResult.execution_state is COMPLETED and EvaluationResult.evaluation_status is FAIL).
483 &quot;passedCount&quot;: 42, # Output only. Number of completed evaluation results with an outcome of PASS. (EvaluationResult.execution_state is COMPLETED and EvaluationResult.evaluation_status is PASS).
484 &quot;totalCount&quot;: 42, # Output only. Total number of evaluation results in this run.
485 },
486 &quot;runCount&quot;: 42, # Output only. The number of times the evaluations inside the run were run.
487 &quot;scheduledEvaluationRun&quot;: &quot;A String&quot;, # Output only. The scheduled evaluation run resource name that created this evaluation run. This field is only set if the evaluation run was created by a scheduled evaluation run. Format: `projects/{project}/locations/{location}/apps/{app}/scheduledEvaluationRuns/{scheduled_evaluation_run}`
488 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the evaluation run.
489 },
490 ],
491 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as ListEvaluationRunsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
492 }</pre>
493 </div>
494
495 <div class="method">
496 <code class="details" id="list_next">list_next()</code>
497 <pre>Retrieves the next page of results.
498
499 Args:
500 previous_request: The request for the previous page. (required)
501 previous_response: The response from the request for the previous page. (required)
502
503 Returns:
504 A request object that you can call &#x27;execute()&#x27; on to request the next
505 page. Returns None if there are no more items in the collection.
506 </pre>
507 </div>
508
509 </body></html>