eval-studio-client 1.1.0a5__py3-none-any.whl → 1.1.0a7__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 +7 -3
- eval_studio_client/api/api/__init__.py +0 -1
- eval_studio_client/api/api/dashboard_service_api.py +17 -0
- eval_studio_client/api/api/test_service_api.py +34 -0
- eval_studio_client/api/api/workflow_service_api.py +510 -0
- eval_studio_client/api/docs/DashboardServiceApi.md +4 -2
- eval_studio_client/api/docs/PromptGenerationServiceAutoGeneratePromptsRequest.md +1 -1
- eval_studio_client/api/docs/RequiredTheDashboardToUpdate.md +1 -0
- eval_studio_client/api/docs/RequiredTheTestToUpdate.md +1 -0
- eval_studio_client/api/docs/TestServiceApi.md +8 -4
- eval_studio_client/api/docs/TestServiceGenerateTestCasesRequest.md +1 -1
- eval_studio_client/api/docs/V1Context.md +9 -4
- eval_studio_client/api/docs/V1Dashboard.md +1 -0
- eval_studio_client/api/docs/V1DashboardType.md +12 -0
- eval_studio_client/api/docs/V1DependencyList.md +30 -0
- eval_studio_client/api/docs/V1Evaluator.md +2 -0
- eval_studio_client/api/docs/V1GetGuardrailsConfigurationResponse.md +29 -0
- eval_studio_client/api/docs/V1LeaderboardReportModel.md +0 -2
- eval_studio_client/api/docs/V1ListWorkflowDependenciesResponse.md +30 -0
- eval_studio_client/api/docs/V1RepeatedContext.md +29 -0
- eval_studio_client/api/docs/V1Test.md +1 -0
- eval_studio_client/api/docs/V1TestType.md +12 -0
- eval_studio_client/api/docs/V1WorkflowDependency.md +30 -0
- eval_studio_client/api/docs/V1WorkflowEdgeType.md +1 -1
- eval_studio_client/api/docs/V1WorkflowNodeArtifact.md +1 -0
- eval_studio_client/api/docs/WorkflowServiceApi.md +135 -0
- eval_studio_client/api/models/__init__.py +7 -2
- eval_studio_client/api/models/prompt_generation_service_auto_generate_prompts_request.py +3 -2
- eval_studio_client/api/models/required_the_dashboard_to_update.py +5 -2
- eval_studio_client/api/models/required_the_test_to_update.py +5 -2
- eval_studio_client/api/models/test_service_generate_test_cases_request.py +10 -2
- eval_studio_client/api/models/v1_context.py +16 -6
- eval_studio_client/api/models/v1_dashboard.py +5 -2
- eval_studio_client/api/models/v1_dashboard_type.py +38 -0
- eval_studio_client/api/models/{generated_questions_validation_service_validate_generated_questions_request.py → v1_dependency_list.py} +14 -14
- eval_studio_client/api/models/v1_evaluator.py +11 -3
- eval_studio_client/api/models/v1_get_guardrails_configuration_response.py +87 -0
- eval_studio_client/api/models/v1_leaderboard_report_model.py +2 -10
- eval_studio_client/api/models/v1_list_workflow_dependencies_response.py +105 -0
- eval_studio_client/api/models/{v1_generated_test_case.py → v1_repeated_context.py} +12 -18
- eval_studio_client/api/models/v1_test.py +5 -2
- eval_studio_client/api/models/v1_test_type.py +38 -0
- eval_studio_client/api/models/v1_workflow_dependency.py +89 -0
- eval_studio_client/api/models/v1_workflow_edge_type.py +3 -2
- eval_studio_client/api/models/v1_workflow_node_artifact.py +6 -2
- eval_studio_client/api/test/test_prompt_generation_service_auto_generate_prompts_request.py +10 -2
- eval_studio_client/api/test/test_required_the_dashboard_to_update.py +2 -1
- eval_studio_client/api/test/test_required_the_test_to_update.py +2 -1
- eval_studio_client/api/test/test_required_the_updated_workflow.py +2 -1
- eval_studio_client/api/test/test_required_the_updated_workflow_node.py +2 -1
- eval_studio_client/api/test/test_test_service_generate_test_cases_request.py +10 -1
- eval_studio_client/api/test/test_v1_batch_delete_dashboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_delete_evaluators_response.py +3 -1
- eval_studio_client/api/test/test_v1_batch_delete_tests_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_get_dashboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_get_tests_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_import_tests_response.py +2 -1
- eval_studio_client/api/test/test_v1_clone_test_response.py +2 -1
- eval_studio_client/api/test/test_v1_context.py +6 -1
- eval_studio_client/api/test/test_v1_create_dashboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_create_evaluator_response.py +3 -1
- eval_studio_client/api/test/test_v1_create_test_response.py +2 -1
- eval_studio_client/api/test/test_v1_dashboard.py +2 -1
- eval_studio_client/api/test/test_v1_dashboard_type.py +33 -0
- eval_studio_client/api/test/test_v1_delete_dashboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_delete_evaluator_response.py +3 -1
- eval_studio_client/api/test/test_v1_delete_test_response.py +2 -1
- eval_studio_client/api/test/test_v1_dependency_list.py +56 -0
- eval_studio_client/api/test/test_v1_evaluator.py +3 -1
- eval_studio_client/api/test/test_v1_get_dashboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_get_evaluator_response.py +3 -1
- eval_studio_client/api/test/test_v1_get_guardrails_configuration_response.py +51 -0
- eval_studio_client/api/test/test_v1_get_leaderboard_report_response.py +1 -3
- eval_studio_client/api/test/test_v1_get_test_response.py +2 -1
- eval_studio_client/api/test/test_v1_leaderboard_report.py +1 -3
- eval_studio_client/api/test/test_v1_leaderboard_report_model.py +1 -3
- eval_studio_client/api/test/test_v1_list_dashboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_list_evaluators_response.py +3 -1
- eval_studio_client/api/test/test_v1_list_most_recent_dashboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_list_most_recent_tests_response.py +2 -1
- eval_studio_client/api/test/test_v1_list_tests_response.py +2 -1
- eval_studio_client/api/test/test_v1_list_workflow_dependencies_response.py +93 -0
- eval_studio_client/api/test/test_v1_perturb_test_in_place_response.py +2 -1
- eval_studio_client/api/test/test_v1_perturb_test_response.py +2 -1
- eval_studio_client/api/test/test_v1_repeated_context.py +62 -0
- eval_studio_client/api/test/test_v1_test.py +2 -1
- eval_studio_client/api/test/test_v1_test_type.py +33 -0
- eval_studio_client/api/test/test_v1_update_dashboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_update_test_response.py +2 -1
- eval_studio_client/api/test/test_v1_workflow.py +2 -1
- eval_studio_client/api/test/test_v1_workflow_dependency.py +52 -0
- eval_studio_client/api/test/test_v1_workflow_node.py +2 -1
- eval_studio_client/api/test/test_v1_workflow_node_artifact.py +2 -1
- eval_studio_client/api/test/test_v1_workflow_node_artifacts.py +2 -1
- eval_studio_client/api/test/test_workflow_service_api.py +13 -0
- eval_studio_client/client.py +11 -2
- eval_studio_client/gen/openapiv2/eval_studio.swagger.json +241 -92
- {eval_studio_client-1.1.0a5.dist-info → eval_studio_client-1.1.0a7.dist-info}/METADATA +1 -1
- {eval_studio_client-1.1.0a5.dist-info → eval_studio_client-1.1.0a7.dist-info}/RECORD +100 -88
- eval_studio_client/api/api/generated_questions_validation_service_api.py +0 -321
- eval_studio_client/api/docs/GeneratedQuestionsValidationServiceApi.md +0 -78
- eval_studio_client/api/docs/GeneratedQuestionsValidationServiceValidateGeneratedQuestionsRequest.md +0 -30
- eval_studio_client/api/docs/V1GeneratedTestCase.md +0 -30
- eval_studio_client/api/test/test_generated_questions_validation_service_api.py +0 -37
- eval_studio_client/api/test/test_generated_questions_validation_service_validate_generated_questions_request.py +0 -83
- eval_studio_client/api/test/test_v1_generated_test_case.py +0 -79
- {eval_studio_client-1.1.0a5.dist-info → eval_studio_client-1.1.0a7.dist-info}/WHEEL +0 -0
|
@@ -20,9 +20,6 @@
|
|
|
20
20
|
{
|
|
21
21
|
"name": "EvaluatorService"
|
|
22
22
|
},
|
|
23
|
-
{
|
|
24
|
-
"name": "GeneratedQuestionsValidationService"
|
|
25
|
-
},
|
|
26
23
|
{
|
|
27
24
|
"name": "HumanCalibrationService"
|
|
28
25
|
},
|
|
@@ -245,6 +242,13 @@
|
|
|
245
242
|
"required": false,
|
|
246
243
|
"type": "integer",
|
|
247
244
|
"format": "int32"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "filter",
|
|
248
|
+
"description": "Optional. If specified, only leaderboards matching the filter will be returned. Attempts to\nimplement AIP-160 (https://aip.dev/160), although not all fields, operators and features are\nsupported.\n\nSupported fields:\n- model\n - only '=' operator is supported, e.g. \"model = \\\"models/\u003cUUID\u003e\\\"\"",
|
|
249
|
+
"in": "query",
|
|
250
|
+
"required": false,
|
|
251
|
+
"type": "string"
|
|
248
252
|
}
|
|
249
253
|
],
|
|
250
254
|
"tags": [
|
|
@@ -1914,6 +1918,13 @@
|
|
|
1914
1918
|
}
|
|
1915
1919
|
},
|
|
1916
1920
|
"parameters": [
|
|
1921
|
+
{
|
|
1922
|
+
"name": "filter",
|
|
1923
|
+
"description": "Optional. If specified, only leaderboards matching the filter will be returned. Attempts to\nimplement AIP-160 (https://aip.dev/160), although not all fields, operators and features are\nsupported.\n\nSupported fields:\n- type\n - only '=' operator is supported",
|
|
1924
|
+
"in": "query",
|
|
1925
|
+
"required": false,
|
|
1926
|
+
"type": "string"
|
|
1927
|
+
},
|
|
1917
1928
|
{
|
|
1918
1929
|
"name": "orderBy",
|
|
1919
1930
|
"description": "If specified, the returned tests will be ordered by the specified field. Attempts to implement\nAIP-130 (https://google.aip.dev/132#ordering), although not all features are supported yet.\n\nSupported fields:\n- create_time\n- update_time",
|
|
@@ -2117,6 +2128,13 @@
|
|
|
2117
2128
|
"required": false,
|
|
2118
2129
|
"type": "integer",
|
|
2119
2130
|
"format": "int32"
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
"name": "filter",
|
|
2134
|
+
"description": "Optional. If specified, only leaderboards matching the filter will be returned. Attempts to\nimplement AIP-160 (https://aip.dev/160), although not all fields, operators and features are\nsupported.\n\nSupported fields:\n- type\n - only '=' operator is supported",
|
|
2135
|
+
"in": "query",
|
|
2136
|
+
"required": false,
|
|
2137
|
+
"type": "string"
|
|
2120
2138
|
}
|
|
2121
2139
|
],
|
|
2122
2140
|
"tags": [
|
|
@@ -2416,6 +2434,10 @@
|
|
|
2416
2434
|
"type": "boolean",
|
|
2417
2435
|
"description": "Output only. Whether the Dashboard is a demo resource or not. Demo resources are read only.",
|
|
2418
2436
|
"readOnly": true
|
|
2437
|
+
},
|
|
2438
|
+
"type": {
|
|
2439
|
+
"$ref": "#/definitions/v1DashboardType",
|
|
2440
|
+
"description": "Optional. Type of the dashboard. Defaults to DASHBOARD_TYPE_STANDALONE for\nCreateDashboard and CreateDashboardWithoutCache. Defaults to DASHBOARD_TYPE_STANDALO for\nBatchCreateDashboards."
|
|
2419
2441
|
}
|
|
2420
2442
|
},
|
|
2421
2443
|
"description": "The Dashboard's `name` field is used to identify the Dashboard to update. Format:\ndashboards/{dashboard}",
|
|
@@ -3691,7 +3713,7 @@
|
|
|
3691
3713
|
"description": "The list of document URLs. The document URL might be a managed document URL or a\npublic URL."
|
|
3692
3714
|
},
|
|
3693
3715
|
"chunks": {
|
|
3694
|
-
"$ref": "#/definitions/
|
|
3716
|
+
"$ref": "#/definitions/v1RepeatedContext",
|
|
3695
3717
|
"title": "Chunks of text used instead of documents"
|
|
3696
3718
|
},
|
|
3697
3719
|
"generators": {
|
|
@@ -3838,7 +3860,8 @@
|
|
|
3838
3860
|
"chunks": {
|
|
3839
3861
|
"type": "array",
|
|
3840
3862
|
"items": {
|
|
3841
|
-
"type": "
|
|
3863
|
+
"type": "object",
|
|
3864
|
+
"$ref": "#/definitions/v1Context"
|
|
3842
3865
|
},
|
|
3843
3866
|
"description": "Optional. The list of chunks to use for generation. If set, the Documents assigned to the Test\nand h2ogpte_collection_id are ignored."
|
|
3844
3867
|
}
|
|
@@ -3851,6 +3874,38 @@
|
|
|
3851
3874
|
]
|
|
3852
3875
|
}
|
|
3853
3876
|
},
|
|
3877
|
+
"/v1/{name}:getGuardrailsConfiguration": {
|
|
3878
|
+
"get": {
|
|
3879
|
+
"operationId": "WorkflowService_GetGuardrailsConfiguration",
|
|
3880
|
+
"responses": {
|
|
3881
|
+
"200": {
|
|
3882
|
+
"description": "A successful response.",
|
|
3883
|
+
"schema": {
|
|
3884
|
+
"$ref": "#/definitions/v1GetGuardrailsConfigurationResponse"
|
|
3885
|
+
}
|
|
3886
|
+
},
|
|
3887
|
+
"default": {
|
|
3888
|
+
"description": "An unexpected error response.",
|
|
3889
|
+
"schema": {
|
|
3890
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3891
|
+
}
|
|
3892
|
+
}
|
|
3893
|
+
},
|
|
3894
|
+
"parameters": [
|
|
3895
|
+
{
|
|
3896
|
+
"name": "name",
|
|
3897
|
+
"description": "Required. The name of the Workflow to retrieve guardrails configuration for. The Human\nCalibration node must be completed, otherwise an error is returned.",
|
|
3898
|
+
"in": "path",
|
|
3899
|
+
"required": true,
|
|
3900
|
+
"type": "string",
|
|
3901
|
+
"pattern": "workflows/[^/]+"
|
|
3902
|
+
}
|
|
3903
|
+
],
|
|
3904
|
+
"tags": [
|
|
3905
|
+
"WorkflowService"
|
|
3906
|
+
]
|
|
3907
|
+
}
|
|
3908
|
+
},
|
|
3854
3909
|
"/v1/{name}:getPrerequisites": {
|
|
3855
3910
|
"get": {
|
|
3856
3911
|
"summary": "GetWorkflowNodePrerequisites retrieves the WorkflowNodes and WorkflowEdges that are the\nprerequisites of the specified WorkflowNode. The list might be empty. Large data might be\nstored in storage and not returned in the response. It is client's responsibility to retrieve\nthe data from storage using the content handlers. It is intended to be used by the Eval Studio\nWorkers.",
|
|
@@ -4060,6 +4115,39 @@
|
|
|
4060
4115
|
]
|
|
4061
4116
|
}
|
|
4062
4117
|
},
|
|
4118
|
+
"/v1/{name}:nodeDependencies": {
|
|
4119
|
+
"get": {
|
|
4120
|
+
"summary": "ListWorkflowDependencies lists workflow nodes and map of the node dependencies.",
|
|
4121
|
+
"operationId": "WorkflowService_ListWorkflowDependencies",
|
|
4122
|
+
"responses": {
|
|
4123
|
+
"200": {
|
|
4124
|
+
"description": "A successful response.",
|
|
4125
|
+
"schema": {
|
|
4126
|
+
"$ref": "#/definitions/v1ListWorkflowDependenciesResponse"
|
|
4127
|
+
}
|
|
4128
|
+
},
|
|
4129
|
+
"default": {
|
|
4130
|
+
"description": "An unexpected error response.",
|
|
4131
|
+
"schema": {
|
|
4132
|
+
"$ref": "#/definitions/rpcStatus"
|
|
4133
|
+
}
|
|
4134
|
+
}
|
|
4135
|
+
},
|
|
4136
|
+
"parameters": [
|
|
4137
|
+
{
|
|
4138
|
+
"name": "name",
|
|
4139
|
+
"description": "Required. The name of the Workflow to retrieve dependencies for.",
|
|
4140
|
+
"in": "path",
|
|
4141
|
+
"required": true,
|
|
4142
|
+
"type": "string",
|
|
4143
|
+
"pattern": "workflows/[^/]+"
|
|
4144
|
+
}
|
|
4145
|
+
],
|
|
4146
|
+
"tags": [
|
|
4147
|
+
"WorkflowService"
|
|
4148
|
+
]
|
|
4149
|
+
}
|
|
4150
|
+
},
|
|
4063
4151
|
"/v1/{name}:perturb": {
|
|
4064
4152
|
"post": {
|
|
4065
4153
|
"operationId": "TestService_PerturbTest",
|
|
@@ -4248,60 +4336,6 @@
|
|
|
4248
4336
|
]
|
|
4249
4337
|
}
|
|
4250
4338
|
},
|
|
4251
|
-
"/v1/{name}:validateGeneratedQuestions": {
|
|
4252
|
-
"post": {
|
|
4253
|
-
"operationId": "GeneratedQuestionsValidationService_ValidateGeneratedQuestions",
|
|
4254
|
-
"responses": {
|
|
4255
|
-
"200": {
|
|
4256
|
-
"description": "A successful response.",
|
|
4257
|
-
"schema": {
|
|
4258
|
-
"$ref": "#/definitions/v1Operation"
|
|
4259
|
-
}
|
|
4260
|
-
},
|
|
4261
|
-
"default": {
|
|
4262
|
-
"description": "An unexpected error response.",
|
|
4263
|
-
"schema": {
|
|
4264
|
-
"$ref": "#/definitions/rpcStatus"
|
|
4265
|
-
}
|
|
4266
|
-
}
|
|
4267
|
-
},
|
|
4268
|
-
"parameters": [
|
|
4269
|
-
{
|
|
4270
|
-
"name": "name",
|
|
4271
|
-
"description": "Required. The Test for which to generate TestCases.",
|
|
4272
|
-
"in": "path",
|
|
4273
|
-
"required": true,
|
|
4274
|
-
"type": "string",
|
|
4275
|
-
"pattern": "tests/[^/]+"
|
|
4276
|
-
},
|
|
4277
|
-
{
|
|
4278
|
-
"name": "body",
|
|
4279
|
-
"in": "body",
|
|
4280
|
-
"required": true,
|
|
4281
|
-
"schema": {
|
|
4282
|
-
"type": "object",
|
|
4283
|
-
"properties": {
|
|
4284
|
-
"operation": {
|
|
4285
|
-
"type": "string",
|
|
4286
|
-
"description": "Required. The Operation processing this question validation process."
|
|
4287
|
-
},
|
|
4288
|
-
"testCases": {
|
|
4289
|
-
"type": "array",
|
|
4290
|
-
"items": {
|
|
4291
|
-
"type": "object",
|
|
4292
|
-
"$ref": "#/definitions/v1GeneratedTestCase"
|
|
4293
|
-
},
|
|
4294
|
-
"description": "Required. Generated Test Cases, i.e., Test cases with context that was used for their generation."
|
|
4295
|
-
}
|
|
4296
|
-
}
|
|
4297
|
-
}
|
|
4298
|
-
}
|
|
4299
|
-
],
|
|
4300
|
-
"tags": [
|
|
4301
|
-
"GeneratedQuestionsValidationService"
|
|
4302
|
-
]
|
|
4303
|
-
}
|
|
4304
|
-
},
|
|
4305
4339
|
"/v1/{node.name}": {
|
|
4306
4340
|
"patch": {
|
|
4307
4341
|
"summary": "UpdateWorkflowNode updates a WorkflowNode. The update_mask is used to specify the fields to be\nupdated.",
|
|
@@ -5048,6 +5082,10 @@
|
|
|
5048
5082
|
"type": "boolean",
|
|
5049
5083
|
"description": "Output only. Whether the Test is a demo resource or not. Demo resources are read only.",
|
|
5050
5084
|
"readOnly": true
|
|
5085
|
+
},
|
|
5086
|
+
"type": {
|
|
5087
|
+
"$ref": "#/definitions/v1TestType",
|
|
5088
|
+
"description": "Optional. Type of the test. Defaults to TEST_TYPE_STANDALONE for\nCreateTest and CreateTestWithoutCache. Defaults to TEST_TYPE_STANDALONE for\nBatchCreateTests."
|
|
5051
5089
|
}
|
|
5052
5090
|
},
|
|
5053
5091
|
"title": "Required. The Test to update."
|
|
@@ -6023,21 +6061,42 @@
|
|
|
6023
6061
|
"properties": {
|
|
6024
6062
|
"collectionId": {
|
|
6025
6063
|
"type": "string",
|
|
6026
|
-
"description": "Collection Id."
|
|
6064
|
+
"description": "Optional. Collection Id."
|
|
6027
6065
|
},
|
|
6028
6066
|
"chunkId": {
|
|
6029
6067
|
"type": "integer",
|
|
6030
6068
|
"format": "int32",
|
|
6031
|
-
"description": "Chunk Id."
|
|
6069
|
+
"description": "Required. Chunk Id."
|
|
6032
6070
|
},
|
|
6033
6071
|
"score": {
|
|
6034
6072
|
"type": "number",
|
|
6035
6073
|
"format": "float",
|
|
6036
|
-
"description": "Chunk score."
|
|
6074
|
+
"description": "Optional. Chunk score."
|
|
6037
6075
|
},
|
|
6038
6076
|
"content": {
|
|
6039
6077
|
"type": "string",
|
|
6040
|
-
"description": "Content."
|
|
6078
|
+
"description": "Required. Content."
|
|
6079
|
+
},
|
|
6080
|
+
"documentId": {
|
|
6081
|
+
"type": "string",
|
|
6082
|
+
"description": "Optional. Document Id."
|
|
6083
|
+
},
|
|
6084
|
+
"documentName": {
|
|
6085
|
+
"type": "string",
|
|
6086
|
+
"description": "Optional. Document name."
|
|
6087
|
+
},
|
|
6088
|
+
"pages": {
|
|
6089
|
+
"type": "string",
|
|
6090
|
+
"description": "Optional. Pages."
|
|
6091
|
+
},
|
|
6092
|
+
"topic": {
|
|
6093
|
+
"type": "string",
|
|
6094
|
+
"description": "Required. Topic."
|
|
6095
|
+
},
|
|
6096
|
+
"topicId": {
|
|
6097
|
+
"type": "integer",
|
|
6098
|
+
"format": "int32",
|
|
6099
|
+
"description": "Required. Topic Id."
|
|
6041
6100
|
}
|
|
6042
6101
|
}
|
|
6043
6102
|
},
|
|
@@ -6295,6 +6354,10 @@
|
|
|
6295
6354
|
"type": "boolean",
|
|
6296
6355
|
"description": "Output only. Whether the Dashboard is a demo resource or not. Demo resources are read only.",
|
|
6297
6356
|
"readOnly": true
|
|
6357
|
+
},
|
|
6358
|
+
"type": {
|
|
6359
|
+
"$ref": "#/definitions/v1DashboardType",
|
|
6360
|
+
"description": "Optional. Type of the dashboard. Defaults to DASHBOARD_TYPE_STANDALONE for\nCreateDashboard and CreateDashboardWithoutCache. Defaults to DASHBOARD_TYPE_STANDALO for\nBatchCreateDashboards."
|
|
6298
6361
|
}
|
|
6299
6362
|
}
|
|
6300
6363
|
},
|
|
@@ -6309,6 +6372,16 @@
|
|
|
6309
6372
|
"default": "DASHBOARD_STATUS_UNSPECIFIED",
|
|
6310
6373
|
"description": " - DASHBOARD_STATUS_UNSPECIFIED: Unspecified status.\n - DASHBOARD_STATUS_PROCESSING: Dashboard is being processed. At least one of the leaderboard has a processing status (but no failed status).\n - DASHBOARD_STATUS_COMPLETED: Dashboard is completed successfully. All of the leaderboards are completed.\n - DASHBOARD_STATUS_FAILED: Dashboard failed. At least one of the leaderboard failed."
|
|
6311
6374
|
},
|
|
6375
|
+
"v1DashboardType": {
|
|
6376
|
+
"type": "string",
|
|
6377
|
+
"enum": [
|
|
6378
|
+
"DASHBOARD_TYPE_UNSPECIFIED",
|
|
6379
|
+
"DASHBOARD_TYPE_STANDALONE",
|
|
6380
|
+
"DASHBOARD_TYPE_WORKFLOW"
|
|
6381
|
+
],
|
|
6382
|
+
"default": "DASHBOARD_TYPE_UNSPECIFIED",
|
|
6383
|
+
"description": " - DASHBOARD_TYPE_UNSPECIFIED: Unspecified type.\n - DASHBOARD_TYPE_STANDALONE: Standalone dashboard.\n - DASHBOARD_TYPE_WORKFLOW: Dashboard is part of a dashboard group."
|
|
6384
|
+
},
|
|
6312
6385
|
"v1DeleteDashboardResponse": {
|
|
6313
6386
|
"type": "object",
|
|
6314
6387
|
"properties": {
|
|
@@ -6399,6 +6472,23 @@
|
|
|
6399
6472
|
}
|
|
6400
6473
|
}
|
|
6401
6474
|
},
|
|
6475
|
+
"v1DependencyList": {
|
|
6476
|
+
"type": "object",
|
|
6477
|
+
"properties": {
|
|
6478
|
+
"node": {
|
|
6479
|
+
"type": "string",
|
|
6480
|
+
"description": "The name of the Workflow Node to retrieve dependencies for."
|
|
6481
|
+
},
|
|
6482
|
+
"dependencies": {
|
|
6483
|
+
"type": "array",
|
|
6484
|
+
"items": {
|
|
6485
|
+
"type": "object",
|
|
6486
|
+
"$ref": "#/definitions/v1WorkflowDependency"
|
|
6487
|
+
},
|
|
6488
|
+
"description": "The names of the Workflow Node dependencies."
|
|
6489
|
+
}
|
|
6490
|
+
}
|
|
6491
|
+
},
|
|
6402
6492
|
"v1Document": {
|
|
6403
6493
|
"type": "object",
|
|
6404
6494
|
"properties": {
|
|
@@ -6607,6 +6697,17 @@
|
|
|
6607
6697
|
"type": "string",
|
|
6608
6698
|
"description": "Output only. Tagline is a short (single-line) and high-level description of the evaluator.",
|
|
6609
6699
|
"readOnly": true
|
|
6700
|
+
},
|
|
6701
|
+
"primaryMetric": {
|
|
6702
|
+
"type": "string",
|
|
6703
|
+
"description": "Output only. Optional. The name of the primary metric.",
|
|
6704
|
+
"readOnly": true
|
|
6705
|
+
},
|
|
6706
|
+
"primaryMetricDefaultThreshold": {
|
|
6707
|
+
"type": "number",
|
|
6708
|
+
"format": "float",
|
|
6709
|
+
"description": "Output only. Optional. Default threshold of the primary metric. Value must be ignored if\nprimary_metric is invalid.",
|
|
6710
|
+
"readOnly": true
|
|
6610
6711
|
}
|
|
6611
6712
|
}
|
|
6612
6713
|
},
|
|
@@ -6747,23 +6848,6 @@
|
|
|
6747
6848
|
}
|
|
6748
6849
|
}
|
|
6749
6850
|
},
|
|
6750
|
-
"v1GeneratedTestCase": {
|
|
6751
|
-
"type": "object",
|
|
6752
|
-
"properties": {
|
|
6753
|
-
"testCase": {
|
|
6754
|
-
"$ref": "#/definitions/v1TestCase",
|
|
6755
|
-
"description": "Test Case."
|
|
6756
|
-
},
|
|
6757
|
-
"context": {
|
|
6758
|
-
"type": "array",
|
|
6759
|
-
"items": {
|
|
6760
|
-
"type": "object",
|
|
6761
|
-
"$ref": "#/definitions/v1Context"
|
|
6762
|
-
},
|
|
6763
|
-
"description": "Context used for test_case generation."
|
|
6764
|
-
}
|
|
6765
|
-
}
|
|
6766
|
-
},
|
|
6767
6851
|
"v1GetDashboardResponse": {
|
|
6768
6852
|
"type": "object",
|
|
6769
6853
|
"properties": {
|
|
@@ -6791,6 +6875,15 @@
|
|
|
6791
6875
|
}
|
|
6792
6876
|
}
|
|
6793
6877
|
},
|
|
6878
|
+
"v1GetGuardrailsConfigurationResponse": {
|
|
6879
|
+
"type": "object",
|
|
6880
|
+
"properties": {
|
|
6881
|
+
"guardrailsConfigurationJson": {
|
|
6882
|
+
"type": "string",
|
|
6883
|
+
"description": "The guardrails configuration for the Workflow requested in JSON format. This configuration is\nusable by the guardrails client as is."
|
|
6884
|
+
}
|
|
6885
|
+
}
|
|
6886
|
+
},
|
|
6794
6887
|
"v1GetInfoResponse": {
|
|
6795
6888
|
"type": "object",
|
|
6796
6889
|
"properties": {
|
|
@@ -7671,20 +7764,10 @@
|
|
|
7671
7764
|
"description": "Output only. List of documents.",
|
|
7672
7765
|
"readOnly": true
|
|
7673
7766
|
},
|
|
7674
|
-
"modelCfg": {
|
|
7675
|
-
"type": "object",
|
|
7676
|
-
"description": "Output only. Model configuration.",
|
|
7677
|
-
"readOnly": true
|
|
7678
|
-
},
|
|
7679
7767
|
"key": {
|
|
7680
7768
|
"type": "string",
|
|
7681
7769
|
"description": "Output only. Model key.",
|
|
7682
7770
|
"readOnly": true
|
|
7683
|
-
},
|
|
7684
|
-
"llmModelMeta": {
|
|
7685
|
-
"type": "object",
|
|
7686
|
-
"description": "Output only. LLM model metadata - recursive dictionaries with an additional info like performance stats.",
|
|
7687
|
-
"readOnly": true
|
|
7688
7771
|
}
|
|
7689
7772
|
},
|
|
7690
7773
|
"description": "Model represents the evaluated model whose outputs were evaluated to create the results."
|
|
@@ -8134,6 +8217,27 @@
|
|
|
8134
8217
|
}
|
|
8135
8218
|
}
|
|
8136
8219
|
},
|
|
8220
|
+
"v1ListWorkflowDependenciesResponse": {
|
|
8221
|
+
"type": "object",
|
|
8222
|
+
"properties": {
|
|
8223
|
+
"nodes": {
|
|
8224
|
+
"type": "array",
|
|
8225
|
+
"items": {
|
|
8226
|
+
"type": "object",
|
|
8227
|
+
"$ref": "#/definitions/v1WorkflowNode"
|
|
8228
|
+
},
|
|
8229
|
+
"description": "The list of the WorkflowNodes related to requested workflow."
|
|
8230
|
+
},
|
|
8231
|
+
"dependencies": {
|
|
8232
|
+
"type": "array",
|
|
8233
|
+
"items": {
|
|
8234
|
+
"type": "object",
|
|
8235
|
+
"$ref": "#/definitions/v1DependencyList"
|
|
8236
|
+
},
|
|
8237
|
+
"description": "The dependency map for the workflow."
|
|
8238
|
+
}
|
|
8239
|
+
}
|
|
8240
|
+
},
|
|
8137
8241
|
"v1ListWorkflowsResponse": {
|
|
8138
8242
|
"type": "object",
|
|
8139
8243
|
"properties": {
|
|
@@ -8612,6 +8716,18 @@
|
|
|
8612
8716
|
}
|
|
8613
8717
|
}
|
|
8614
8718
|
},
|
|
8719
|
+
"v1RepeatedContext": {
|
|
8720
|
+
"type": "object",
|
|
8721
|
+
"properties": {
|
|
8722
|
+
"content": {
|
|
8723
|
+
"type": "array",
|
|
8724
|
+
"items": {
|
|
8725
|
+
"type": "object",
|
|
8726
|
+
"$ref": "#/definitions/v1Context"
|
|
8727
|
+
}
|
|
8728
|
+
}
|
|
8729
|
+
}
|
|
8730
|
+
},
|
|
8615
8731
|
"v1RepeatedString": {
|
|
8616
8732
|
"type": "object",
|
|
8617
8733
|
"properties": {
|
|
@@ -8699,6 +8815,10 @@
|
|
|
8699
8815
|
"type": "boolean",
|
|
8700
8816
|
"description": "Output only. Whether the Test is a demo resource or not. Demo resources are read only.",
|
|
8701
8817
|
"readOnly": true
|
|
8818
|
+
},
|
|
8819
|
+
"type": {
|
|
8820
|
+
"$ref": "#/definitions/v1TestType",
|
|
8821
|
+
"description": "Optional. Type of the test. Defaults to TEST_TYPE_STANDALONE for\nCreateTest and CreateTestWithoutCache. Defaults to TEST_TYPE_STANDALONE for\nBatchCreateTests."
|
|
8702
8822
|
}
|
|
8703
8823
|
}
|
|
8704
8824
|
},
|
|
@@ -9001,6 +9121,16 @@
|
|
|
9001
9121
|
],
|
|
9002
9122
|
"default": "TEST_SUITE_EVALUATES_UNSPECIFIED"
|
|
9003
9123
|
},
|
|
9124
|
+
"v1TestType": {
|
|
9125
|
+
"type": "string",
|
|
9126
|
+
"enum": [
|
|
9127
|
+
"TEST_TYPE_UNSPECIFIED",
|
|
9128
|
+
"TEST_TYPE_STANDALONE",
|
|
9129
|
+
"TEST_TYPE_WORKFLOW"
|
|
9130
|
+
],
|
|
9131
|
+
"default": "TEST_TYPE_UNSPECIFIED",
|
|
9132
|
+
"description": " - TEST_TYPE_UNSPECIFIED: Unspecified type.\n - TEST_TYPE_STANDALONE: Standalone test.\n - TEST_TYPE_WORKFLOW: Test is part of a dashboard."
|
|
9133
|
+
},
|
|
9004
9134
|
"v1UpdateDashboardResponse": {
|
|
9005
9135
|
"type": "object",
|
|
9006
9136
|
"properties": {
|
|
@@ -9212,6 +9342,19 @@
|
|
|
9212
9342
|
},
|
|
9213
9343
|
"description": "Workflow represents a workflow in Eval Studio. It consists of WorkflowNodes and WorkflowEdges."
|
|
9214
9344
|
},
|
|
9345
|
+
"v1WorkflowDependency": {
|
|
9346
|
+
"type": "object",
|
|
9347
|
+
"properties": {
|
|
9348
|
+
"name": {
|
|
9349
|
+
"type": "string",
|
|
9350
|
+
"description": "Required. The name of the Workflow Dependency node."
|
|
9351
|
+
},
|
|
9352
|
+
"optional": {
|
|
9353
|
+
"type": "boolean",
|
|
9354
|
+
"description": "Optional. Whether the dependency is optional."
|
|
9355
|
+
}
|
|
9356
|
+
}
|
|
9357
|
+
},
|
|
9215
9358
|
"v1WorkflowEdge": {
|
|
9216
9359
|
"type": "object",
|
|
9217
9360
|
"properties": {
|
|
@@ -9276,10 +9419,11 @@
|
|
|
9276
9419
|
"type": "string",
|
|
9277
9420
|
"enum": [
|
|
9278
9421
|
"WORKFLOW_EDGE_TYPE_UNSPECIFIED",
|
|
9279
|
-
"
|
|
9422
|
+
"WORKFLOW_EDGE_TYPE_DEPENDENCY",
|
|
9423
|
+
"WORKFLOW_EDGE_TYPE_OPTIONAL_DEPENDENCY"
|
|
9280
9424
|
],
|
|
9281
9425
|
"default": "WORKFLOW_EDGE_TYPE_UNSPECIFIED",
|
|
9282
|
-
"description": "WorkflowEdgeType represents the type of a WorkflowEdge.\n\n - WORKFLOW_EDGE_TYPE_UNSPECIFIED: Unspecified type.\n -
|
|
9426
|
+
"description": "WorkflowEdgeType represents the type of a WorkflowEdge.\n\n - WORKFLOW_EDGE_TYPE_UNSPECIFIED: Unspecified type.\n - WORKFLOW_EDGE_TYPE_DEPENDENCY: A required dependency type of edge.\nThis edge type defines that the \"to\" node depends on the outputs of the \"from\" node.\n - WORKFLOW_EDGE_TYPE_OPTIONAL_DEPENDENCY: Optional dependency edge, which indicates that the outputs of the \"from\" node can be used in case they exist,\nbut the \"to\" node does not rely on them."
|
|
9283
9427
|
},
|
|
9284
9428
|
"v1WorkflowNode": {
|
|
9285
9429
|
"type": "object",
|
|
@@ -9430,6 +9574,11 @@
|
|
|
9430
9574
|
"mimeType": {
|
|
9431
9575
|
"type": "string",
|
|
9432
9576
|
"description": "Optional MIME type of the WorkflowNodeArtifact."
|
|
9577
|
+
},
|
|
9578
|
+
"type": {
|
|
9579
|
+
"type": "string",
|
|
9580
|
+
"description": "Output only. Immutable. Type of the WorkflowNodeArtifact.",
|
|
9581
|
+
"readOnly": true
|
|
9433
9582
|
}
|
|
9434
9583
|
},
|
|
9435
9584
|
"description": "WorkflowNodeArtifact represents an artifact produced/consumed by a WorkflowNode."
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: eval-studio-client
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.0a7
|
|
4
4
|
Project-URL: Source, https://github.com/h2oai/eval-studio/tree/main/client-py/src/
|
|
5
5
|
Project-URL: Issues, https://github.com/h2oai/eval-studio/issues
|
|
6
6
|
Author-email: "H2O.ai" <support@h2o.ai>
|