eval-studio-client 1.2.0a2__py3-none-any.whl → 1.2.0a3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- eval_studio_client/api/__init__.py +1 -0
- eval_studio_client/api/api/workflow_result_service_api.py +83 -65
- eval_studio_client/api/api/workflow_service_api.py +16 -16
- eval_studio_client/api/docs/PerturbationServiceCreatePerturbationRequest.md +1 -1
- eval_studio_client/api/docs/V1CreatePerturbationResponse.md +1 -1
- eval_studio_client/api/docs/V1GetWorkflowResultReportResponse.md +2 -1
- eval_studio_client/api/docs/V1Info.md +1 -0
- eval_studio_client/api/docs/V1Stats.md +1 -0
- eval_studio_client/api/docs/V1WorkflowResultReportFormat.md +11 -0
- eval_studio_client/api/docs/WorkflowResultServiceApi.md +22 -20
- eval_studio_client/api/docs/WorkflowServiceApi.md +5 -5
- eval_studio_client/api/models/__init__.py +1 -0
- eval_studio_client/api/models/perturbation_service_create_perturbation_request.py +1 -1
- eval_studio_client/api/models/v1_create_perturbation_response.py +1 -1
- eval_studio_client/api/models/v1_get_workflow_result_report_response.py +5 -3
- eval_studio_client/api/models/v1_info.py +4 -2
- eval_studio_client/api/models/v1_stats.py +9 -2
- eval_studio_client/api/models/v1_workflow_node_type.py +1 -0
- eval_studio_client/api/models/v1_workflow_result_report_format.py +37 -0
- eval_studio_client/api/test/test_v1_get_info_response.py +2 -1
- eval_studio_client/api/test/test_v1_get_stats_response.py +2 -1
- eval_studio_client/api/test/test_v1_get_workflow_result_report_response.py +4 -1
- eval_studio_client/api/test/test_v1_info.py +2 -1
- eval_studio_client/api/test/test_v1_stats.py +2 -1
- eval_studio_client/api/test/test_v1_workflow_result_report_format.py +33 -0
- eval_studio_client/gen/openapiv2/eval_studio.swagger.json +176 -138
- eval_studio_client/tests.py +3 -3
- {eval_studio_client-1.2.0a2.dist-info → eval_studio_client-1.2.0a3.dist-info}/METADATA +1 -1
- {eval_studio_client-1.2.0a2.dist-info → eval_studio_client-1.2.0a3.dist-info}/RECORD +30 -27
- {eval_studio_client-1.2.0a2.dist-info → eval_studio_client-1.2.0a3.dist-info}/WHEEL +0 -0
|
@@ -283,6 +283,7 @@ from eval_studio_client.api.models.v1_workflow_node_status import V1WorkflowNode
|
|
|
283
283
|
from eval_studio_client.api.models.v1_workflow_node_type import V1WorkflowNodeType
|
|
284
284
|
from eval_studio_client.api.models.v1_workflow_node_view import V1WorkflowNodeView
|
|
285
285
|
from eval_studio_client.api.models.v1_workflow_result_artifact_type import V1WorkflowResultArtifactType
|
|
286
|
+
from eval_studio_client.api.models.v1_workflow_result_report_format import V1WorkflowResultReportFormat
|
|
286
287
|
from eval_studio_client.api.models.v1_workflow_type import V1WorkflowType
|
|
287
288
|
from eval_studio_client.api.models.workflow_service_clone_workflow_request import WorkflowServiceCloneWorkflowRequest
|
|
288
289
|
from eval_studio_client.api.models.workflow_service_revoke_workflow_access_request import WorkflowServiceRevokeWorkflowAccessRequest
|
|
@@ -16,7 +16,8 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
|
-
from pydantic import Field, field_validator
|
|
19
|
+
from pydantic import Field, StrictStr, field_validator
|
|
20
|
+
from typing import Optional
|
|
20
21
|
from typing_extensions import Annotated
|
|
21
22
|
from eval_studio_client.api.models.v1_get_workflow_result_corpus_patch_response import V1GetWorkflowResultCorpusPatchResponse
|
|
22
23
|
from eval_studio_client.api.models.v1_get_workflow_result_report_response import V1GetWorkflowResultReportResponse
|
|
@@ -44,7 +45,7 @@ class WorkflowResultServiceApi:
|
|
|
44
45
|
@validate_call
|
|
45
46
|
def workflow_result_service_get_workflow_result_corpus_patch(
|
|
46
47
|
self,
|
|
47
|
-
|
|
48
|
+
name: Annotated[str, Field(strict=True, description="Required. The resource name of the workflow for which to generate the corpus patch.")],
|
|
48
49
|
_request_timeout: Union[
|
|
49
50
|
None,
|
|
50
51
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -61,8 +62,8 @@ class WorkflowResultServiceApi:
|
|
|
61
62
|
"""GetWorkflowResultCorpusPatch retrieves the corpus patch of a Workflow result. The corpus patch is a HTML document that contains questions and answers identified as problematic in HEC and RT IV workflow steps.
|
|
62
63
|
|
|
63
64
|
|
|
64
|
-
:param
|
|
65
|
-
:type
|
|
65
|
+
:param name: Required. The resource name of the workflow for which to generate the corpus patch. (required)
|
|
66
|
+
:type name: str
|
|
66
67
|
:param _request_timeout: timeout setting for this request. If one
|
|
67
68
|
number provided, it will be total request
|
|
68
69
|
timeout. It can also be a pair (tuple) of
|
|
@@ -86,7 +87,7 @@ class WorkflowResultServiceApi:
|
|
|
86
87
|
""" # noqa: E501
|
|
87
88
|
|
|
88
89
|
_param = self._workflow_result_service_get_workflow_result_corpus_patch_serialize(
|
|
89
|
-
|
|
90
|
+
name=name,
|
|
90
91
|
_request_auth=_request_auth,
|
|
91
92
|
_content_type=_content_type,
|
|
92
93
|
_headers=_headers,
|
|
@@ -110,7 +111,7 @@ class WorkflowResultServiceApi:
|
|
|
110
111
|
@validate_call
|
|
111
112
|
def workflow_result_service_get_workflow_result_corpus_patch_with_http_info(
|
|
112
113
|
self,
|
|
113
|
-
|
|
114
|
+
name: Annotated[str, Field(strict=True, description="Required. The resource name of the workflow for which to generate the corpus patch.")],
|
|
114
115
|
_request_timeout: Union[
|
|
115
116
|
None,
|
|
116
117
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -127,8 +128,8 @@ class WorkflowResultServiceApi:
|
|
|
127
128
|
"""GetWorkflowResultCorpusPatch retrieves the corpus patch of a Workflow result. The corpus patch is a HTML document that contains questions and answers identified as problematic in HEC and RT IV workflow steps.
|
|
128
129
|
|
|
129
130
|
|
|
130
|
-
:param
|
|
131
|
-
:type
|
|
131
|
+
:param name: Required. The resource name of the workflow for which to generate the corpus patch. (required)
|
|
132
|
+
:type name: str
|
|
132
133
|
:param _request_timeout: timeout setting for this request. If one
|
|
133
134
|
number provided, it will be total request
|
|
134
135
|
timeout. It can also be a pair (tuple) of
|
|
@@ -152,7 +153,7 @@ class WorkflowResultServiceApi:
|
|
|
152
153
|
""" # noqa: E501
|
|
153
154
|
|
|
154
155
|
_param = self._workflow_result_service_get_workflow_result_corpus_patch_serialize(
|
|
155
|
-
|
|
156
|
+
name=name,
|
|
156
157
|
_request_auth=_request_auth,
|
|
157
158
|
_content_type=_content_type,
|
|
158
159
|
_headers=_headers,
|
|
@@ -176,7 +177,7 @@ class WorkflowResultServiceApi:
|
|
|
176
177
|
@validate_call
|
|
177
178
|
def workflow_result_service_get_workflow_result_corpus_patch_without_preload_content(
|
|
178
179
|
self,
|
|
179
|
-
|
|
180
|
+
name: Annotated[str, Field(strict=True, description="Required. The resource name of the workflow for which to generate the corpus patch.")],
|
|
180
181
|
_request_timeout: Union[
|
|
181
182
|
None,
|
|
182
183
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -193,8 +194,8 @@ class WorkflowResultServiceApi:
|
|
|
193
194
|
"""GetWorkflowResultCorpusPatch retrieves the corpus patch of a Workflow result. The corpus patch is a HTML document that contains questions and answers identified as problematic in HEC and RT IV workflow steps.
|
|
194
195
|
|
|
195
196
|
|
|
196
|
-
:param
|
|
197
|
-
:type
|
|
197
|
+
:param name: Required. The resource name of the workflow for which to generate the corpus patch. (required)
|
|
198
|
+
:type name: str
|
|
198
199
|
:param _request_timeout: timeout setting for this request. If one
|
|
199
200
|
number provided, it will be total request
|
|
200
201
|
timeout. It can also be a pair (tuple) of
|
|
@@ -218,7 +219,7 @@ class WorkflowResultServiceApi:
|
|
|
218
219
|
""" # noqa: E501
|
|
219
220
|
|
|
220
221
|
_param = self._workflow_result_service_get_workflow_result_corpus_patch_serialize(
|
|
221
|
-
|
|
222
|
+
name=name,
|
|
222
223
|
_request_auth=_request_auth,
|
|
223
224
|
_content_type=_content_type,
|
|
224
225
|
_headers=_headers,
|
|
@@ -237,7 +238,7 @@ class WorkflowResultServiceApi:
|
|
|
237
238
|
|
|
238
239
|
def _workflow_result_service_get_workflow_result_corpus_patch_serialize(
|
|
239
240
|
self,
|
|
240
|
-
|
|
241
|
+
name,
|
|
241
242
|
_request_auth,
|
|
242
243
|
_content_type,
|
|
243
244
|
_headers,
|
|
@@ -257,8 +258,8 @@ class WorkflowResultServiceApi:
|
|
|
257
258
|
_body_params: Optional[bytes] = None
|
|
258
259
|
|
|
259
260
|
# process the path parameters
|
|
260
|
-
if
|
|
261
|
-
_path_params['
|
|
261
|
+
if name is not None:
|
|
262
|
+
_path_params['name'] = name
|
|
262
263
|
# process the query parameters
|
|
263
264
|
# process the header parameters
|
|
264
265
|
# process the form parameters
|
|
@@ -279,7 +280,7 @@ class WorkflowResultServiceApi:
|
|
|
279
280
|
|
|
280
281
|
return self.api_client.param_serialize(
|
|
281
282
|
method='GET',
|
|
282
|
-
resource_path='/v1/{
|
|
283
|
+
resource_path='/v1/{name}:getResultsCorpusPatch',
|
|
283
284
|
path_params=_path_params,
|
|
284
285
|
query_params=_query_params,
|
|
285
286
|
header_params=_header_params,
|
|
@@ -298,7 +299,8 @@ class WorkflowResultServiceApi:
|
|
|
298
299
|
@validate_call
|
|
299
300
|
def workflow_result_service_get_workflow_result_report(
|
|
300
301
|
self,
|
|
301
|
-
|
|
302
|
+
name: Annotated[str, Field(strict=True, description="Required. The resource name of the workflow for which to retrieve the report.")],
|
|
303
|
+
format: Annotated[Optional[StrictStr], Field(description="Required. The format of the report to retrieve.")] = None,
|
|
302
304
|
_request_timeout: Union[
|
|
303
305
|
None,
|
|
304
306
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -315,8 +317,10 @@ class WorkflowResultServiceApi:
|
|
|
315
317
|
"""GetWorkflowResultReport retrieves the report of a Workflow result. The report is a detailed HTML document summarizing the Workflow's execution and findings.
|
|
316
318
|
|
|
317
319
|
|
|
318
|
-
:param
|
|
319
|
-
:type
|
|
320
|
+
:param name: Required. The resource name of the workflow for which to retrieve the report. (required)
|
|
321
|
+
:type name: str
|
|
322
|
+
:param format: Required. The format of the report to retrieve.
|
|
323
|
+
:type format: str
|
|
320
324
|
:param _request_timeout: timeout setting for this request. If one
|
|
321
325
|
number provided, it will be total request
|
|
322
326
|
timeout. It can also be a pair (tuple) of
|
|
@@ -340,7 +344,8 @@ class WorkflowResultServiceApi:
|
|
|
340
344
|
""" # noqa: E501
|
|
341
345
|
|
|
342
346
|
_param = self._workflow_result_service_get_workflow_result_report_serialize(
|
|
343
|
-
|
|
347
|
+
name=name,
|
|
348
|
+
format=format,
|
|
344
349
|
_request_auth=_request_auth,
|
|
345
350
|
_content_type=_content_type,
|
|
346
351
|
_headers=_headers,
|
|
@@ -364,7 +369,8 @@ class WorkflowResultServiceApi:
|
|
|
364
369
|
@validate_call
|
|
365
370
|
def workflow_result_service_get_workflow_result_report_with_http_info(
|
|
366
371
|
self,
|
|
367
|
-
|
|
372
|
+
name: Annotated[str, Field(strict=True, description="Required. The resource name of the workflow for which to retrieve the report.")],
|
|
373
|
+
format: Annotated[Optional[StrictStr], Field(description="Required. The format of the report to retrieve.")] = None,
|
|
368
374
|
_request_timeout: Union[
|
|
369
375
|
None,
|
|
370
376
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -381,8 +387,10 @@ class WorkflowResultServiceApi:
|
|
|
381
387
|
"""GetWorkflowResultReport retrieves the report of a Workflow result. The report is a detailed HTML document summarizing the Workflow's execution and findings.
|
|
382
388
|
|
|
383
389
|
|
|
384
|
-
:param
|
|
385
|
-
:type
|
|
390
|
+
:param name: Required. The resource name of the workflow for which to retrieve the report. (required)
|
|
391
|
+
:type name: str
|
|
392
|
+
:param format: Required. The format of the report to retrieve.
|
|
393
|
+
:type format: str
|
|
386
394
|
:param _request_timeout: timeout setting for this request. If one
|
|
387
395
|
number provided, it will be total request
|
|
388
396
|
timeout. It can also be a pair (tuple) of
|
|
@@ -406,7 +414,8 @@ class WorkflowResultServiceApi:
|
|
|
406
414
|
""" # noqa: E501
|
|
407
415
|
|
|
408
416
|
_param = self._workflow_result_service_get_workflow_result_report_serialize(
|
|
409
|
-
|
|
417
|
+
name=name,
|
|
418
|
+
format=format,
|
|
410
419
|
_request_auth=_request_auth,
|
|
411
420
|
_content_type=_content_type,
|
|
412
421
|
_headers=_headers,
|
|
@@ -430,7 +439,8 @@ class WorkflowResultServiceApi:
|
|
|
430
439
|
@validate_call
|
|
431
440
|
def workflow_result_service_get_workflow_result_report_without_preload_content(
|
|
432
441
|
self,
|
|
433
|
-
|
|
442
|
+
name: Annotated[str, Field(strict=True, description="Required. The resource name of the workflow for which to retrieve the report.")],
|
|
443
|
+
format: Annotated[Optional[StrictStr], Field(description="Required. The format of the report to retrieve.")] = None,
|
|
434
444
|
_request_timeout: Union[
|
|
435
445
|
None,
|
|
436
446
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -447,8 +457,10 @@ class WorkflowResultServiceApi:
|
|
|
447
457
|
"""GetWorkflowResultReport retrieves the report of a Workflow result. The report is a detailed HTML document summarizing the Workflow's execution and findings.
|
|
448
458
|
|
|
449
459
|
|
|
450
|
-
:param
|
|
451
|
-
:type
|
|
460
|
+
:param name: Required. The resource name of the workflow for which to retrieve the report. (required)
|
|
461
|
+
:type name: str
|
|
462
|
+
:param format: Required. The format of the report to retrieve.
|
|
463
|
+
:type format: str
|
|
452
464
|
:param _request_timeout: timeout setting for this request. If one
|
|
453
465
|
number provided, it will be total request
|
|
454
466
|
timeout. It can also be a pair (tuple) of
|
|
@@ -472,7 +484,8 @@ class WorkflowResultServiceApi:
|
|
|
472
484
|
""" # noqa: E501
|
|
473
485
|
|
|
474
486
|
_param = self._workflow_result_service_get_workflow_result_report_serialize(
|
|
475
|
-
|
|
487
|
+
name=name,
|
|
488
|
+
format=format,
|
|
476
489
|
_request_auth=_request_auth,
|
|
477
490
|
_content_type=_content_type,
|
|
478
491
|
_headers=_headers,
|
|
@@ -491,7 +504,8 @@ class WorkflowResultServiceApi:
|
|
|
491
504
|
|
|
492
505
|
def _workflow_result_service_get_workflow_result_report_serialize(
|
|
493
506
|
self,
|
|
494
|
-
|
|
507
|
+
name,
|
|
508
|
+
format,
|
|
495
509
|
_request_auth,
|
|
496
510
|
_content_type,
|
|
497
511
|
_headers,
|
|
@@ -511,9 +525,13 @@ class WorkflowResultServiceApi:
|
|
|
511
525
|
_body_params: Optional[bytes] = None
|
|
512
526
|
|
|
513
527
|
# process the path parameters
|
|
514
|
-
if
|
|
515
|
-
_path_params['
|
|
528
|
+
if name is not None:
|
|
529
|
+
_path_params['name'] = name
|
|
516
530
|
# process the query parameters
|
|
531
|
+
if format is not None:
|
|
532
|
+
|
|
533
|
+
_query_params.append(('format', format))
|
|
534
|
+
|
|
517
535
|
# process the header parameters
|
|
518
536
|
# process the form parameters
|
|
519
537
|
# process the body parameter
|
|
@@ -533,7 +551,7 @@ class WorkflowResultServiceApi:
|
|
|
533
551
|
|
|
534
552
|
return self.api_client.param_serialize(
|
|
535
553
|
method='GET',
|
|
536
|
-
resource_path='/v1/{
|
|
554
|
+
resource_path='/v1/{name}:getResultsReport',
|
|
537
555
|
path_params=_path_params,
|
|
538
556
|
query_params=_query_params,
|
|
539
557
|
header_params=_header_params,
|
|
@@ -552,7 +570,7 @@ class WorkflowResultServiceApi:
|
|
|
552
570
|
@validate_call
|
|
553
571
|
def workflow_result_service_get_workflow_result_summary(
|
|
554
572
|
self,
|
|
555
|
-
|
|
573
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the Workflow for which to retrieve the 3x3x3 summary.")],
|
|
556
574
|
_request_timeout: Union[
|
|
557
575
|
None,
|
|
558
576
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -569,8 +587,8 @@ class WorkflowResultServiceApi:
|
|
|
569
587
|
"""GetWorkflowResultSummary retrieves the 3x3x3 summary of a Workflow result. The summary includes 3 summary sentences, 3 bullets with most serious highlights, and 3 recommended actions sentences.
|
|
570
588
|
|
|
571
589
|
|
|
572
|
-
:param
|
|
573
|
-
:type
|
|
590
|
+
:param name: Required. The name of the Workflow for which to retrieve the 3x3x3 summary. (required)
|
|
591
|
+
:type name: str
|
|
574
592
|
:param _request_timeout: timeout setting for this request. If one
|
|
575
593
|
number provided, it will be total request
|
|
576
594
|
timeout. It can also be a pair (tuple) of
|
|
@@ -594,7 +612,7 @@ class WorkflowResultServiceApi:
|
|
|
594
612
|
""" # noqa: E501
|
|
595
613
|
|
|
596
614
|
_param = self._workflow_result_service_get_workflow_result_summary_serialize(
|
|
597
|
-
|
|
615
|
+
name=name,
|
|
598
616
|
_request_auth=_request_auth,
|
|
599
617
|
_content_type=_content_type,
|
|
600
618
|
_headers=_headers,
|
|
@@ -618,7 +636,7 @@ class WorkflowResultServiceApi:
|
|
|
618
636
|
@validate_call
|
|
619
637
|
def workflow_result_service_get_workflow_result_summary_with_http_info(
|
|
620
638
|
self,
|
|
621
|
-
|
|
639
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the Workflow for which to retrieve the 3x3x3 summary.")],
|
|
622
640
|
_request_timeout: Union[
|
|
623
641
|
None,
|
|
624
642
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -635,8 +653,8 @@ class WorkflowResultServiceApi:
|
|
|
635
653
|
"""GetWorkflowResultSummary retrieves the 3x3x3 summary of a Workflow result. The summary includes 3 summary sentences, 3 bullets with most serious highlights, and 3 recommended actions sentences.
|
|
636
654
|
|
|
637
655
|
|
|
638
|
-
:param
|
|
639
|
-
:type
|
|
656
|
+
:param name: Required. The name of the Workflow for which to retrieve the 3x3x3 summary. (required)
|
|
657
|
+
:type name: str
|
|
640
658
|
:param _request_timeout: timeout setting for this request. If one
|
|
641
659
|
number provided, it will be total request
|
|
642
660
|
timeout. It can also be a pair (tuple) of
|
|
@@ -660,7 +678,7 @@ class WorkflowResultServiceApi:
|
|
|
660
678
|
""" # noqa: E501
|
|
661
679
|
|
|
662
680
|
_param = self._workflow_result_service_get_workflow_result_summary_serialize(
|
|
663
|
-
|
|
681
|
+
name=name,
|
|
664
682
|
_request_auth=_request_auth,
|
|
665
683
|
_content_type=_content_type,
|
|
666
684
|
_headers=_headers,
|
|
@@ -684,7 +702,7 @@ class WorkflowResultServiceApi:
|
|
|
684
702
|
@validate_call
|
|
685
703
|
def workflow_result_service_get_workflow_result_summary_without_preload_content(
|
|
686
704
|
self,
|
|
687
|
-
|
|
705
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the Workflow for which to retrieve the 3x3x3 summary.")],
|
|
688
706
|
_request_timeout: Union[
|
|
689
707
|
None,
|
|
690
708
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -701,8 +719,8 @@ class WorkflowResultServiceApi:
|
|
|
701
719
|
"""GetWorkflowResultSummary retrieves the 3x3x3 summary of a Workflow result. The summary includes 3 summary sentences, 3 bullets with most serious highlights, and 3 recommended actions sentences.
|
|
702
720
|
|
|
703
721
|
|
|
704
|
-
:param
|
|
705
|
-
:type
|
|
722
|
+
:param name: Required. The name of the Workflow for which to retrieve the 3x3x3 summary. (required)
|
|
723
|
+
:type name: str
|
|
706
724
|
:param _request_timeout: timeout setting for this request. If one
|
|
707
725
|
number provided, it will be total request
|
|
708
726
|
timeout. It can also be a pair (tuple) of
|
|
@@ -726,7 +744,7 @@ class WorkflowResultServiceApi:
|
|
|
726
744
|
""" # noqa: E501
|
|
727
745
|
|
|
728
746
|
_param = self._workflow_result_service_get_workflow_result_summary_serialize(
|
|
729
|
-
|
|
747
|
+
name=name,
|
|
730
748
|
_request_auth=_request_auth,
|
|
731
749
|
_content_type=_content_type,
|
|
732
750
|
_headers=_headers,
|
|
@@ -745,7 +763,7 @@ class WorkflowResultServiceApi:
|
|
|
745
763
|
|
|
746
764
|
def _workflow_result_service_get_workflow_result_summary_serialize(
|
|
747
765
|
self,
|
|
748
|
-
|
|
766
|
+
name,
|
|
749
767
|
_request_auth,
|
|
750
768
|
_content_type,
|
|
751
769
|
_headers,
|
|
@@ -765,8 +783,8 @@ class WorkflowResultServiceApi:
|
|
|
765
783
|
_body_params: Optional[bytes] = None
|
|
766
784
|
|
|
767
785
|
# process the path parameters
|
|
768
|
-
if
|
|
769
|
-
_path_params['
|
|
786
|
+
if name is not None:
|
|
787
|
+
_path_params['name'] = name
|
|
770
788
|
# process the query parameters
|
|
771
789
|
# process the header parameters
|
|
772
790
|
# process the form parameters
|
|
@@ -787,7 +805,7 @@ class WorkflowResultServiceApi:
|
|
|
787
805
|
|
|
788
806
|
return self.api_client.param_serialize(
|
|
789
807
|
method='GET',
|
|
790
|
-
resource_path='/v1/{
|
|
808
|
+
resource_path='/v1/{name}:getResultsSummary',
|
|
791
809
|
path_params=_path_params,
|
|
792
810
|
query_params=_query_params,
|
|
793
811
|
header_params=_header_params,
|
|
@@ -806,7 +824,7 @@ class WorkflowResultServiceApi:
|
|
|
806
824
|
@validate_call
|
|
807
825
|
def workflow_result_service_get_workflow_result_system_prompt_patch(
|
|
808
826
|
self,
|
|
809
|
-
|
|
827
|
+
name: Annotated[str, Field(strict=True, description="Required. The resource name of the workflow for which to generate the system prompt patch.")],
|
|
810
828
|
_request_timeout: Union[
|
|
811
829
|
None,
|
|
812
830
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -823,8 +841,8 @@ class WorkflowResultServiceApi:
|
|
|
823
841
|
"""GetWorkflowResultSystemPromptPatch retrieves the system prompt patch of a Workflow result.
|
|
824
842
|
|
|
825
843
|
|
|
826
|
-
:param
|
|
827
|
-
:type
|
|
844
|
+
:param name: Required. The resource name of the workflow for which to generate the system prompt patch. (required)
|
|
845
|
+
:type name: str
|
|
828
846
|
:param _request_timeout: timeout setting for this request. If one
|
|
829
847
|
number provided, it will be total request
|
|
830
848
|
timeout. It can also be a pair (tuple) of
|
|
@@ -848,7 +866,7 @@ class WorkflowResultServiceApi:
|
|
|
848
866
|
""" # noqa: E501
|
|
849
867
|
|
|
850
868
|
_param = self._workflow_result_service_get_workflow_result_system_prompt_patch_serialize(
|
|
851
|
-
|
|
869
|
+
name=name,
|
|
852
870
|
_request_auth=_request_auth,
|
|
853
871
|
_content_type=_content_type,
|
|
854
872
|
_headers=_headers,
|
|
@@ -872,7 +890,7 @@ class WorkflowResultServiceApi:
|
|
|
872
890
|
@validate_call
|
|
873
891
|
def workflow_result_service_get_workflow_result_system_prompt_patch_with_http_info(
|
|
874
892
|
self,
|
|
875
|
-
|
|
893
|
+
name: Annotated[str, Field(strict=True, description="Required. The resource name of the workflow for which to generate the system prompt patch.")],
|
|
876
894
|
_request_timeout: Union[
|
|
877
895
|
None,
|
|
878
896
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -889,8 +907,8 @@ class WorkflowResultServiceApi:
|
|
|
889
907
|
"""GetWorkflowResultSystemPromptPatch retrieves the system prompt patch of a Workflow result.
|
|
890
908
|
|
|
891
909
|
|
|
892
|
-
:param
|
|
893
|
-
:type
|
|
910
|
+
:param name: Required. The resource name of the workflow for which to generate the system prompt patch. (required)
|
|
911
|
+
:type name: str
|
|
894
912
|
:param _request_timeout: timeout setting for this request. If one
|
|
895
913
|
number provided, it will be total request
|
|
896
914
|
timeout. It can also be a pair (tuple) of
|
|
@@ -914,7 +932,7 @@ class WorkflowResultServiceApi:
|
|
|
914
932
|
""" # noqa: E501
|
|
915
933
|
|
|
916
934
|
_param = self._workflow_result_service_get_workflow_result_system_prompt_patch_serialize(
|
|
917
|
-
|
|
935
|
+
name=name,
|
|
918
936
|
_request_auth=_request_auth,
|
|
919
937
|
_content_type=_content_type,
|
|
920
938
|
_headers=_headers,
|
|
@@ -938,7 +956,7 @@ class WorkflowResultServiceApi:
|
|
|
938
956
|
@validate_call
|
|
939
957
|
def workflow_result_service_get_workflow_result_system_prompt_patch_without_preload_content(
|
|
940
958
|
self,
|
|
941
|
-
|
|
959
|
+
name: Annotated[str, Field(strict=True, description="Required. The resource name of the workflow for which to generate the system prompt patch.")],
|
|
942
960
|
_request_timeout: Union[
|
|
943
961
|
None,
|
|
944
962
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -955,8 +973,8 @@ class WorkflowResultServiceApi:
|
|
|
955
973
|
"""GetWorkflowResultSystemPromptPatch retrieves the system prompt patch of a Workflow result.
|
|
956
974
|
|
|
957
975
|
|
|
958
|
-
:param
|
|
959
|
-
:type
|
|
976
|
+
:param name: Required. The resource name of the workflow for which to generate the system prompt patch. (required)
|
|
977
|
+
:type name: str
|
|
960
978
|
:param _request_timeout: timeout setting for this request. If one
|
|
961
979
|
number provided, it will be total request
|
|
962
980
|
timeout. It can also be a pair (tuple) of
|
|
@@ -980,7 +998,7 @@ class WorkflowResultServiceApi:
|
|
|
980
998
|
""" # noqa: E501
|
|
981
999
|
|
|
982
1000
|
_param = self._workflow_result_service_get_workflow_result_system_prompt_patch_serialize(
|
|
983
|
-
|
|
1001
|
+
name=name,
|
|
984
1002
|
_request_auth=_request_auth,
|
|
985
1003
|
_content_type=_content_type,
|
|
986
1004
|
_headers=_headers,
|
|
@@ -999,7 +1017,7 @@ class WorkflowResultServiceApi:
|
|
|
999
1017
|
|
|
1000
1018
|
def _workflow_result_service_get_workflow_result_system_prompt_patch_serialize(
|
|
1001
1019
|
self,
|
|
1002
|
-
|
|
1020
|
+
name,
|
|
1003
1021
|
_request_auth,
|
|
1004
1022
|
_content_type,
|
|
1005
1023
|
_headers,
|
|
@@ -1019,8 +1037,8 @@ class WorkflowResultServiceApi:
|
|
|
1019
1037
|
_body_params: Optional[bytes] = None
|
|
1020
1038
|
|
|
1021
1039
|
# process the path parameters
|
|
1022
|
-
if
|
|
1023
|
-
_path_params['
|
|
1040
|
+
if name is not None:
|
|
1041
|
+
_path_params['name'] = name
|
|
1024
1042
|
# process the query parameters
|
|
1025
1043
|
# process the header parameters
|
|
1026
1044
|
# process the form parameters
|
|
@@ -1041,7 +1059,7 @@ class WorkflowResultServiceApi:
|
|
|
1041
1059
|
|
|
1042
1060
|
return self.api_client.param_serialize(
|
|
1043
1061
|
method='GET',
|
|
1044
|
-
resource_path='/v1/{
|
|
1062
|
+
resource_path='/v1/{name}:getResultsSystemPromptPatch',
|
|
1045
1063
|
path_params=_path_params,
|
|
1046
1064
|
query_params=_query_params,
|
|
1047
1065
|
header_params=_header_params,
|
|
@@ -1639,7 +1639,7 @@ class WorkflowServiceApi:
|
|
|
1639
1639
|
@validate_call
|
|
1640
1640
|
def workflow_service_get_workflow(
|
|
1641
1641
|
self,
|
|
1642
|
-
|
|
1642
|
+
name_12: Annotated[str, Field(strict=True, description="Required. The name of the Workflow to retrieve.")],
|
|
1643
1643
|
_request_timeout: Union[
|
|
1644
1644
|
None,
|
|
1645
1645
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1656,8 +1656,8 @@ class WorkflowServiceApi:
|
|
|
1656
1656
|
"""GetWorkflow retrieves a Workflow by name. Deleted Workflow is returned without error, it has a delete_time and deleter fields set.
|
|
1657
1657
|
|
|
1658
1658
|
|
|
1659
|
-
:param
|
|
1660
|
-
:type
|
|
1659
|
+
:param name_12: Required. The name of the Workflow to retrieve. (required)
|
|
1660
|
+
:type name_12: str
|
|
1661
1661
|
:param _request_timeout: timeout setting for this request. If one
|
|
1662
1662
|
number provided, it will be total request
|
|
1663
1663
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1681,7 +1681,7 @@ class WorkflowServiceApi:
|
|
|
1681
1681
|
""" # noqa: E501
|
|
1682
1682
|
|
|
1683
1683
|
_param = self._workflow_service_get_workflow_serialize(
|
|
1684
|
-
|
|
1684
|
+
name_12=name_12,
|
|
1685
1685
|
_request_auth=_request_auth,
|
|
1686
1686
|
_content_type=_content_type,
|
|
1687
1687
|
_headers=_headers,
|
|
@@ -1705,7 +1705,7 @@ class WorkflowServiceApi:
|
|
|
1705
1705
|
@validate_call
|
|
1706
1706
|
def workflow_service_get_workflow_with_http_info(
|
|
1707
1707
|
self,
|
|
1708
|
-
|
|
1708
|
+
name_12: Annotated[str, Field(strict=True, description="Required. The name of the Workflow to retrieve.")],
|
|
1709
1709
|
_request_timeout: Union[
|
|
1710
1710
|
None,
|
|
1711
1711
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1722,8 +1722,8 @@ class WorkflowServiceApi:
|
|
|
1722
1722
|
"""GetWorkflow retrieves a Workflow by name. Deleted Workflow is returned without error, it has a delete_time and deleter fields set.
|
|
1723
1723
|
|
|
1724
1724
|
|
|
1725
|
-
:param
|
|
1726
|
-
:type
|
|
1725
|
+
:param name_12: Required. The name of the Workflow to retrieve. (required)
|
|
1726
|
+
:type name_12: str
|
|
1727
1727
|
:param _request_timeout: timeout setting for this request. If one
|
|
1728
1728
|
number provided, it will be total request
|
|
1729
1729
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1747,7 +1747,7 @@ class WorkflowServiceApi:
|
|
|
1747
1747
|
""" # noqa: E501
|
|
1748
1748
|
|
|
1749
1749
|
_param = self._workflow_service_get_workflow_serialize(
|
|
1750
|
-
|
|
1750
|
+
name_12=name_12,
|
|
1751
1751
|
_request_auth=_request_auth,
|
|
1752
1752
|
_content_type=_content_type,
|
|
1753
1753
|
_headers=_headers,
|
|
@@ -1771,7 +1771,7 @@ class WorkflowServiceApi:
|
|
|
1771
1771
|
@validate_call
|
|
1772
1772
|
def workflow_service_get_workflow_without_preload_content(
|
|
1773
1773
|
self,
|
|
1774
|
-
|
|
1774
|
+
name_12: Annotated[str, Field(strict=True, description="Required. The name of the Workflow to retrieve.")],
|
|
1775
1775
|
_request_timeout: Union[
|
|
1776
1776
|
None,
|
|
1777
1777
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1788,8 +1788,8 @@ class WorkflowServiceApi:
|
|
|
1788
1788
|
"""GetWorkflow retrieves a Workflow by name. Deleted Workflow is returned without error, it has a delete_time and deleter fields set.
|
|
1789
1789
|
|
|
1790
1790
|
|
|
1791
|
-
:param
|
|
1792
|
-
:type
|
|
1791
|
+
:param name_12: Required. The name of the Workflow to retrieve. (required)
|
|
1792
|
+
:type name_12: str
|
|
1793
1793
|
:param _request_timeout: timeout setting for this request. If one
|
|
1794
1794
|
number provided, it will be total request
|
|
1795
1795
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1813,7 +1813,7 @@ class WorkflowServiceApi:
|
|
|
1813
1813
|
""" # noqa: E501
|
|
1814
1814
|
|
|
1815
1815
|
_param = self._workflow_service_get_workflow_serialize(
|
|
1816
|
-
|
|
1816
|
+
name_12=name_12,
|
|
1817
1817
|
_request_auth=_request_auth,
|
|
1818
1818
|
_content_type=_content_type,
|
|
1819
1819
|
_headers=_headers,
|
|
@@ -1832,7 +1832,7 @@ class WorkflowServiceApi:
|
|
|
1832
1832
|
|
|
1833
1833
|
def _workflow_service_get_workflow_serialize(
|
|
1834
1834
|
self,
|
|
1835
|
-
|
|
1835
|
+
name_12,
|
|
1836
1836
|
_request_auth,
|
|
1837
1837
|
_content_type,
|
|
1838
1838
|
_headers,
|
|
@@ -1852,8 +1852,8 @@ class WorkflowServiceApi:
|
|
|
1852
1852
|
_body_params: Optional[bytes] = None
|
|
1853
1853
|
|
|
1854
1854
|
# process the path parameters
|
|
1855
|
-
if
|
|
1856
|
-
_path_params['
|
|
1855
|
+
if name_12 is not None:
|
|
1856
|
+
_path_params['name_12'] = name_12
|
|
1857
1857
|
# process the query parameters
|
|
1858
1858
|
# process the header parameters
|
|
1859
1859
|
# process the form parameters
|
|
@@ -1874,7 +1874,7 @@ class WorkflowServiceApi:
|
|
|
1874
1874
|
|
|
1875
1875
|
return self.api_client.param_serialize(
|
|
1876
1876
|
method='GET',
|
|
1877
|
-
resource_path='/v1/{
|
|
1877
|
+
resource_path='/v1/{name_12}',
|
|
1878
1878
|
path_params=_path_params,
|
|
1879
1879
|
query_params=_query_params,
|
|
1880
1880
|
header_params=_header_params,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**perturbator_configurations** | [**List[V1PerturbatorConfiguration]**](V1PerturbatorConfiguration.md) | Required. PerturbatorConfiguration to apply to the parent Test. | [optional]
|
|
9
|
-
**test_cases** | [**List[V1TestCase]**](V1TestCase.md) | Required. List of test cases to
|
|
9
|
+
**test_cases** | [**List[V1TestCase]**](V1TestCase.md) | Required. List of test cases to perturb. These are the test cases from the parent test. TODO: breaks https://google.aip.dev/144 | [optional]
|
|
10
10
|
**test_case_relationships** | [**List[V1TestCaseRelationship]**](V1TestCaseRelationship.md) | Optional. List of relationships between test cases. | [optional]
|
|
11
11
|
**default_h2ogpte_model** | [**V1Model**](V1Model.md) | | [optional]
|
|
12
12
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**test_suite** | **str** |
|
|
8
|
+
**test_suite** | **str** | Perturbed test suite in JSON format. | [optional]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
8
|
+
**report_static** | **str** | Report without links. | [optional]
|
|
9
|
+
**report_hypertext_diff** | **Dict[str, str]** | Diff (row number to row content) which can be used to generate report with links to the artifacts. | [optional]
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**h2o_cloud_url** | **str** | The URL for the H2O Cloud host. | [optional]
|
|
17
17
|
**public_instance** | **bool** | If the Eval Studio instance is public. | [optional]
|
|
18
18
|
**sharing_enabled** | **bool** | Whether the sharing capability is enabled. | [optional]
|
|
19
|
+
**experimental_features_enabled** | **bool** | Whether the experimental features are enabled. | [optional]
|
|
19
20
|
|
|
20
21
|
## Example
|
|
21
22
|
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**topic_modeling_pending_jobs** | **str** | Number of pending jobs in the topic modeling queue. It's marked as optional to always be part of the response, even when the value is zero. | [optional]
|
|
10
10
|
**test_validation_pending_jobs** | **str** | Number of pending jobs in the test validation queue. It's marked as optional to always be part of the response, even when the value is zero. | [optional]
|
|
11
|
+
**failure_clustering_pending_jobs** | **str** | Number of pending jobs in the failure clustering queue. It's marked as optional to always be part of the response, even when the value is zero. | [optional]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|