eval-studio-client 1.2.4a2__py3-none-any.whl → 1.3.0__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 +65 -0
- eval_studio_client/api/api/__init__.py +3 -0
- eval_studio_client/api/api/dashboard_report_service_api.py +292 -0
- eval_studio_client/api/api/dashboard_service_api.py +16 -16
- eval_studio_client/api/api/dashboard_test_case_annotation_service_api.py +611 -0
- eval_studio_client/api/api/document_service_api.py +16 -16
- eval_studio_client/api/api/evaluation_service_api.py +12 -12
- eval_studio_client/api/api/evaluator_service_api.py +16 -16
- eval_studio_client/api/api/leaderboard_report_service_api.py +304 -17
- eval_studio_client/api/api/leaderboard_service_api.py +554 -16
- eval_studio_client/api/api/leaderboard_test_case_annotation_service_api.py +611 -0
- eval_studio_client/api/api/model_service_api.py +16 -16
- eval_studio_client/api/api/operation_service_api.py +821 -17
- eval_studio_client/api/api/perturbator_service_api.py +22 -22
- eval_studio_client/api/api/test_case_service_api.py +300 -16
- eval_studio_client/api/api/test_class_service_api.py +16 -16
- eval_studio_client/api/api/test_service_api.py +285 -16
- eval_studio_client/api/api/workflow_node_service_api.py +16 -16
- eval_studio_client/api/api/workflow_service_api.py +16 -16
- eval_studio_client/api/docs/AdversarialInputsServiceTestAdversarialInputsRobustnessRequest.md +2 -1
- eval_studio_client/api/docs/DashboardReportServiceApi.md +75 -0
- eval_studio_client/api/docs/DashboardServiceApi.md +5 -5
- eval_studio_client/api/docs/DashboardTestCaseAnnotationServiceApi.md +149 -0
- eval_studio_client/api/docs/DocumentServiceApi.md +5 -5
- eval_studio_client/api/docs/EvaluationServiceApi.md +4 -4
- eval_studio_client/api/docs/EvaluatorServiceApi.md +5 -5
- eval_studio_client/api/docs/LeaderboardReportServiceApi.md +75 -5
- eval_studio_client/api/docs/LeaderboardServiceApi.md +141 -5
- eval_studio_client/api/docs/LeaderboardTestCaseAnnotationServiceApi.md +149 -0
- eval_studio_client/api/docs/ModelServiceApi.md +5 -5
- eval_studio_client/api/docs/OperationServiceApi.md +215 -8
- eval_studio_client/api/docs/PerturbatorServiceApi.md +7 -7
- eval_studio_client/api/docs/RequiredTheDashboardTestCaseAnnotationToUpdate.md +35 -0
- eval_studio_client/api/docs/RequiredTheLeaderboardTestCaseAnnotationToUpdate.md +35 -0
- eval_studio_client/api/docs/RequiredTheLeaderboardToUpdate.md +1 -0
- eval_studio_client/api/docs/RequiredTheOperationToFinalize.md +1 -0
- eval_studio_client/api/docs/RequiredTheOperationToUpdate.md +1 -0
- eval_studio_client/api/docs/TestCaseServiceApi.md +75 -5
- eval_studio_client/api/docs/TestCaseServiceAppendTestCasesRequest.md +30 -0
- eval_studio_client/api/docs/TestClassServiceApi.md +5 -5
- eval_studio_client/api/docs/TestServiceApi.md +73 -5
- eval_studio_client/api/docs/V1ActualOutputMeta.md +30 -0
- eval_studio_client/api/docs/V1ActualOutputMetaDiff.md +36 -0
- eval_studio_client/api/docs/V1AgentChatActivityDiagram.md +31 -0
- eval_studio_client/api/docs/V1AgentChatActivityDiagramEdge.md +32 -0
- eval_studio_client/api/docs/V1AgentChatActivityDiagramNode.md +32 -0
- eval_studio_client/api/docs/V1AgentChatActivityDiagramRow.md +30 -0
- eval_studio_client/api/docs/V1AgentChatScriptUsage.md +33 -0
- eval_studio_client/api/docs/V1AgentChatScriptsBarChart.md +30 -0
- eval_studio_client/api/docs/V1AgentChatToolUsage.md +33 -0
- eval_studio_client/api/docs/V1AgentChatToolsBarChart.md +30 -0
- eval_studio_client/api/docs/V1AllMetricScores.md +29 -0
- eval_studio_client/api/docs/V1AppendTestCasesResponse.md +29 -0
- eval_studio_client/api/docs/V1BatchCreateLeaderboardsWithoutCacheRequest.md +31 -0
- eval_studio_client/api/docs/V1BatchCreateLeaderboardsWithoutCacheResponse.md +29 -0
- eval_studio_client/api/docs/V1BatchMarkOperationSeenByCreatorResponse.md +29 -0
- eval_studio_client/api/docs/V1CmpLeaderboardReportsRequest.md +33 -0
- eval_studio_client/api/docs/V1CmpLeaderboardReportsResponse.md +29 -0
- eval_studio_client/api/docs/V1ComparisonItem.md +36 -0
- eval_studio_client/api/docs/V1ComparisonMetricScore.md +30 -0
- eval_studio_client/api/docs/V1ComparisonResult.md +31 -0
- eval_studio_client/api/docs/V1ComparisonSummary.md +31 -0
- eval_studio_client/api/docs/V1CreateEvaluationRequest.md +1 -0
- eval_studio_client/api/docs/V1CreateTestFromTestCasesRequest.md +32 -0
- eval_studio_client/api/docs/V1CreateTestFromTestCasesResponse.md +29 -0
- eval_studio_client/api/docs/V1DashboardReport.md +31 -0
- eval_studio_client/api/docs/V1DashboardReportResult.md +39 -0
- eval_studio_client/api/docs/V1DashboardTestCaseAnnotation.md +36 -0
- eval_studio_client/api/docs/V1DataFragment.md +31 -0
- eval_studio_client/api/docs/V1DeepCompareLeaderboardsRequest.md +33 -0
- eval_studio_client/api/docs/V1DeepCompareLeaderboardsResponse.md +29 -0
- eval_studio_client/api/docs/V1DiffItem.md +36 -0
- eval_studio_client/api/docs/V1EvaluationType.md +12 -0
- eval_studio_client/api/docs/V1FlippedMetric.md +31 -0
- eval_studio_client/api/docs/V1GetDashboardReportResponse.md +29 -0
- eval_studio_client/api/docs/V1HumanDecision.md +12 -0
- eval_studio_client/api/docs/V1Info.md +1 -0
- eval_studio_client/api/docs/V1Leaderboard.md +1 -0
- eval_studio_client/api/docs/V1LeaderboardCmpReport.md +30 -0
- eval_studio_client/api/docs/V1LeaderboardComparisonItem.md +31 -0
- eval_studio_client/api/docs/V1LeaderboardInfo.md +30 -0
- eval_studio_client/api/docs/V1LeaderboardReportActualOutputMeta.md +6 -3
- eval_studio_client/api/docs/V1LeaderboardReportResult.md +11 -8
- eval_studio_client/api/docs/V1LeaderboardReportResultView.md +12 -0
- eval_studio_client/api/docs/V1LeaderboardTestCaseAnnotation.md +36 -0
- eval_studio_client/api/docs/V1ListDashboardTestCaseAnnotationsResponse.md +29 -0
- eval_studio_client/api/docs/V1ListLeaderboardTestCaseAnnotationsResponse.md +29 -0
- eval_studio_client/api/docs/V1ListOperationsResponse.md +1 -0
- eval_studio_client/api/docs/V1ListUnseenOperationsResponse.md +30 -0
- eval_studio_client/api/docs/V1MarkOperationSeenByCreatorResponse.md +29 -0
- eval_studio_client/api/docs/V1Metric.md +30 -0
- eval_studio_client/api/docs/V1MetricAverage.md +36 -0
- eval_studio_client/api/docs/V1MetricMeta.md +40 -0
- eval_studio_client/api/docs/V1MetricScore.md +1 -1
- eval_studio_client/api/docs/V1MetricScores.md +1 -1
- eval_studio_client/api/docs/V1ModelType.md +1 -1
- eval_studio_client/api/docs/V1ModelsComparisons.md +32 -0
- eval_studio_client/api/docs/V1ModelsComparisonsMetrics.md +33 -0
- eval_studio_client/api/docs/V1ModelsOverview.md +34 -0
- eval_studio_client/api/docs/V1Operation.md +1 -0
- eval_studio_client/api/docs/V1OperationView.md +12 -0
- eval_studio_client/api/docs/V1RetrievedContextDiff.md +36 -0
- eval_studio_client/api/docs/V1Stats.md +2 -0
- eval_studio_client/api/docs/V1TechnicalMetrics.md +30 -0
- eval_studio_client/api/docs/V1TechnicalMetricsDetail.md +33 -0
- eval_studio_client/api/docs/V1TestCaseLeaderboardItem.md +31 -0
- eval_studio_client/api/docs/V1TestCaseRelationshipInfo.md +31 -0
- eval_studio_client/api/docs/V1TestCaseResult.md +48 -0
- eval_studio_client/api/docs/V1TextSimilarityMetric.md +12 -0
- eval_studio_client/api/docs/V1UpdateDashboardTestCaseAnnotationResponse.md +29 -0
- eval_studio_client/api/docs/V1UpdateLeaderboardTestCaseAnnotationResponse.md +29 -0
- eval_studio_client/api/docs/WorkflowNodeServiceApi.md +5 -5
- eval_studio_client/api/docs/WorkflowServiceApi.md +5 -5
- eval_studio_client/api/models/__init__.py +62 -0
- eval_studio_client/api/models/adversarial_inputs_service_test_adversarial_inputs_robustness_request.py +17 -2
- eval_studio_client/api/models/required_the_dashboard_test_case_annotation_to_update.py +108 -0
- eval_studio_client/api/models/required_the_leaderboard_test_case_annotation_to_update.py +108 -0
- eval_studio_client/api/models/required_the_leaderboard_to_update.py +5 -2
- eval_studio_client/api/models/required_the_operation_to_finalize.py +6 -2
- eval_studio_client/api/models/required_the_operation_to_update.py +6 -2
- eval_studio_client/api/models/test_case_service_append_test_cases_request.py +89 -0
- eval_studio_client/api/models/v1_actual_output_meta.py +97 -0
- eval_studio_client/api/models/v1_actual_output_meta_diff.py +101 -0
- eval_studio_client/api/models/v1_agent_chat_activity_diagram.py +109 -0
- eval_studio_client/api/models/v1_agent_chat_activity_diagram_edge.py +97 -0
- eval_studio_client/api/models/v1_agent_chat_activity_diagram_node.py +97 -0
- eval_studio_client/api/models/v1_agent_chat_activity_diagram_row.py +97 -0
- eval_studio_client/api/models/v1_agent_chat_script_usage.py +101 -0
- eval_studio_client/api/models/v1_agent_chat_scripts_bar_chart.py +102 -0
- eval_studio_client/api/models/v1_agent_chat_tool_usage.py +101 -0
- eval_studio_client/api/models/v1_agent_chat_tools_bar_chart.py +102 -0
- eval_studio_client/api/models/v1_all_metric_scores.py +87 -0
- eval_studio_client/api/models/v1_append_test_cases_response.py +95 -0
- eval_studio_client/api/models/v1_batch_create_leaderboards_without_cache_request.py +99 -0
- eval_studio_client/api/models/v1_batch_create_leaderboards_without_cache_response.py +91 -0
- eval_studio_client/api/models/v1_batch_mark_operation_seen_by_creator_response.py +95 -0
- eval_studio_client/api/models/v1_cmp_leaderboard_reports_request.py +96 -0
- eval_studio_client/api/models/v1_cmp_leaderboard_reports_response.py +91 -0
- eval_studio_client/api/models/v1_comparison_item.py +130 -0
- eval_studio_client/api/models/v1_comparison_metric_score.py +89 -0
- eval_studio_client/api/models/v1_comparison_result.py +120 -0
- eval_studio_client/api/models/v1_comparison_summary.py +91 -0
- eval_studio_client/api/models/v1_create_evaluation_request.py +5 -2
- eval_studio_client/api/models/v1_create_test_from_test_cases_request.py +93 -0
- eval_studio_client/api/models/v1_create_test_from_test_cases_response.py +91 -0
- eval_studio_client/api/models/v1_dashboard_report.py +109 -0
- eval_studio_client/api/models/v1_dashboard_report_result.py +139 -0
- eval_studio_client/api/models/v1_dashboard_test_case_annotation.py +112 -0
- eval_studio_client/api/models/v1_data_fragment.py +91 -0
- eval_studio_client/api/models/v1_deep_compare_leaderboards_request.py +96 -0
- eval_studio_client/api/models/v1_deep_compare_leaderboards_response.py +91 -0
- eval_studio_client/api/models/v1_diff_item.py +137 -0
- eval_studio_client/api/models/v1_evaluation_type.py +39 -0
- eval_studio_client/api/models/v1_flipped_metric.py +91 -0
- eval_studio_client/api/models/v1_get_dashboard_report_response.py +91 -0
- eval_studio_client/api/models/v1_human_decision.py +38 -0
- eval_studio_client/api/models/v1_info.py +4 -2
- eval_studio_client/api/models/v1_leaderboard.py +5 -2
- eval_studio_client/api/models/v1_leaderboard_cmp_report.py +93 -0
- eval_studio_client/api/models/v1_leaderboard_comparison_item.py +91 -0
- eval_studio_client/api/models/v1_leaderboard_info.py +97 -0
- eval_studio_client/api/models/v1_leaderboard_report_actual_output_meta.py +23 -9
- eval_studio_client/api/models/v1_leaderboard_report_result.py +21 -10
- eval_studio_client/api/models/v1_leaderboard_report_result_view.py +38 -0
- eval_studio_client/api/models/v1_leaderboard_test_case_annotation.py +112 -0
- eval_studio_client/api/models/v1_list_dashboard_test_case_annotations_response.py +95 -0
- eval_studio_client/api/models/v1_list_leaderboard_test_case_annotations_response.py +95 -0
- eval_studio_client/api/models/v1_list_operations_response.py +5 -3
- eval_studio_client/api/models/v1_list_unseen_operations_response.py +97 -0
- eval_studio_client/api/models/v1_mark_operation_seen_by_creator_response.py +91 -0
- eval_studio_client/api/models/v1_metric.py +89 -0
- eval_studio_client/api/models/v1_metric_average.py +101 -0
- eval_studio_client/api/models/v1_metric_meta.py +109 -0
- eval_studio_client/api/models/v1_metric_score.py +6 -1
- eval_studio_client/api/models/v1_metric_scores.py +1 -1
- eval_studio_client/api/models/v1_model_type.py +2 -1
- eval_studio_client/api/models/v1_models_comparisons.py +93 -0
- eval_studio_client/api/models/v1_models_comparisons_metrics.py +103 -0
- eval_studio_client/api/models/v1_models_overview.py +97 -0
- eval_studio_client/api/models/v1_operation.py +6 -2
- eval_studio_client/api/models/v1_operation_view.py +38 -0
- eval_studio_client/api/models/v1_retrieved_context_diff.py +101 -0
- eval_studio_client/api/models/v1_stats.py +16 -2
- eval_studio_client/api/models/v1_technical_metrics.py +96 -0
- eval_studio_client/api/models/v1_technical_metrics_detail.py +95 -0
- eval_studio_client/api/models/v1_test_case_leaderboard_item.py +91 -0
- eval_studio_client/api/models/v1_test_case_relationship_info.py +91 -0
- eval_studio_client/api/models/v1_test_case_result.py +157 -0
- eval_studio_client/api/models/v1_text_similarity_metric.py +39 -0
- eval_studio_client/api/models/v1_update_dashboard_test_case_annotation_response.py +91 -0
- eval_studio_client/api/models/v1_update_leaderboard_test_case_annotation_response.py +91 -0
- eval_studio_client/api/models/v1_workflow_node_type.py +1 -0
- eval_studio_client/api/models/v1_workflow_type.py +1 -0
- eval_studio_client/api/test/test_adversarial_inputs_service_test_adversarial_inputs_robustness_request.py +6 -0
- eval_studio_client/api/test/test_dashboard_report_service_api.py +37 -0
- eval_studio_client/api/test/test_dashboard_test_case_annotation_service_api.py +43 -0
- eval_studio_client/api/test/test_leaderboard_report_service_api.py +6 -0
- eval_studio_client/api/test/test_leaderboard_service_api.py +12 -0
- eval_studio_client/api/test/test_leaderboard_test_case_annotation_service_api.py +43 -0
- eval_studio_client/api/test/test_operation_service_api.py +18 -0
- eval_studio_client/api/test/test_required_the_dashboard_test_case_annotation_to_update.py +57 -0
- eval_studio_client/api/test/test_required_the_leaderboard_test_case_annotation_to_update.py +57 -0
- eval_studio_client/api/test/test_required_the_leaderboard_to_update.py +2 -1
- eval_studio_client/api/test/test_required_the_operation_to_finalize.py +2 -1
- eval_studio_client/api/test/test_required_the_operation_to_update.py +2 -1
- eval_studio_client/api/test/test_test_case_service_api.py +6 -0
- eval_studio_client/api/test/test_test_case_service_append_test_cases_request.py +52 -0
- eval_studio_client/api/test/test_test_service_api.py +6 -0
- eval_studio_client/api/test/test_v1_abort_operation_response.py +2 -1
- eval_studio_client/api/test/test_v1_actual_output_meta.py +61 -0
- eval_studio_client/api/test/test_v1_actual_output_meta_diff.py +66 -0
- eval_studio_client/api/test/test_v1_agent_chat_activity_diagram.py +65 -0
- eval_studio_client/api/test/test_v1_agent_chat_activity_diagram_edge.py +53 -0
- eval_studio_client/api/test/test_v1_agent_chat_activity_diagram_node.py +53 -0
- eval_studio_client/api/test/test_v1_agent_chat_activity_diagram_row.py +56 -0
- eval_studio_client/api/test/test_v1_agent_chat_script_usage.py +54 -0
- eval_studio_client/api/test/test_v1_agent_chat_scripts_bar_chart.py +57 -0
- eval_studio_client/api/test/test_v1_agent_chat_tool_usage.py +54 -0
- eval_studio_client/api/test/test_v1_agent_chat_tools_bar_chart.py +57 -0
- eval_studio_client/api/test/test_v1_all_metric_scores.py +53 -0
- eval_studio_client/api/test/test_v1_append_test_cases_response.py +74 -0
- eval_studio_client/api/test/test_v1_batch_create_leaderboards_request.py +2 -1
- eval_studio_client/api/test/test_v1_batch_create_leaderboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_create_leaderboards_without_cache_request.py +120 -0
- eval_studio_client/api/test/test_v1_batch_create_leaderboards_without_cache_response.py +72 -0
- eval_studio_client/api/test/test_v1_batch_delete_leaderboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_get_leaderboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_get_operations_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_import_leaderboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_mark_operation_seen_by_creator_response.py +74 -0
- eval_studio_client/api/test/test_v1_cmp_leaderboard_reports_request.py +55 -0
- eval_studio_client/api/test/test_v1_cmp_leaderboard_reports_response.py +255 -0
- eval_studio_client/api/test/test_v1_comparison_item.py +233 -0
- eval_studio_client/api/test/test_v1_comparison_metric_score.py +52 -0
- eval_studio_client/api/test/test_v1_comparison_result.py +258 -0
- eval_studio_client/api/test/test_v1_comparison_summary.py +53 -0
- eval_studio_client/api/test/test_v1_create_evaluation_request.py +2 -1
- eval_studio_client/api/test/test_v1_create_leaderboard_request.py +2 -1
- eval_studio_client/api/test/test_v1_create_leaderboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_create_leaderboard_without_cache_response.py +2 -1
- eval_studio_client/api/test/test_v1_create_test_from_test_cases_request.py +54 -0
- eval_studio_client/api/test/test_v1_create_test_from_test_cases_response.py +68 -0
- eval_studio_client/api/test/test_v1_dashboard_report.py +142 -0
- eval_studio_client/api/test/test_v1_dashboard_report_result.py +72 -0
- eval_studio_client/api/test/test_v1_dashboard_test_case_annotation.py +58 -0
- eval_studio_client/api/test/test_v1_data_fragment.py +57 -0
- eval_studio_client/api/test/test_v1_deep_compare_leaderboards_request.py +55 -0
- eval_studio_client/api/test/test_v1_deep_compare_leaderboards_response.py +255 -0
- eval_studio_client/api/test/test_v1_delete_leaderboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_diff_item.py +226 -0
- eval_studio_client/api/test/test_v1_evaluation_type.py +33 -0
- eval_studio_client/api/test/test_v1_finalize_operation_response.py +2 -1
- eval_studio_client/api/test/test_v1_flipped_metric.py +53 -0
- eval_studio_client/api/test/test_v1_generate_test_cases_response.py +2 -1
- eval_studio_client/api/test/test_v1_get_dashboard_report_response.py +143 -0
- eval_studio_client/api/test/test_v1_get_info_response.py +4 -1
- eval_studio_client/api/test/test_v1_get_leaderboard_report_response.py +39 -2
- eval_studio_client/api/test/test_v1_get_leaderboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_get_operation_response.py +2 -1
- eval_studio_client/api/test/test_v1_get_stats_response.py +3 -1
- eval_studio_client/api/test/test_v1_human_decision.py +33 -0
- eval_studio_client/api/test/test_v1_import_leaderboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_import_test_cases_from_library_response.py +2 -1
- eval_studio_client/api/test/test_v1_info.py +4 -1
- eval_studio_client/api/test/test_v1_leaderboard.py +2 -1
- eval_studio_client/api/test/test_v1_leaderboard_cmp_report.py +254 -0
- eval_studio_client/api/test/test_v1_leaderboard_comparison_item.py +53 -0
- eval_studio_client/api/test/test_v1_leaderboard_info.py +57 -0
- eval_studio_client/api/test/test_v1_leaderboard_report.py +39 -2
- eval_studio_client/api/test/test_v1_leaderboard_report_actual_output_meta.py +33 -1
- eval_studio_client/api/test/test_v1_leaderboard_report_result.py +39 -2
- eval_studio_client/api/test/test_v1_leaderboard_report_result_view.py +33 -0
- eval_studio_client/api/test/test_v1_leaderboard_test_case_annotation.py +58 -0
- eval_studio_client/api/test/test_v1_list_dashboard_test_case_annotations_response.py +61 -0
- eval_studio_client/api/test/test_v1_list_leaderboard_test_case_annotations_response.py +61 -0
- eval_studio_client/api/test/test_v1_list_leaderboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_list_most_recent_leaderboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_list_operations_response.py +4 -2
- eval_studio_client/api/test/test_v1_list_unseen_operations_response.py +75 -0
- eval_studio_client/api/test/test_v1_mark_operation_seen_by_creator_response.py +72 -0
- eval_studio_client/api/test/test_v1_metric.py +52 -0
- eval_studio_client/api/test/test_v1_metric_average.py +58 -0
- eval_studio_client/api/test/test_v1_metric_meta.py +66 -0
- eval_studio_client/api/test/test_v1_models_comparisons.py +54 -0
- eval_studio_client/api/test/test_v1_models_comparisons_metrics.py +65 -0
- eval_studio_client/api/test/test_v1_models_overview.py +60 -0
- eval_studio_client/api/test/test_v1_operation.py +2 -1
- eval_studio_client/api/test/test_v1_operation_view.py +33 -0
- eval_studio_client/api/test/test_v1_process_workflow_node_response.py +2 -1
- eval_studio_client/api/test/test_v1_retrieved_context_diff.py +66 -0
- eval_studio_client/api/test/test_v1_stats.py +3 -1
- eval_studio_client/api/test/test_v1_technical_metrics.py +62 -0
- eval_studio_client/api/test/test_v1_technical_metrics_detail.py +55 -0
- eval_studio_client/api/test/test_v1_test_case_leaderboard_item.py +53 -0
- eval_studio_client/api/test/test_v1_test_case_relationship_info.py +53 -0
- eval_studio_client/api/test/test_v1_test_case_result.py +106 -0
- eval_studio_client/api/test/test_v1_text_similarity_metric.py +33 -0
- eval_studio_client/api/test/test_v1_update_dashboard_test_case_annotation_response.py +59 -0
- eval_studio_client/api/test/test_v1_update_leaderboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_update_leaderboard_test_case_annotation_response.py +59 -0
- eval_studio_client/api/test/test_v1_update_operation_response.py +2 -1
- eval_studio_client/gen/openapiv2/eval_studio.swagger.json +2340 -210
- eval_studio_client/models.py +18 -6
- {eval_studio_client-1.2.4a2.dist-info → eval_studio_client-1.3.0.dist-info}/METADATA +2 -2
- {eval_studio_client-1.2.4a2.dist-info → eval_studio_client-1.3.0.dist-info}/RECORD +306 -111
- {eval_studio_client-1.2.4a2.dist-info → eval_studio_client-1.3.0.dist-info}/WHEEL +0 -0
|
@@ -8,9 +8,15 @@
|
|
|
8
8
|
{
|
|
9
9
|
"name": "AdversarialInputsService"
|
|
10
10
|
},
|
|
11
|
+
{
|
|
12
|
+
"name": "DashboardReportService"
|
|
13
|
+
},
|
|
11
14
|
{
|
|
12
15
|
"name": "DashboardService"
|
|
13
16
|
},
|
|
17
|
+
{
|
|
18
|
+
"name": "DashboardTestCaseAnnotationService"
|
|
19
|
+
},
|
|
14
20
|
{
|
|
15
21
|
"name": "DocumentService"
|
|
16
22
|
},
|
|
@@ -32,6 +38,9 @@
|
|
|
32
38
|
{
|
|
33
39
|
"name": "LeaderboardService"
|
|
34
40
|
},
|
|
41
|
+
{
|
|
42
|
+
"name": "LeaderboardTestCaseAnnotationService"
|
|
43
|
+
},
|
|
35
44
|
{
|
|
36
45
|
"name": "ModelService"
|
|
37
46
|
},
|
|
@@ -566,7 +575,7 @@
|
|
|
566
575
|
},
|
|
567
576
|
{
|
|
568
577
|
"name": "model.type",
|
|
569
|
-
"description": "Immutable. Type of this Model.\n\n - MODEL_TYPE_UNSPECIFIED: Unspecified type.\n - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG.\n - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG.\n - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM.\n - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM.\n - MODEL_TYPE_OPENAI_CHAT: OpenAI chat.\n - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat.\n - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat.\n - MODEL_TYPE_H2OLLMOPS: H2O LLMOps.\n - MODEL_TYPE_OLLAMA: Ollama.\n - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock.",
|
|
578
|
+
"description": "Immutable. Type of this Model.\n\n - MODEL_TYPE_UNSPECIFIED: Unspecified type.\n - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG.\n - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG.\n - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM.\n - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM.\n - MODEL_TYPE_OPENAI_CHAT: OpenAI chat.\n - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat.\n - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat.\n - MODEL_TYPE_H2OLLMOPS: H2O LLMOps.\n - MODEL_TYPE_OLLAMA: Ollama.\n - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock.\n - MODEL_TYPE_ANTHROPIC_CLAUDE: Anthropic Claude chat.",
|
|
570
579
|
"in": "query",
|
|
571
580
|
"required": false,
|
|
572
581
|
"type": "string",
|
|
@@ -581,7 +590,8 @@
|
|
|
581
590
|
"MODEL_TYPE_OPENAI_API_CHAT",
|
|
582
591
|
"MODEL_TYPE_H2OLLMOPS",
|
|
583
592
|
"MODEL_TYPE_OLLAMA",
|
|
584
|
-
"MODEL_TYPE_AMAZON_BEDROCK"
|
|
593
|
+
"MODEL_TYPE_AMAZON_BEDROCK",
|
|
594
|
+
"MODEL_TYPE_ANTHROPIC_CLAUDE"
|
|
585
595
|
],
|
|
586
596
|
"default": "MODEL_TYPE_UNSPECIFIED"
|
|
587
597
|
},
|
|
@@ -713,7 +723,7 @@
|
|
|
713
723
|
},
|
|
714
724
|
{
|
|
715
725
|
"name": "model.type",
|
|
716
|
-
"description": "Immutable. Type of this Model.\n\n - MODEL_TYPE_UNSPECIFIED: Unspecified type.\n - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG.\n - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG.\n - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM.\n - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM.\n - MODEL_TYPE_OPENAI_CHAT: OpenAI chat.\n - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat.\n - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat.\n - MODEL_TYPE_H2OLLMOPS: H2O LLMOps.\n - MODEL_TYPE_OLLAMA: Ollama.\n - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock.",
|
|
726
|
+
"description": "Immutable. Type of this Model.\n\n - MODEL_TYPE_UNSPECIFIED: Unspecified type.\n - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG.\n - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG.\n - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM.\n - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM.\n - MODEL_TYPE_OPENAI_CHAT: OpenAI chat.\n - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat.\n - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat.\n - MODEL_TYPE_H2OLLMOPS: H2O LLMOps.\n - MODEL_TYPE_OLLAMA: Ollama.\n - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock.\n - MODEL_TYPE_ANTHROPIC_CLAUDE: Anthropic Claude chat.",
|
|
717
727
|
"in": "query",
|
|
718
728
|
"required": false,
|
|
719
729
|
"type": "string",
|
|
@@ -728,7 +738,8 @@
|
|
|
728
738
|
"MODEL_TYPE_OPENAI_API_CHAT",
|
|
729
739
|
"MODEL_TYPE_H2OLLMOPS",
|
|
730
740
|
"MODEL_TYPE_OLLAMA",
|
|
731
|
-
"MODEL_TYPE_AMAZON_BEDROCK"
|
|
741
|
+
"MODEL_TYPE_AMAZON_BEDROCK",
|
|
742
|
+
"MODEL_TYPE_ANTHROPIC_CLAUDE"
|
|
732
743
|
],
|
|
733
744
|
"default": "MODEL_TYPE_UNSPECIFIED"
|
|
734
745
|
},
|
|
@@ -874,6 +885,38 @@
|
|
|
874
885
|
]
|
|
875
886
|
}
|
|
876
887
|
},
|
|
888
|
+
"/v1/leaderboardReports:compare": {
|
|
889
|
+
"post": {
|
|
890
|
+
"operationId": "LeaderboardReportService_CmpLeaderboardReports",
|
|
891
|
+
"responses": {
|
|
892
|
+
"200": {
|
|
893
|
+
"description": "A successful response.",
|
|
894
|
+
"schema": {
|
|
895
|
+
"$ref": "#/definitions/v1CmpLeaderboardReportsResponse"
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
"default": {
|
|
899
|
+
"description": "An unexpected error response.",
|
|
900
|
+
"schema": {
|
|
901
|
+
"$ref": "#/definitions/rpcStatus"
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
"parameters": [
|
|
906
|
+
{
|
|
907
|
+
"name": "body",
|
|
908
|
+
"in": "body",
|
|
909
|
+
"required": true,
|
|
910
|
+
"schema": {
|
|
911
|
+
"$ref": "#/definitions/v1CmpLeaderboardReportsRequest"
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
],
|
|
915
|
+
"tags": [
|
|
916
|
+
"LeaderboardReportService"
|
|
917
|
+
]
|
|
918
|
+
}
|
|
919
|
+
},
|
|
877
920
|
"/v1/leaderboards": {
|
|
878
921
|
"get": {
|
|
879
922
|
"operationId": "LeaderboardService_ListLeaderboards",
|
|
@@ -1004,6 +1047,38 @@
|
|
|
1004
1047
|
]
|
|
1005
1048
|
}
|
|
1006
1049
|
},
|
|
1050
|
+
"/v1/leaderboards:batchCreateWithoutCache": {
|
|
1051
|
+
"post": {
|
|
1052
|
+
"operationId": "LeaderboardService_BatchCreateLeaderboardsWithoutCache",
|
|
1053
|
+
"responses": {
|
|
1054
|
+
"200": {
|
|
1055
|
+
"description": "A successful response.",
|
|
1056
|
+
"schema": {
|
|
1057
|
+
"$ref": "#/definitions/v1BatchCreateLeaderboardsWithoutCacheResponse"
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
1060
|
+
"default": {
|
|
1061
|
+
"description": "An unexpected error response.",
|
|
1062
|
+
"schema": {
|
|
1063
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"parameters": [
|
|
1068
|
+
{
|
|
1069
|
+
"name": "body",
|
|
1070
|
+
"in": "body",
|
|
1071
|
+
"required": true,
|
|
1072
|
+
"schema": {
|
|
1073
|
+
"$ref": "#/definitions/v1BatchCreateLeaderboardsWithoutCacheRequest"
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
],
|
|
1077
|
+
"tags": [
|
|
1078
|
+
"LeaderboardService"
|
|
1079
|
+
]
|
|
1080
|
+
}
|
|
1081
|
+
},
|
|
1007
1082
|
"/v1/leaderboards:batchDelete": {
|
|
1008
1083
|
"post": {
|
|
1009
1084
|
"operationId": "LeaderboardService_BatchDeleteLeaderboards",
|
|
@@ -1117,6 +1192,38 @@
|
|
|
1117
1192
|
]
|
|
1118
1193
|
}
|
|
1119
1194
|
},
|
|
1195
|
+
"/v1/leaderboards:deepCompare": {
|
|
1196
|
+
"post": {
|
|
1197
|
+
"operationId": "LeaderboardService_DeepCompareLeaderboards",
|
|
1198
|
+
"responses": {
|
|
1199
|
+
"200": {
|
|
1200
|
+
"description": "A successful response.",
|
|
1201
|
+
"schema": {
|
|
1202
|
+
"$ref": "#/definitions/v1DeepCompareLeaderboardsResponse"
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
"default": {
|
|
1206
|
+
"description": "An unexpected error response.",
|
|
1207
|
+
"schema": {
|
|
1208
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
"parameters": [
|
|
1213
|
+
{
|
|
1214
|
+
"name": "body",
|
|
1215
|
+
"in": "body",
|
|
1216
|
+
"required": true,
|
|
1217
|
+
"schema": {
|
|
1218
|
+
"$ref": "#/definitions/v1DeepCompareLeaderboardsRequest"
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
],
|
|
1222
|
+
"tags": [
|
|
1223
|
+
"LeaderboardService"
|
|
1224
|
+
]
|
|
1225
|
+
}
|
|
1226
|
+
},
|
|
1120
1227
|
"/v1/leaderboards:import": {
|
|
1121
1228
|
"post": {
|
|
1122
1229
|
"operationId": "LeaderboardService_ImportLeaderboard",
|
|
@@ -1506,6 +1613,16 @@
|
|
|
1506
1613
|
}
|
|
1507
1614
|
}
|
|
1508
1615
|
},
|
|
1616
|
+
"parameters": [
|
|
1617
|
+
{
|
|
1618
|
+
"name": "pageSize",
|
|
1619
|
+
"description": "The maximum number of Operations to return. The service may return fewer than this value, even\nif more are available. If unspecified, the default page size is unlimited.",
|
|
1620
|
+
"in": "query",
|
|
1621
|
+
"required": false,
|
|
1622
|
+
"type": "integer",
|
|
1623
|
+
"format": "int32"
|
|
1624
|
+
}
|
|
1625
|
+
],
|
|
1509
1626
|
"tags": [
|
|
1510
1627
|
"OperationService"
|
|
1511
1628
|
]
|
|
@@ -1546,6 +1663,86 @@
|
|
|
1546
1663
|
]
|
|
1547
1664
|
}
|
|
1548
1665
|
},
|
|
1666
|
+
"/v1/operations:batchMarkSeenByCreator": {
|
|
1667
|
+
"post": {
|
|
1668
|
+
"operationId": "OperationService_BatchMarkOperationSeenByCreator",
|
|
1669
|
+
"responses": {
|
|
1670
|
+
"200": {
|
|
1671
|
+
"description": "A successful response.",
|
|
1672
|
+
"schema": {
|
|
1673
|
+
"$ref": "#/definitions/v1BatchMarkOperationSeenByCreatorResponse"
|
|
1674
|
+
}
|
|
1675
|
+
},
|
|
1676
|
+
"default": {
|
|
1677
|
+
"description": "An unexpected error response.",
|
|
1678
|
+
"schema": {
|
|
1679
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1683
|
+
"parameters": [
|
|
1684
|
+
{
|
|
1685
|
+
"name": "names",
|
|
1686
|
+
"description": "Required. The names of the Operations to mark as seen. A maximum of 1000 can be specified.",
|
|
1687
|
+
"in": "query",
|
|
1688
|
+
"required": false,
|
|
1689
|
+
"type": "array",
|
|
1690
|
+
"items": {
|
|
1691
|
+
"type": "string"
|
|
1692
|
+
},
|
|
1693
|
+
"collectionFormat": "multi"
|
|
1694
|
+
}
|
|
1695
|
+
],
|
|
1696
|
+
"tags": [
|
|
1697
|
+
"OperationService"
|
|
1698
|
+
]
|
|
1699
|
+
}
|
|
1700
|
+
},
|
|
1701
|
+
"/v1/operations:unseen": {
|
|
1702
|
+
"get": {
|
|
1703
|
+
"operationId": "OperationService_ListUnseenOperations",
|
|
1704
|
+
"responses": {
|
|
1705
|
+
"200": {
|
|
1706
|
+
"description": "A successful response.",
|
|
1707
|
+
"schema": {
|
|
1708
|
+
"$ref": "#/definitions/v1ListUnseenOperationsResponse"
|
|
1709
|
+
}
|
|
1710
|
+
},
|
|
1711
|
+
"default": {
|
|
1712
|
+
"description": "An unexpected error response.",
|
|
1713
|
+
"schema": {
|
|
1714
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1717
|
+
},
|
|
1718
|
+
"parameters": [
|
|
1719
|
+
{
|
|
1720
|
+
"name": "pageSize",
|
|
1721
|
+
"description": "The maximum number of Operations to return. The service may return fewer than this value, even\nif more are available. If unspecified, the default page size is unlimited.",
|
|
1722
|
+
"in": "query",
|
|
1723
|
+
"required": false,
|
|
1724
|
+
"type": "integer",
|
|
1725
|
+
"format": "int32"
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"name": "view",
|
|
1729
|
+
"description": "The level of detail for each Operation in the response. Defaults to OPERATION_VIEW_FULL.\n\n - OPERATION_VIEW_UNSPECIFIED: Default / unset value. The API will default to the OPERATION_VIEW_FULL.\n - OPERATION_VIEW_BASIC: Include basic metadata about the Operation, but not the response.\n - OPERATION_VIEW_FULL: Include everything.",
|
|
1730
|
+
"in": "query",
|
|
1731
|
+
"required": false,
|
|
1732
|
+
"type": "string",
|
|
1733
|
+
"enum": [
|
|
1734
|
+
"OPERATION_VIEW_UNSPECIFIED",
|
|
1735
|
+
"OPERATION_VIEW_BASIC",
|
|
1736
|
+
"OPERATION_VIEW_FULL"
|
|
1737
|
+
],
|
|
1738
|
+
"default": "OPERATION_VIEW_UNSPECIFIED"
|
|
1739
|
+
}
|
|
1740
|
+
],
|
|
1741
|
+
"tags": [
|
|
1742
|
+
"OperationService"
|
|
1743
|
+
]
|
|
1744
|
+
}
|
|
1745
|
+
},
|
|
1549
1746
|
"/v1/perturbators": {
|
|
1550
1747
|
"get": {
|
|
1551
1748
|
"operationId": "PerturbatorService_ListPerturbators",
|
|
@@ -1646,7 +1843,7 @@
|
|
|
1646
1843
|
},
|
|
1647
1844
|
{
|
|
1648
1845
|
"name": "defaultH2ogpteModel.type",
|
|
1649
|
-
"description": "Immutable. Type of this Model.\n\n - MODEL_TYPE_UNSPECIFIED: Unspecified type.\n - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG.\n - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG.\n - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM.\n - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM.\n - MODEL_TYPE_OPENAI_CHAT: OpenAI chat.\n - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat.\n - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat.\n - MODEL_TYPE_H2OLLMOPS: H2O LLMOps.\n - MODEL_TYPE_OLLAMA: Ollama.\n - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock.",
|
|
1846
|
+
"description": "Immutable. Type of this Model.\n\n - MODEL_TYPE_UNSPECIFIED: Unspecified type.\n - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG.\n - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG.\n - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM.\n - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM.\n - MODEL_TYPE_OPENAI_CHAT: OpenAI chat.\n - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat.\n - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat.\n - MODEL_TYPE_H2OLLMOPS: H2O LLMOps.\n - MODEL_TYPE_OLLAMA: Ollama.\n - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock.\n - MODEL_TYPE_ANTHROPIC_CLAUDE: Anthropic Claude chat.",
|
|
1650
1847
|
"in": "query",
|
|
1651
1848
|
"required": false,
|
|
1652
1849
|
"type": "string",
|
|
@@ -1661,7 +1858,8 @@
|
|
|
1661
1858
|
"MODEL_TYPE_OPENAI_API_CHAT",
|
|
1662
1859
|
"MODEL_TYPE_H2OLLMOPS",
|
|
1663
1860
|
"MODEL_TYPE_OLLAMA",
|
|
1664
|
-
"MODEL_TYPE_AMAZON_BEDROCK"
|
|
1861
|
+
"MODEL_TYPE_AMAZON_BEDROCK",
|
|
1862
|
+
"MODEL_TYPE_ANTHROPIC_CLAUDE"
|
|
1665
1863
|
],
|
|
1666
1864
|
"default": "MODEL_TYPE_UNSPECIFIED"
|
|
1667
1865
|
},
|
|
@@ -2151,6 +2349,38 @@
|
|
|
2151
2349
|
]
|
|
2152
2350
|
}
|
|
2153
2351
|
},
|
|
2352
|
+
"/v1/tests:createTestFromTestCases": {
|
|
2353
|
+
"post": {
|
|
2354
|
+
"operationId": "TestService_CreateTestFromTestCases",
|
|
2355
|
+
"responses": {
|
|
2356
|
+
"200": {
|
|
2357
|
+
"description": "A successful response.",
|
|
2358
|
+
"schema": {
|
|
2359
|
+
"$ref": "#/definitions/v1CreateTestFromTestCasesResponse"
|
|
2360
|
+
}
|
|
2361
|
+
},
|
|
2362
|
+
"default": {
|
|
2363
|
+
"description": "An unexpected error response.",
|
|
2364
|
+
"schema": {
|
|
2365
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2366
|
+
}
|
|
2367
|
+
}
|
|
2368
|
+
},
|
|
2369
|
+
"parameters": [
|
|
2370
|
+
{
|
|
2371
|
+
"name": "body",
|
|
2372
|
+
"in": "body",
|
|
2373
|
+
"required": true,
|
|
2374
|
+
"schema": {
|
|
2375
|
+
"$ref": "#/definitions/v1CreateTestFromTestCasesRequest"
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2378
|
+
],
|
|
2379
|
+
"tags": [
|
|
2380
|
+
"TestService"
|
|
2381
|
+
]
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2154
2384
|
"/v1/tests:mostRecent": {
|
|
2155
2385
|
"get": {
|
|
2156
2386
|
"operationId": "TestService_ListMostRecentTests",
|
|
@@ -2575,14 +2805,14 @@
|
|
|
2575
2805
|
]
|
|
2576
2806
|
}
|
|
2577
2807
|
},
|
|
2578
|
-
"/v1/{
|
|
2579
|
-
"
|
|
2580
|
-
"operationId": "
|
|
2808
|
+
"/v1/{dashboardTestCaseAnnotation.name}": {
|
|
2809
|
+
"post": {
|
|
2810
|
+
"operationId": "DashboardTestCaseAnnotationService_UpdateDashboardTestCaseAnnotation",
|
|
2581
2811
|
"responses": {
|
|
2582
2812
|
"200": {
|
|
2583
2813
|
"description": "A successful response.",
|
|
2584
2814
|
"schema": {
|
|
2585
|
-
"$ref": "#/definitions/
|
|
2815
|
+
"$ref": "#/definitions/v1UpdateDashboardTestCaseAnnotationResponse"
|
|
2586
2816
|
}
|
|
2587
2817
|
},
|
|
2588
2818
|
"default": {
|
|
@@ -2594,16 +2824,16 @@
|
|
|
2594
2824
|
},
|
|
2595
2825
|
"parameters": [
|
|
2596
2826
|
{
|
|
2597
|
-
"name": "
|
|
2598
|
-
"description": "Output only. Name of the
|
|
2827
|
+
"name": "dashboardTestCaseAnnotation.name",
|
|
2828
|
+
"description": "Output only. Name of the DashboardTestCaseAnnotation resource. e.g.: \"dashboards/\u003cUUID\u003e/testCases/\u003cUUID\u003e/annotations/\u003cUUID\u003e\"",
|
|
2599
2829
|
"in": "path",
|
|
2600
2830
|
"required": true,
|
|
2601
2831
|
"type": "string",
|
|
2602
|
-
"pattern": "
|
|
2832
|
+
"pattern": "dashboards/[^/]+/testCases/[^/]+/annotations/[^/]+"
|
|
2603
2833
|
},
|
|
2604
2834
|
{
|
|
2605
|
-
"name": "
|
|
2606
|
-
"description": "Required. The
|
|
2835
|
+
"name": "dashboardTestCaseAnnotation",
|
|
2836
|
+
"description": "Required. The DashboardTestCaseAnnotation to update.",
|
|
2607
2837
|
"in": "body",
|
|
2608
2838
|
"required": true,
|
|
2609
2839
|
"schema": {
|
|
@@ -2612,67 +2842,68 @@
|
|
|
2612
2842
|
"createTime": {
|
|
2613
2843
|
"type": "string",
|
|
2614
2844
|
"format": "date-time",
|
|
2615
|
-
"description": "Output only. Timestamp when the
|
|
2845
|
+
"description": "Output only. Timestamp when the DashboardTestCaseAnnotation was created.",
|
|
2616
2846
|
"readOnly": true
|
|
2617
2847
|
},
|
|
2618
2848
|
"creator": {
|
|
2619
2849
|
"type": "string",
|
|
2620
|
-
"description": "Output only. Name of the user or service that requested creation of the
|
|
2850
|
+
"description": "Output only. Name of the user or service that requested creation of the DashboardTestCaseAnnotation.",
|
|
2621
2851
|
"readOnly": true
|
|
2622
2852
|
},
|
|
2623
2853
|
"updateTime": {
|
|
2624
2854
|
"type": "string",
|
|
2625
2855
|
"format": "date-time",
|
|
2626
|
-
"description": "Output only. Optional. Timestamp when the
|
|
2856
|
+
"description": "Output only. Optional. Timestamp when the DashboardTestCaseAnnotation was last updated.",
|
|
2627
2857
|
"readOnly": true
|
|
2628
2858
|
},
|
|
2629
2859
|
"updater": {
|
|
2630
2860
|
"type": "string",
|
|
2631
|
-
"description": "Output only. Optional. Name of the user or service that requested update of the
|
|
2632
|
-
"readOnly": true
|
|
2633
|
-
},
|
|
2634
|
-
"deleteTime": {
|
|
2635
|
-
"type": "string",
|
|
2636
|
-
"format": "date-time",
|
|
2637
|
-
"description": "Output only. Optional. Set when the Document is deleted. When set Document should be considered\nas deleted.",
|
|
2638
|
-
"readOnly": true
|
|
2639
|
-
},
|
|
2640
|
-
"deleter": {
|
|
2641
|
-
"type": "string",
|
|
2642
|
-
"description": "Output only. Optional. Name of the user or service that requested deletion of the Document.",
|
|
2861
|
+
"description": "Output only. Optional. Name of the user or service that requested update of the DashboardTestCaseAnnotation.",
|
|
2643
2862
|
"readOnly": true
|
|
2644
2863
|
},
|
|
2645
|
-
"
|
|
2864
|
+
"parent": {
|
|
2646
2865
|
"type": "string",
|
|
2647
|
-
"description": "
|
|
2866
|
+
"description": "Parent Dashboard Test Case resource name. e.g.: \"dashboards/\u003cUUID\u003e/testCases/\u003cUUID\u003e\"."
|
|
2648
2867
|
},
|
|
2649
|
-
"
|
|
2868
|
+
"key": {
|
|
2650
2869
|
"type": "string",
|
|
2651
|
-
"description": "
|
|
2870
|
+
"description": "Immutable. Annotation key."
|
|
2652
2871
|
},
|
|
2653
|
-
"
|
|
2654
|
-
"
|
|
2655
|
-
"description": "Required. Immutable. Absolute URL where the document can be downloaded. The format\n'//eval-studio/documents/\u003cUUID\u003e' is used for documents uploaded to Eval Studio. It is the\nresponsibility of the client to convert this to a valid URL before downloading."
|
|
2872
|
+
"value": {
|
|
2873
|
+
"description": "Annotation value."
|
|
2656
2874
|
}
|
|
2657
2875
|
},
|
|
2658
|
-
"
|
|
2659
|
-
"title": "Required. The Document to update."
|
|
2876
|
+
"title": "Required. The DashboardTestCaseAnnotation to update."
|
|
2660
2877
|
}
|
|
2878
|
+
},
|
|
2879
|
+
{
|
|
2880
|
+
"name": "updateMask",
|
|
2881
|
+
"description": "Optional. The list of fields to update. If empty, all modifiable fields will be updated. The\nfollowing fields can be updated:\n\n- value",
|
|
2882
|
+
"in": "query",
|
|
2883
|
+
"required": false,
|
|
2884
|
+
"type": "string"
|
|
2885
|
+
},
|
|
2886
|
+
{
|
|
2887
|
+
"name": "allowMissing",
|
|
2888
|
+
"description": "Optional. If true, the request is allowed to create a new DashboardTestCaseAnnotation if it\nis not found.",
|
|
2889
|
+
"in": "query",
|
|
2890
|
+
"required": false,
|
|
2891
|
+
"type": "boolean"
|
|
2661
2892
|
}
|
|
2662
2893
|
],
|
|
2663
2894
|
"tags": [
|
|
2664
|
-
"
|
|
2895
|
+
"DashboardTestCaseAnnotationService"
|
|
2665
2896
|
]
|
|
2666
2897
|
}
|
|
2667
2898
|
},
|
|
2668
|
-
"/v1/{
|
|
2899
|
+
"/v1/{document.name}": {
|
|
2669
2900
|
"patch": {
|
|
2670
|
-
"operationId": "
|
|
2901
|
+
"operationId": "DocumentService_UpdateDocument",
|
|
2671
2902
|
"responses": {
|
|
2672
2903
|
"200": {
|
|
2673
2904
|
"description": "A successful response.",
|
|
2674
2905
|
"schema": {
|
|
2675
|
-
"$ref": "#/definitions/
|
|
2906
|
+
"$ref": "#/definitions/v1UpdateDocumentResponse"
|
|
2676
2907
|
}
|
|
2677
2908
|
},
|
|
2678
2909
|
"default": {
|
|
@@ -2684,16 +2915,106 @@
|
|
|
2684
2915
|
},
|
|
2685
2916
|
"parameters": [
|
|
2686
2917
|
{
|
|
2687
|
-
"name": "
|
|
2688
|
-
"description": "Output only. Name of the
|
|
2918
|
+
"name": "document.name",
|
|
2919
|
+
"description": "Output only. Name of the Document resource. e.g.: \"documents/\u003cUUID\u003e\"",
|
|
2689
2920
|
"in": "path",
|
|
2690
2921
|
"required": true,
|
|
2691
2922
|
"type": "string",
|
|
2692
|
-
"pattern": "
|
|
2923
|
+
"pattern": "documents/[^/]+"
|
|
2693
2924
|
},
|
|
2694
2925
|
{
|
|
2695
|
-
"name": "
|
|
2696
|
-
"description": "Required. The
|
|
2926
|
+
"name": "document",
|
|
2927
|
+
"description": "Required. The Document to update.\n\nThe Document's name field is used to identify the Document to be updated. Format:\ndocuments/{document}",
|
|
2928
|
+
"in": "body",
|
|
2929
|
+
"required": true,
|
|
2930
|
+
"schema": {
|
|
2931
|
+
"type": "object",
|
|
2932
|
+
"properties": {
|
|
2933
|
+
"createTime": {
|
|
2934
|
+
"type": "string",
|
|
2935
|
+
"format": "date-time",
|
|
2936
|
+
"description": "Output only. Timestamp when the Document was created.",
|
|
2937
|
+
"readOnly": true
|
|
2938
|
+
},
|
|
2939
|
+
"creator": {
|
|
2940
|
+
"type": "string",
|
|
2941
|
+
"description": "Output only. Name of the user or service that requested creation of the Document.",
|
|
2942
|
+
"readOnly": true
|
|
2943
|
+
},
|
|
2944
|
+
"updateTime": {
|
|
2945
|
+
"type": "string",
|
|
2946
|
+
"format": "date-time",
|
|
2947
|
+
"description": "Output only. Optional. Timestamp when the Document was last updated.",
|
|
2948
|
+
"readOnly": true
|
|
2949
|
+
},
|
|
2950
|
+
"updater": {
|
|
2951
|
+
"type": "string",
|
|
2952
|
+
"description": "Output only. Optional. Name of the user or service that requested update of the Document.",
|
|
2953
|
+
"readOnly": true
|
|
2954
|
+
},
|
|
2955
|
+
"deleteTime": {
|
|
2956
|
+
"type": "string",
|
|
2957
|
+
"format": "date-time",
|
|
2958
|
+
"description": "Output only. Optional. Set when the Document is deleted. When set Document should be considered\nas deleted.",
|
|
2959
|
+
"readOnly": true
|
|
2960
|
+
},
|
|
2961
|
+
"deleter": {
|
|
2962
|
+
"type": "string",
|
|
2963
|
+
"description": "Output only. Optional. Name of the user or service that requested deletion of the Document.",
|
|
2964
|
+
"readOnly": true
|
|
2965
|
+
},
|
|
2966
|
+
"displayName": {
|
|
2967
|
+
"type": "string",
|
|
2968
|
+
"description": "Human readable name of the Document."
|
|
2969
|
+
},
|
|
2970
|
+
"description": {
|
|
2971
|
+
"type": "string",
|
|
2972
|
+
"description": "Optional. Arbitrary description of the Document."
|
|
2973
|
+
},
|
|
2974
|
+
"url": {
|
|
2975
|
+
"type": "string",
|
|
2976
|
+
"description": "Required. Immutable. Absolute URL where the document can be downloaded. The format\n'//eval-studio/documents/\u003cUUID\u003e' is used for documents uploaded to Eval Studio. It is the\nresponsibility of the client to convert this to a valid URL before downloading."
|
|
2977
|
+
}
|
|
2978
|
+
},
|
|
2979
|
+
"description": "The Document's name field is used to identify the Document to be updated. Format:\ndocuments/{document}",
|
|
2980
|
+
"title": "Required. The Document to update."
|
|
2981
|
+
}
|
|
2982
|
+
}
|
|
2983
|
+
],
|
|
2984
|
+
"tags": [
|
|
2985
|
+
"DocumentService"
|
|
2986
|
+
]
|
|
2987
|
+
}
|
|
2988
|
+
},
|
|
2989
|
+
"/v1/{leaderboard.name}": {
|
|
2990
|
+
"patch": {
|
|
2991
|
+
"operationId": "LeaderboardService_UpdateLeaderboard",
|
|
2992
|
+
"responses": {
|
|
2993
|
+
"200": {
|
|
2994
|
+
"description": "A successful response.",
|
|
2995
|
+
"schema": {
|
|
2996
|
+
"$ref": "#/definitions/v1UpdateLeaderboardResponse"
|
|
2997
|
+
}
|
|
2998
|
+
},
|
|
2999
|
+
"default": {
|
|
3000
|
+
"description": "An unexpected error response.",
|
|
3001
|
+
"schema": {
|
|
3002
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3003
|
+
}
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
3006
|
+
"parameters": [
|
|
3007
|
+
{
|
|
3008
|
+
"name": "leaderboard.name",
|
|
3009
|
+
"description": "Output only. Name of the Leaderboard resource. e.g.: \"leaderboards/\u003cUUID\u003e\"",
|
|
3010
|
+
"in": "path",
|
|
3011
|
+
"required": true,
|
|
3012
|
+
"type": "string",
|
|
3013
|
+
"pattern": "leaderboards/[^/]+"
|
|
3014
|
+
},
|
|
3015
|
+
{
|
|
3016
|
+
"name": "leaderboard",
|
|
3017
|
+
"description": "Required. The Leaderboard to update.\n\nThe Leaderboard's `name` field is used to identify the Leaderboard to update.\nFormat: leaderboards/{leaderboard}",
|
|
2697
3018
|
"in": "body",
|
|
2698
3019
|
"required": true,
|
|
2699
3020
|
"schema": {
|
|
@@ -2828,6 +3149,10 @@
|
|
|
2828
3149
|
"testLab": {
|
|
2829
3150
|
"type": "string",
|
|
2830
3151
|
"description": "Optional. Resource name of the TestLab if Leaderboard was created from a imported TestLab."
|
|
3152
|
+
},
|
|
3153
|
+
"evaluationType": {
|
|
3154
|
+
"$ref": "#/definitions/v1EvaluationType",
|
|
3155
|
+
"description": "Optional. Type of the evaluation. If not specified, defaults to type of the Model used, or LLM if unspecified."
|
|
2831
3156
|
}
|
|
2832
3157
|
},
|
|
2833
3158
|
"description": "The Leaderboard's `name` field is used to identify the Leaderboard to update.\nFormat: leaderboards/{leaderboard}",
|
|
@@ -2840,6 +3165,97 @@
|
|
|
2840
3165
|
]
|
|
2841
3166
|
}
|
|
2842
3167
|
},
|
|
3168
|
+
"/v1/{leaderboardTestCaseAnnotation.name}": {
|
|
3169
|
+
"post": {
|
|
3170
|
+
"operationId": "LeaderboardTestCaseAnnotationService_UpdateLeaderboardTestCaseAnnotation",
|
|
3171
|
+
"responses": {
|
|
3172
|
+
"200": {
|
|
3173
|
+
"description": "A successful response.",
|
|
3174
|
+
"schema": {
|
|
3175
|
+
"$ref": "#/definitions/v1UpdateLeaderboardTestCaseAnnotationResponse"
|
|
3176
|
+
}
|
|
3177
|
+
},
|
|
3178
|
+
"default": {
|
|
3179
|
+
"description": "An unexpected error response.",
|
|
3180
|
+
"schema": {
|
|
3181
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3182
|
+
}
|
|
3183
|
+
}
|
|
3184
|
+
},
|
|
3185
|
+
"parameters": [
|
|
3186
|
+
{
|
|
3187
|
+
"name": "leaderboardTestCaseAnnotation.name",
|
|
3188
|
+
"description": "Output only. Name of the LeaderboardTestCaseAnnotation resource. e.g.: \"leaderboards/\u003cUUID\u003e/testCases/\u003cUUID\u003e/annotations/\u003cUUID\u003e\"",
|
|
3189
|
+
"in": "path",
|
|
3190
|
+
"required": true,
|
|
3191
|
+
"type": "string",
|
|
3192
|
+
"pattern": "leaderboards/[^/]+/testCases/[^/]+/annotations/[^/]+"
|
|
3193
|
+
},
|
|
3194
|
+
{
|
|
3195
|
+
"name": "leaderboardTestCaseAnnotation",
|
|
3196
|
+
"description": "Required. The LeaderboardTestCaseAnnotation to update.",
|
|
3197
|
+
"in": "body",
|
|
3198
|
+
"required": true,
|
|
3199
|
+
"schema": {
|
|
3200
|
+
"type": "object",
|
|
3201
|
+
"properties": {
|
|
3202
|
+
"createTime": {
|
|
3203
|
+
"type": "string",
|
|
3204
|
+
"format": "date-time",
|
|
3205
|
+
"description": "Output only. Timestamp when the LeaderboardTestCaseAnnotation was created.",
|
|
3206
|
+
"readOnly": true
|
|
3207
|
+
},
|
|
3208
|
+
"creator": {
|
|
3209
|
+
"type": "string",
|
|
3210
|
+
"description": "Output only. Name of the user or service that requested creation of the LeaderboardTestCaseAnnotation.",
|
|
3211
|
+
"readOnly": true
|
|
3212
|
+
},
|
|
3213
|
+
"updateTime": {
|
|
3214
|
+
"type": "string",
|
|
3215
|
+
"format": "date-time",
|
|
3216
|
+
"description": "Output only. Optional. Timestamp when the LeaderboardTestCaseAnnotation was last updated.",
|
|
3217
|
+
"readOnly": true
|
|
3218
|
+
},
|
|
3219
|
+
"updater": {
|
|
3220
|
+
"type": "string",
|
|
3221
|
+
"description": "Output only. Optional. Name of the user or service that requested update of the LeaderboardTestCaseAnnotation.",
|
|
3222
|
+
"readOnly": true
|
|
3223
|
+
},
|
|
3224
|
+
"parent": {
|
|
3225
|
+
"type": "string",
|
|
3226
|
+
"description": "Parent Leaderboard Test Case resource name. e.g.: \"leaderboards/\u003cUUID\u003e/testCases/\u003cUUID\u003e\"."
|
|
3227
|
+
},
|
|
3228
|
+
"key": {
|
|
3229
|
+
"type": "string",
|
|
3230
|
+
"description": "Immutable. Annotation key."
|
|
3231
|
+
},
|
|
3232
|
+
"value": {
|
|
3233
|
+
"description": "Annotation value."
|
|
3234
|
+
}
|
|
3235
|
+
},
|
|
3236
|
+
"title": "Required. The LeaderboardTestCaseAnnotation to update."
|
|
3237
|
+
}
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
"name": "updateMask",
|
|
3241
|
+
"description": "Optional. The list of fields to update. If empty, all modifiable fields will be updated. The\nfollowing fields can be updated:\n\n- value",
|
|
3242
|
+
"in": "query",
|
|
3243
|
+
"required": false,
|
|
3244
|
+
"type": "string"
|
|
3245
|
+
},
|
|
3246
|
+
{
|
|
3247
|
+
"name": "allowMissing",
|
|
3248
|
+
"description": "Optional. If true, the request is allowed to create a new LeaderboardTestCaseAnnotation if it\nis not found.",
|
|
3249
|
+
"in": "query",
|
|
3250
|
+
"required": false,
|
|
3251
|
+
"type": "boolean"
|
|
3252
|
+
}
|
|
3253
|
+
],
|
|
3254
|
+
"tags": [
|
|
3255
|
+
"LeaderboardTestCaseAnnotationService"
|
|
3256
|
+
]
|
|
3257
|
+
}
|
|
3258
|
+
},
|
|
2843
3259
|
"/v1/{model.name}": {
|
|
2844
3260
|
"patch": {
|
|
2845
3261
|
"operationId": "ModelService_UpdateModel",
|
|
@@ -2947,6 +3363,38 @@
|
|
|
2947
3363
|
}
|
|
2948
3364
|
},
|
|
2949
3365
|
"/v1/{name_10}": {
|
|
3366
|
+
"get": {
|
|
3367
|
+
"operationId": "TestClassService_GetTestClass",
|
|
3368
|
+
"responses": {
|
|
3369
|
+
"200": {
|
|
3370
|
+
"description": "A successful response.",
|
|
3371
|
+
"schema": {
|
|
3372
|
+
"$ref": "#/definitions/v1GetTestClassResponse"
|
|
3373
|
+
}
|
|
3374
|
+
},
|
|
3375
|
+
"default": {
|
|
3376
|
+
"description": "An unexpected error response.",
|
|
3377
|
+
"schema": {
|
|
3378
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3379
|
+
}
|
|
3380
|
+
}
|
|
3381
|
+
},
|
|
3382
|
+
"parameters": [
|
|
3383
|
+
{
|
|
3384
|
+
"name": "name_10",
|
|
3385
|
+
"description": "The name of the TestClass to retrieve.\nFormat: testClasses/\u003cUUID\u003e",
|
|
3386
|
+
"in": "path",
|
|
3387
|
+
"required": true,
|
|
3388
|
+
"type": "string",
|
|
3389
|
+
"pattern": "testClasses/[^/]+"
|
|
3390
|
+
}
|
|
3391
|
+
],
|
|
3392
|
+
"tags": [
|
|
3393
|
+
"TestClassService"
|
|
3394
|
+
]
|
|
3395
|
+
}
|
|
3396
|
+
},
|
|
3397
|
+
"/v1/{name_11}": {
|
|
2950
3398
|
"get": {
|
|
2951
3399
|
"operationId": "TestService_GetTest",
|
|
2952
3400
|
"responses": {
|
|
@@ -2965,7 +3413,7 @@
|
|
|
2965
3413
|
},
|
|
2966
3414
|
"parameters": [
|
|
2967
3415
|
{
|
|
2968
|
-
"name": "
|
|
3416
|
+
"name": "name_11",
|
|
2969
3417
|
"description": "Required. The name of the Test to retrieve.",
|
|
2970
3418
|
"in": "path",
|
|
2971
3419
|
"required": true,
|
|
@@ -2978,7 +3426,7 @@
|
|
|
2978
3426
|
]
|
|
2979
3427
|
}
|
|
2980
3428
|
},
|
|
2981
|
-
"/v1/{
|
|
3429
|
+
"/v1/{name_12}": {
|
|
2982
3430
|
"get": {
|
|
2983
3431
|
"summary": "GetWorkflowNode retrieves a WorkflowNode by name. Deleted WorkflowNode is returned without\nerror, it has a delete_time and deleter fields set.",
|
|
2984
3432
|
"operationId": "WorkflowNodeService_GetWorkflowNode",
|
|
@@ -2998,7 +3446,7 @@
|
|
|
2998
3446
|
},
|
|
2999
3447
|
"parameters": [
|
|
3000
3448
|
{
|
|
3001
|
-
"name": "
|
|
3449
|
+
"name": "name_12",
|
|
3002
3450
|
"description": "Required. The name of the WorkflowNode to retrieve.",
|
|
3003
3451
|
"in": "path",
|
|
3004
3452
|
"required": true,
|
|
@@ -3024,7 +3472,7 @@
|
|
|
3024
3472
|
]
|
|
3025
3473
|
}
|
|
3026
3474
|
},
|
|
3027
|
-
"/v1/{
|
|
3475
|
+
"/v1/{name_13}": {
|
|
3028
3476
|
"get": {
|
|
3029
3477
|
"summary": "GetWorkflow retrieves a Workflow by name. Deleted Workflow is returned without error, it has a\ndelete_time and deleter fields set.",
|
|
3030
3478
|
"operationId": "WorkflowService_GetWorkflow",
|
|
@@ -3044,7 +3492,7 @@
|
|
|
3044
3492
|
},
|
|
3045
3493
|
"parameters": [
|
|
3046
3494
|
{
|
|
3047
|
-
"name": "
|
|
3495
|
+
"name": "name_13",
|
|
3048
3496
|
"description": "Required. The name of the Workflow to retrieve.",
|
|
3049
3497
|
"in": "path",
|
|
3050
3498
|
"required": true,
|
|
@@ -3059,12 +3507,12 @@
|
|
|
3059
3507
|
},
|
|
3060
3508
|
"/v1/{name_1}": {
|
|
3061
3509
|
"get": {
|
|
3062
|
-
"operationId": "
|
|
3510
|
+
"operationId": "DashboardService_GetDashboard",
|
|
3063
3511
|
"responses": {
|
|
3064
3512
|
"200": {
|
|
3065
3513
|
"description": "A successful response.",
|
|
3066
3514
|
"schema": {
|
|
3067
|
-
"$ref": "#/definitions/
|
|
3515
|
+
"$ref": "#/definitions/v1GetDashboardResponse"
|
|
3068
3516
|
}
|
|
3069
3517
|
},
|
|
3070
3518
|
"default": {
|
|
@@ -3077,15 +3525,15 @@
|
|
|
3077
3525
|
"parameters": [
|
|
3078
3526
|
{
|
|
3079
3527
|
"name": "name_1",
|
|
3080
|
-
"description": "Required. The name of the
|
|
3528
|
+
"description": "Required. The name of the Dashboard to retrieve.",
|
|
3081
3529
|
"in": "path",
|
|
3082
3530
|
"required": true,
|
|
3083
3531
|
"type": "string",
|
|
3084
|
-
"pattern": "
|
|
3532
|
+
"pattern": "dashboards/[^/]+"
|
|
3085
3533
|
}
|
|
3086
3534
|
],
|
|
3087
3535
|
"tags": [
|
|
3088
|
-
"
|
|
3536
|
+
"DashboardService"
|
|
3089
3537
|
]
|
|
3090
3538
|
},
|
|
3091
3539
|
"delete": {
|
|
@@ -3316,12 +3764,12 @@
|
|
|
3316
3764
|
},
|
|
3317
3765
|
"/v1/{name_2}": {
|
|
3318
3766
|
"get": {
|
|
3319
|
-
"operationId": "
|
|
3767
|
+
"operationId": "DocumentService_GetDocument",
|
|
3320
3768
|
"responses": {
|
|
3321
3769
|
"200": {
|
|
3322
3770
|
"description": "A successful response.",
|
|
3323
3771
|
"schema": {
|
|
3324
|
-
"$ref": "#/definitions/
|
|
3772
|
+
"$ref": "#/definitions/v1GetDocumentResponse"
|
|
3325
3773
|
}
|
|
3326
3774
|
},
|
|
3327
3775
|
"default": {
|
|
@@ -3334,15 +3782,15 @@
|
|
|
3334
3782
|
"parameters": [
|
|
3335
3783
|
{
|
|
3336
3784
|
"name": "name_2",
|
|
3337
|
-
"description": "Required. The name of the
|
|
3785
|
+
"description": "Required. The name of the Document to retrieve.",
|
|
3338
3786
|
"in": "path",
|
|
3339
3787
|
"required": true,
|
|
3340
3788
|
"type": "string",
|
|
3341
|
-
"pattern": "
|
|
3789
|
+
"pattern": "documents/[^/]+"
|
|
3342
3790
|
}
|
|
3343
3791
|
],
|
|
3344
3792
|
"tags": [
|
|
3345
|
-
"
|
|
3793
|
+
"DocumentService"
|
|
3346
3794
|
]
|
|
3347
3795
|
},
|
|
3348
3796
|
"delete": {
|
|
@@ -3513,12 +3961,12 @@
|
|
|
3513
3961
|
},
|
|
3514
3962
|
"/v1/{name_3}": {
|
|
3515
3963
|
"get": {
|
|
3516
|
-
"operationId": "
|
|
3964
|
+
"operationId": "EvaluatorService_GetEvaluator",
|
|
3517
3965
|
"responses": {
|
|
3518
3966
|
"200": {
|
|
3519
3967
|
"description": "A successful response.",
|
|
3520
3968
|
"schema": {
|
|
3521
|
-
"$ref": "#/definitions/
|
|
3969
|
+
"$ref": "#/definitions/v1GetEvaluatorResponse"
|
|
3522
3970
|
}
|
|
3523
3971
|
},
|
|
3524
3972
|
"default": {
|
|
@@ -3531,15 +3979,15 @@
|
|
|
3531
3979
|
"parameters": [
|
|
3532
3980
|
{
|
|
3533
3981
|
"name": "name_3",
|
|
3534
|
-
"description": "Required. The name of the
|
|
3982
|
+
"description": "Required. The name of the Evaluator to retrieve.",
|
|
3535
3983
|
"in": "path",
|
|
3536
3984
|
"required": true,
|
|
3537
3985
|
"type": "string",
|
|
3538
|
-
"pattern": "
|
|
3986
|
+
"pattern": "evaluators/[^/]+"
|
|
3539
3987
|
}
|
|
3540
3988
|
],
|
|
3541
3989
|
"tags": [
|
|
3542
|
-
"
|
|
3990
|
+
"EvaluatorService"
|
|
3543
3991
|
]
|
|
3544
3992
|
},
|
|
3545
3993
|
"delete": {
|
|
@@ -3575,12 +4023,12 @@
|
|
|
3575
4023
|
},
|
|
3576
4024
|
"/v1/{name_4}": {
|
|
3577
4025
|
"get": {
|
|
3578
|
-
"operationId": "
|
|
4026
|
+
"operationId": "LeaderboardReportService_GetLeaderboardReport",
|
|
3579
4027
|
"responses": {
|
|
3580
4028
|
"200": {
|
|
3581
4029
|
"description": "A successful response.",
|
|
3582
4030
|
"schema": {
|
|
3583
|
-
"$ref": "#/definitions/
|
|
4031
|
+
"$ref": "#/definitions/v1GetLeaderboardReportResponse"
|
|
3584
4032
|
}
|
|
3585
4033
|
},
|
|
3586
4034
|
"default": {
|
|
@@ -3597,11 +4045,24 @@
|
|
|
3597
4045
|
"in": "path",
|
|
3598
4046
|
"required": true,
|
|
3599
4047
|
"type": "string",
|
|
3600
|
-
"pattern": "
|
|
4048
|
+
"pattern": "leaderboardReports/[^/]+"
|
|
4049
|
+
},
|
|
4050
|
+
{
|
|
4051
|
+
"name": "view",
|
|
4052
|
+
"description": "Optional. The view of the leaderboard report results to return. Defaults to\nLEADERBOARD_REPORT_RESULT_VIEW_FULL.\n\n - LEADERBOARD_REPORT_RESULT_VIEW_UNSPECIFIED: Default value. The basic view with essential fields.\n - LEADERBOARD_REPORT_RESULT_VIEW_FULL: Full view with all fields populated.\n - LEADERBOARD_REPORT_RESULT_VIEW_SUMMARY: Summary view with only key fields.",
|
|
4053
|
+
"in": "query",
|
|
4054
|
+
"required": false,
|
|
4055
|
+
"type": "string",
|
|
4056
|
+
"enum": [
|
|
4057
|
+
"LEADERBOARD_REPORT_RESULT_VIEW_UNSPECIFIED",
|
|
4058
|
+
"LEADERBOARD_REPORT_RESULT_VIEW_FULL",
|
|
4059
|
+
"LEADERBOARD_REPORT_RESULT_VIEW_SUMMARY"
|
|
4060
|
+
],
|
|
4061
|
+
"default": "LEADERBOARD_REPORT_RESULT_VIEW_UNSPECIFIED"
|
|
3601
4062
|
}
|
|
3602
4063
|
],
|
|
3603
4064
|
"tags": [
|
|
3604
|
-
"
|
|
4065
|
+
"LeaderboardReportService"
|
|
3605
4066
|
]
|
|
3606
4067
|
},
|
|
3607
4068
|
"delete": {
|
|
@@ -3637,12 +4098,12 @@
|
|
|
3637
4098
|
},
|
|
3638
4099
|
"/v1/{name_5}": {
|
|
3639
4100
|
"get": {
|
|
3640
|
-
"operationId": "
|
|
4101
|
+
"operationId": "LeaderboardService_GetLeaderboard",
|
|
3641
4102
|
"responses": {
|
|
3642
4103
|
"200": {
|
|
3643
4104
|
"description": "A successful response.",
|
|
3644
4105
|
"schema": {
|
|
3645
|
-
"$ref": "#/definitions/
|
|
4106
|
+
"$ref": "#/definitions/v1GetLeaderboardResponse"
|
|
3646
4107
|
}
|
|
3647
4108
|
},
|
|
3648
4109
|
"default": {
|
|
@@ -3655,15 +4116,15 @@
|
|
|
3655
4116
|
"parameters": [
|
|
3656
4117
|
{
|
|
3657
4118
|
"name": "name_5",
|
|
3658
|
-
"description": "Required. The name of the
|
|
4119
|
+
"description": "Required. The name of the Leaderboard to retrieve.",
|
|
3659
4120
|
"in": "path",
|
|
3660
4121
|
"required": true,
|
|
3661
4122
|
"type": "string",
|
|
3662
|
-
"pattern": "
|
|
4123
|
+
"pattern": "leaderboards/[^/]+"
|
|
3663
4124
|
}
|
|
3664
4125
|
],
|
|
3665
4126
|
"tags": [
|
|
3666
|
-
"
|
|
4127
|
+
"LeaderboardService"
|
|
3667
4128
|
]
|
|
3668
4129
|
},
|
|
3669
4130
|
"delete": {
|
|
@@ -3699,12 +4160,12 @@
|
|
|
3699
4160
|
},
|
|
3700
4161
|
"/v1/{name_6}": {
|
|
3701
4162
|
"get": {
|
|
3702
|
-
"operationId": "
|
|
4163
|
+
"operationId": "ModelService_GetModel",
|
|
3703
4164
|
"responses": {
|
|
3704
4165
|
"200": {
|
|
3705
4166
|
"description": "A successful response.",
|
|
3706
4167
|
"schema": {
|
|
3707
|
-
"$ref": "#/definitions/
|
|
4168
|
+
"$ref": "#/definitions/v1GetModelResponse"
|
|
3708
4169
|
}
|
|
3709
4170
|
},
|
|
3710
4171
|
"default": {
|
|
@@ -3717,15 +4178,15 @@
|
|
|
3717
4178
|
"parameters": [
|
|
3718
4179
|
{
|
|
3719
4180
|
"name": "name_6",
|
|
3720
|
-
"description": "Required. The name of the
|
|
4181
|
+
"description": "Required. The name of the Model to retrieve.",
|
|
3721
4182
|
"in": "path",
|
|
3722
4183
|
"required": true,
|
|
3723
4184
|
"type": "string",
|
|
3724
|
-
"pattern": "
|
|
4185
|
+
"pattern": "models/[^/]+"
|
|
3725
4186
|
}
|
|
3726
4187
|
],
|
|
3727
4188
|
"tags": [
|
|
3728
|
-
"
|
|
4189
|
+
"ModelService"
|
|
3729
4190
|
]
|
|
3730
4191
|
},
|
|
3731
4192
|
"delete": {
|
|
@@ -3768,12 +4229,12 @@
|
|
|
3768
4229
|
},
|
|
3769
4230
|
"/v1/{name_7}": {
|
|
3770
4231
|
"get": {
|
|
3771
|
-
"operationId": "
|
|
4232
|
+
"operationId": "OperationService_GetOperation",
|
|
3772
4233
|
"responses": {
|
|
3773
4234
|
"200": {
|
|
3774
4235
|
"description": "A successful response.",
|
|
3775
4236
|
"schema": {
|
|
3776
|
-
"$ref": "#/definitions/
|
|
4237
|
+
"$ref": "#/definitions/v1GetOperationResponse"
|
|
3777
4238
|
}
|
|
3778
4239
|
},
|
|
3779
4240
|
"default": {
|
|
@@ -3786,15 +4247,15 @@
|
|
|
3786
4247
|
"parameters": [
|
|
3787
4248
|
{
|
|
3788
4249
|
"name": "name_7",
|
|
3789
|
-
"description": "Required. The name of the
|
|
4250
|
+
"description": "Required. The name of the Operation to retrieve.",
|
|
3790
4251
|
"in": "path",
|
|
3791
4252
|
"required": true,
|
|
3792
4253
|
"type": "string",
|
|
3793
|
-
"pattern": "
|
|
4254
|
+
"pattern": "operations/[^/]+"
|
|
3794
4255
|
}
|
|
3795
4256
|
],
|
|
3796
4257
|
"tags": [
|
|
3797
|
-
"
|
|
4258
|
+
"OperationService"
|
|
3798
4259
|
]
|
|
3799
4260
|
},
|
|
3800
4261
|
"delete": {
|
|
@@ -3831,12 +4292,12 @@
|
|
|
3831
4292
|
},
|
|
3832
4293
|
"/v1/{name_8}": {
|
|
3833
4294
|
"get": {
|
|
3834
|
-
"operationId": "
|
|
4295
|
+
"operationId": "PerturbatorService_GetPerturbator",
|
|
3835
4296
|
"responses": {
|
|
3836
4297
|
"200": {
|
|
3837
4298
|
"description": "A successful response.",
|
|
3838
4299
|
"schema": {
|
|
3839
|
-
"$ref": "#/definitions/
|
|
4300
|
+
"$ref": "#/definitions/v1GetPerturbatorResponse"
|
|
3840
4301
|
}
|
|
3841
4302
|
},
|
|
3842
4303
|
"default": {
|
|
@@ -3849,15 +4310,15 @@
|
|
|
3849
4310
|
"parameters": [
|
|
3850
4311
|
{
|
|
3851
4312
|
"name": "name_8",
|
|
3852
|
-
"description": "The name of the
|
|
4313
|
+
"description": "Required. The name of the Perturbator to retrieve.",
|
|
3853
4314
|
"in": "path",
|
|
3854
4315
|
"required": true,
|
|
3855
4316
|
"type": "string",
|
|
3856
|
-
"pattern": "
|
|
4317
|
+
"pattern": "perturbators/[^/]+"
|
|
3857
4318
|
}
|
|
3858
4319
|
],
|
|
3859
4320
|
"tags": [
|
|
3860
|
-
"
|
|
4321
|
+
"PerturbatorService"
|
|
3861
4322
|
]
|
|
3862
4323
|
},
|
|
3863
4324
|
"delete": {
|
|
@@ -3895,12 +4356,12 @@
|
|
|
3895
4356
|
},
|
|
3896
4357
|
"/v1/{name_9}": {
|
|
3897
4358
|
"get": {
|
|
3898
|
-
"operationId": "
|
|
4359
|
+
"operationId": "TestCaseService_GetTestCase",
|
|
3899
4360
|
"responses": {
|
|
3900
4361
|
"200": {
|
|
3901
4362
|
"description": "A successful response.",
|
|
3902
4363
|
"schema": {
|
|
3903
|
-
"$ref": "#/definitions/
|
|
4364
|
+
"$ref": "#/definitions/v1GetTestCaseResponse"
|
|
3904
4365
|
}
|
|
3905
4366
|
},
|
|
3906
4367
|
"default": {
|
|
@@ -3913,15 +4374,15 @@
|
|
|
3913
4374
|
"parameters": [
|
|
3914
4375
|
{
|
|
3915
4376
|
"name": "name_9",
|
|
3916
|
-
"description": "The name of the
|
|
4377
|
+
"description": "The name of the TestCase to retrieve.\nFormat: tests/\u003cUUID\u003e/testCases/\u003cUUID\u003e",
|
|
3917
4378
|
"in": "path",
|
|
3918
4379
|
"required": true,
|
|
3919
4380
|
"type": "string",
|
|
3920
|
-
"pattern": "
|
|
4381
|
+
"pattern": "tests/[^/]+/testCases/[^/]+"
|
|
3921
4382
|
}
|
|
3922
4383
|
],
|
|
3923
4384
|
"tags": [
|
|
3924
|
-
"
|
|
4385
|
+
"TestCaseService"
|
|
3925
4386
|
]
|
|
3926
4387
|
},
|
|
3927
4388
|
"delete": {
|
|
@@ -3958,12 +4419,12 @@
|
|
|
3958
4419
|
},
|
|
3959
4420
|
"/v1/{name}": {
|
|
3960
4421
|
"get": {
|
|
3961
|
-
"operationId": "
|
|
4422
|
+
"operationId": "DashboardReportService_GetDashboardReport",
|
|
3962
4423
|
"responses": {
|
|
3963
4424
|
"200": {
|
|
3964
4425
|
"description": "A successful response.",
|
|
3965
4426
|
"schema": {
|
|
3966
|
-
"$ref": "#/definitions/
|
|
4427
|
+
"$ref": "#/definitions/v1GetDashboardReportResponse"
|
|
3967
4428
|
}
|
|
3968
4429
|
},
|
|
3969
4430
|
"default": {
|
|
@@ -3980,11 +4441,11 @@
|
|
|
3980
4441
|
"in": "path",
|
|
3981
4442
|
"required": true,
|
|
3982
4443
|
"type": "string",
|
|
3983
|
-
"pattern": "
|
|
4444
|
+
"pattern": "dashboardReports/[^/]+"
|
|
3984
4445
|
}
|
|
3985
4446
|
],
|
|
3986
4447
|
"tags": [
|
|
3987
|
-
"
|
|
4448
|
+
"DashboardReportService"
|
|
3988
4449
|
]
|
|
3989
4450
|
},
|
|
3990
4451
|
"delete": {
|
|
@@ -4735,6 +5196,38 @@
|
|
|
4735
5196
|
]
|
|
4736
5197
|
}
|
|
4737
5198
|
},
|
|
5199
|
+
"/v1/{name}:markSeenByCreator": {
|
|
5200
|
+
"post": {
|
|
5201
|
+
"operationId": "OperationService_MarkOperationSeenByCreator",
|
|
5202
|
+
"responses": {
|
|
5203
|
+
"200": {
|
|
5204
|
+
"description": "A successful response.",
|
|
5205
|
+
"schema": {
|
|
5206
|
+
"$ref": "#/definitions/v1MarkOperationSeenByCreatorResponse"
|
|
5207
|
+
}
|
|
5208
|
+
},
|
|
5209
|
+
"default": {
|
|
5210
|
+
"description": "An unexpected error response.",
|
|
5211
|
+
"schema": {
|
|
5212
|
+
"$ref": "#/definitions/rpcStatus"
|
|
5213
|
+
}
|
|
5214
|
+
}
|
|
5215
|
+
},
|
|
5216
|
+
"parameters": [
|
|
5217
|
+
{
|
|
5218
|
+
"name": "name",
|
|
5219
|
+
"description": "Required. The name of the Operation to mark as seen.",
|
|
5220
|
+
"in": "path",
|
|
5221
|
+
"required": true,
|
|
5222
|
+
"type": "string",
|
|
5223
|
+
"pattern": "operations/[^/]+"
|
|
5224
|
+
}
|
|
5225
|
+
],
|
|
5226
|
+
"tags": [
|
|
5227
|
+
"OperationService"
|
|
5228
|
+
]
|
|
5229
|
+
}
|
|
5230
|
+
},
|
|
4738
5231
|
"/v1/{name}:nodeDependencies": {
|
|
4739
5232
|
"get": {
|
|
4740
5233
|
"summary": "ListWorkflowDependencies lists workflow nodes and map of the node dependencies.",
|
|
@@ -5226,6 +5719,12 @@
|
|
|
5226
5719
|
"response": {
|
|
5227
5720
|
"$ref": "#/definitions/protobufAny",
|
|
5228
5721
|
"description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`."
|
|
5722
|
+
},
|
|
5723
|
+
"seenByCreatorTime": {
|
|
5724
|
+
"type": "string",
|
|
5725
|
+
"format": "date-time",
|
|
5726
|
+
"description": "Output only. Optional. Timestamp when the creator marked the Operation as seen.\nOnce set, this field cannot be changed. Set via MarkOperationSeenByCreator method.",
|
|
5727
|
+
"readOnly": true
|
|
5229
5728
|
}
|
|
5230
5729
|
},
|
|
5231
5730
|
"description": "The Operation's `name` field is used to identify the Operation to update.\nFormat: operations/{operation}",
|
|
@@ -5320,6 +5819,12 @@
|
|
|
5320
5819
|
"response": {
|
|
5321
5820
|
"$ref": "#/definitions/protobufAny",
|
|
5322
5821
|
"description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`."
|
|
5822
|
+
},
|
|
5823
|
+
"seenByCreatorTime": {
|
|
5824
|
+
"type": "string",
|
|
5825
|
+
"format": "date-time",
|
|
5826
|
+
"description": "Output only. Optional. Timestamp when the creator marked the Operation as seen.\nOnce set, this field cannot be changed. Set via MarkOperationSeenByCreator method.",
|
|
5827
|
+
"readOnly": true
|
|
5323
5828
|
}
|
|
5324
5829
|
},
|
|
5325
5830
|
"description": "The Operation's `name` field is used to identify the Operation to finalize.\nFormat: operations/{operation}",
|
|
@@ -5332,6 +5837,70 @@
|
|
|
5332
5837
|
]
|
|
5333
5838
|
}
|
|
5334
5839
|
},
|
|
5840
|
+
"/v1/{parent_1}/annotations": {
|
|
5841
|
+
"get": {
|
|
5842
|
+
"operationId": "LeaderboardTestCaseAnnotationService_ListLeaderboardTestCaseAnnotations",
|
|
5843
|
+
"responses": {
|
|
5844
|
+
"200": {
|
|
5845
|
+
"description": "A successful response.",
|
|
5846
|
+
"schema": {
|
|
5847
|
+
"$ref": "#/definitions/v1ListLeaderboardTestCaseAnnotationsResponse"
|
|
5848
|
+
}
|
|
5849
|
+
},
|
|
5850
|
+
"default": {
|
|
5851
|
+
"description": "An unexpected error response.",
|
|
5852
|
+
"schema": {
|
|
5853
|
+
"$ref": "#/definitions/rpcStatus"
|
|
5854
|
+
}
|
|
5855
|
+
}
|
|
5856
|
+
},
|
|
5857
|
+
"parameters": [
|
|
5858
|
+
{
|
|
5859
|
+
"name": "parent_1",
|
|
5860
|
+
"description": "Required. The parent resource name. Format:\n`leaderboards/{leaderboard}/testCases/{test_case}`. Use\n`leaderboards/{leaderboard}/testCases/-` to list across all test cases of a leaderboard. See\nhttps://google.aip.dev/159 for more details.",
|
|
5861
|
+
"in": "path",
|
|
5862
|
+
"required": true,
|
|
5863
|
+
"type": "string",
|
|
5864
|
+
"pattern": "leaderboards/[^/]+/testCases/[^/]+"
|
|
5865
|
+
}
|
|
5866
|
+
],
|
|
5867
|
+
"tags": [
|
|
5868
|
+
"LeaderboardTestCaseAnnotationService"
|
|
5869
|
+
]
|
|
5870
|
+
}
|
|
5871
|
+
},
|
|
5872
|
+
"/v1/{parent}/annotations": {
|
|
5873
|
+
"get": {
|
|
5874
|
+
"operationId": "DashboardTestCaseAnnotationService_ListDashboardTestCaseAnnotations",
|
|
5875
|
+
"responses": {
|
|
5876
|
+
"200": {
|
|
5877
|
+
"description": "A successful response.",
|
|
5878
|
+
"schema": {
|
|
5879
|
+
"$ref": "#/definitions/v1ListDashboardTestCaseAnnotationsResponse"
|
|
5880
|
+
}
|
|
5881
|
+
},
|
|
5882
|
+
"default": {
|
|
5883
|
+
"description": "An unexpected error response.",
|
|
5884
|
+
"schema": {
|
|
5885
|
+
"$ref": "#/definitions/rpcStatus"
|
|
5886
|
+
}
|
|
5887
|
+
}
|
|
5888
|
+
},
|
|
5889
|
+
"parameters": [
|
|
5890
|
+
{
|
|
5891
|
+
"name": "parent",
|
|
5892
|
+
"description": "Required. The parent resource name. Format:\n`dashboards/{dashboard}/testCases/{test_case}`.\n\nWildcard support: Use the special value `-` for test_case to list annotations\nacross all test cases within the specified dashboard:\n`dashboards/{dashboard}/testCases/-`\n\nSee https://google.aip.dev/159 for more details on collection identifiers.",
|
|
5893
|
+
"in": "path",
|
|
5894
|
+
"required": true,
|
|
5895
|
+
"type": "string",
|
|
5896
|
+
"pattern": "dashboards/[^/]+/testCases/[^/]+"
|
|
5897
|
+
}
|
|
5898
|
+
],
|
|
5899
|
+
"tags": [
|
|
5900
|
+
"DashboardTestCaseAnnotationService"
|
|
5901
|
+
]
|
|
5902
|
+
}
|
|
5903
|
+
},
|
|
5335
5904
|
"/v1/{parent}/edges": {
|
|
5336
5905
|
"post": {
|
|
5337
5906
|
"summary": "CreateWorkflowEdge creates a new WorkflowEdge.",
|
|
@@ -5621,6 +6190,56 @@
|
|
|
5621
6190
|
]
|
|
5622
6191
|
}
|
|
5623
6192
|
},
|
|
6193
|
+
"/v1/{parent}/testCases:append": {
|
|
6194
|
+
"post": {
|
|
6195
|
+
"operationId": "TestCaseService_AppendTestCases",
|
|
6196
|
+
"responses": {
|
|
6197
|
+
"200": {
|
|
6198
|
+
"description": "A successful response.",
|
|
6199
|
+
"schema": {
|
|
6200
|
+
"$ref": "#/definitions/v1AppendTestCasesResponse"
|
|
6201
|
+
}
|
|
6202
|
+
},
|
|
6203
|
+
"default": {
|
|
6204
|
+
"description": "An unexpected error response.",
|
|
6205
|
+
"schema": {
|
|
6206
|
+
"$ref": "#/definitions/rpcStatus"
|
|
6207
|
+
}
|
|
6208
|
+
}
|
|
6209
|
+
},
|
|
6210
|
+
"parameters": [
|
|
6211
|
+
{
|
|
6212
|
+
"name": "parent",
|
|
6213
|
+
"description": "Required. The parent Test where the TestCases will be imported. Format: tests/\u003cUUID\u003e",
|
|
6214
|
+
"in": "path",
|
|
6215
|
+
"required": true,
|
|
6216
|
+
"type": "string",
|
|
6217
|
+
"pattern": "tests/[^/]+"
|
|
6218
|
+
},
|
|
6219
|
+
{
|
|
6220
|
+
"name": "body",
|
|
6221
|
+
"in": "body",
|
|
6222
|
+
"required": true,
|
|
6223
|
+
"schema": {
|
|
6224
|
+
"type": "object",
|
|
6225
|
+
"properties": {
|
|
6226
|
+
"testCasesJson": {
|
|
6227
|
+
"type": "string",
|
|
6228
|
+
"description": "Test Cases in JSON format."
|
|
6229
|
+
},
|
|
6230
|
+
"url": {
|
|
6231
|
+
"type": "string",
|
|
6232
|
+
"description": "URL pointing to the Test Cases in JSON format to import."
|
|
6233
|
+
}
|
|
6234
|
+
}
|
|
6235
|
+
}
|
|
6236
|
+
}
|
|
6237
|
+
],
|
|
6238
|
+
"tags": [
|
|
6239
|
+
"TestCaseService"
|
|
6240
|
+
]
|
|
6241
|
+
}
|
|
6242
|
+
},
|
|
5624
6243
|
"/v1/{parent}/testCases:batchDelete": {
|
|
5625
6244
|
"post": {
|
|
5626
6245
|
"operationId": "TestCaseService_BatchDeleteTestCases",
|
|
@@ -6020,7 +6639,14 @@
|
|
|
6020
6639
|
"additionalProperties": {
|
|
6021
6640
|
"$ref": "#/definitions/v1MetricScores"
|
|
6022
6641
|
},
|
|
6023
|
-
"description": "Required. Map of baseline metrics from the evaluator to the metric scores for the evaluator."
|
|
6642
|
+
"description": "Required. Map of baseline metrics from the evaluator to the average metric scores for the evaluator."
|
|
6643
|
+
},
|
|
6644
|
+
"allBaselineMetricsScores": {
|
|
6645
|
+
"type": "object",
|
|
6646
|
+
"additionalProperties": {
|
|
6647
|
+
"$ref": "#/definitions/v1AllMetricScores"
|
|
6648
|
+
},
|
|
6649
|
+
"description": "Required. Map of baseline metric to all and every test case metric score."
|
|
6024
6650
|
}
|
|
6025
6651
|
}
|
|
6026
6652
|
}
|
|
@@ -6264,88 +6890,384 @@
|
|
|
6264
6890
|
}
|
|
6265
6891
|
}
|
|
6266
6892
|
},
|
|
6267
|
-
"
|
|
6893
|
+
"v1ActualOutputMeta": {
|
|
6268
6894
|
"type": "object",
|
|
6269
6895
|
"properties": {
|
|
6270
|
-
"
|
|
6896
|
+
"tokenization": {
|
|
6897
|
+
"type": "string",
|
|
6898
|
+
"description": "Tokenization method."
|
|
6899
|
+
},
|
|
6900
|
+
"data": {
|
|
6271
6901
|
"type": "array",
|
|
6272
6902
|
"items": {
|
|
6273
6903
|
"type": "object",
|
|
6274
|
-
"$ref": "#/definitions/
|
|
6904
|
+
"$ref": "#/definitions/v1DataFragment"
|
|
6275
6905
|
},
|
|
6276
|
-
"description": "
|
|
6277
|
-
},
|
|
6278
|
-
"dashboardDisplayName": {
|
|
6279
|
-
"type": "string",
|
|
6280
|
-
"description": "Optional. Display name for the dashboard that will group the leaderboards."
|
|
6281
|
-
},
|
|
6282
|
-
"dashboardDescription": {
|
|
6283
|
-
"type": "string",
|
|
6284
|
-
"description": "Optional. Description for the dashboard that will group the leaderboards."
|
|
6285
|
-
}
|
|
6286
|
-
}
|
|
6287
|
-
},
|
|
6288
|
-
"v1BatchCreateLeaderboardsResponse": {
|
|
6289
|
-
"type": "object",
|
|
6290
|
-
"properties": {
|
|
6291
|
-
"operation": {
|
|
6292
|
-
"$ref": "#/definitions/v1Operation",
|
|
6293
|
-
"description": "Output only. Long-running operation shared for all of the leaderboards. The operation contains\nmetadata about the dashboard that's grouping the leaderboards.",
|
|
6294
|
-
"readOnly": true
|
|
6906
|
+
"description": "Data fragments."
|
|
6295
6907
|
}
|
|
6296
|
-
}
|
|
6908
|
+
},
|
|
6909
|
+
"title": "Actual output metadata"
|
|
6297
6910
|
},
|
|
6298
|
-
"
|
|
6911
|
+
"v1ActualOutputMetaDiff": {
|
|
6299
6912
|
"type": "object",
|
|
6300
6913
|
"properties": {
|
|
6301
|
-
"
|
|
6914
|
+
"sentences": {
|
|
6302
6915
|
"type": "array",
|
|
6303
6916
|
"items": {
|
|
6304
6917
|
"type": "string"
|
|
6305
6918
|
},
|
|
6306
|
-
"description": "
|
|
6307
|
-
}
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
"
|
|
6919
|
+
"description": "Sentences."
|
|
6920
|
+
},
|
|
6921
|
+
"sentencesCount": {
|
|
6922
|
+
"type": "integer",
|
|
6923
|
+
"format": "int32",
|
|
6924
|
+
"description": "Sentence count."
|
|
6925
|
+
},
|
|
6926
|
+
"commonSentences": {
|
|
6314
6927
|
"type": "array",
|
|
6315
6928
|
"items": {
|
|
6316
|
-
"type": "
|
|
6317
|
-
"$ref": "#/definitions/v1Dashboard"
|
|
6929
|
+
"type": "string"
|
|
6318
6930
|
},
|
|
6319
|
-
"description": "
|
|
6320
|
-
}
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
"
|
|
6931
|
+
"description": "Common sentences between baseline and current."
|
|
6932
|
+
},
|
|
6933
|
+
"commonCount": {
|
|
6934
|
+
"type": "integer",
|
|
6935
|
+
"format": "int32",
|
|
6936
|
+
"description": "Common sentence count."
|
|
6937
|
+
},
|
|
6938
|
+
"uniqueSentences": {
|
|
6327
6939
|
"type": "array",
|
|
6328
6940
|
"items": {
|
|
6329
6941
|
"type": "string"
|
|
6330
6942
|
},
|
|
6331
|
-
"description": "
|
|
6943
|
+
"description": "Unique sentences."
|
|
6944
|
+
},
|
|
6945
|
+
"uniqueCount": {
|
|
6946
|
+
"type": "integer",
|
|
6947
|
+
"format": "int32",
|
|
6948
|
+
"description": "Unique sentence count."
|
|
6949
|
+
},
|
|
6950
|
+
"identical": {
|
|
6951
|
+
"type": "boolean",
|
|
6952
|
+
"description": "Whether outputs are identical."
|
|
6953
|
+
},
|
|
6954
|
+
"sentenceSimilarity": {
|
|
6955
|
+
"type": "object",
|
|
6956
|
+
"additionalProperties": {
|
|
6957
|
+
"type": "number",
|
|
6958
|
+
"format": "double"
|
|
6959
|
+
},
|
|
6960
|
+
"description": "Sentence similarity scores."
|
|
6332
6961
|
}
|
|
6333
|
-
}
|
|
6962
|
+
},
|
|
6963
|
+
"title": "Actual output metadata diff"
|
|
6334
6964
|
},
|
|
6335
|
-
"
|
|
6965
|
+
"v1AgentChatActivityDiagram": {
|
|
6336
6966
|
"type": "object",
|
|
6337
6967
|
"properties": {
|
|
6338
|
-
"
|
|
6968
|
+
"rows": {
|
|
6339
6969
|
"type": "array",
|
|
6340
6970
|
"items": {
|
|
6341
6971
|
"type": "object",
|
|
6342
|
-
"$ref": "#/definitions/
|
|
6972
|
+
"$ref": "#/definitions/v1AgentChatActivityDiagramRow"
|
|
6343
6973
|
},
|
|
6344
|
-
"description": "
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6974
|
+
"description": "Output only. List of rows in the activity diagram.",
|
|
6975
|
+
"readOnly": true
|
|
6976
|
+
},
|
|
6977
|
+
"edges": {
|
|
6978
|
+
"type": "array",
|
|
6979
|
+
"items": {
|
|
6980
|
+
"type": "object",
|
|
6981
|
+
"$ref": "#/definitions/v1AgentChatActivityDiagramEdge"
|
|
6982
|
+
},
|
|
6983
|
+
"description": "Output only. List of edges connecting nodes in the activity diagram.",
|
|
6984
|
+
"readOnly": true
|
|
6985
|
+
}
|
|
6986
|
+
},
|
|
6987
|
+
"description": "AgentChatActivityDiagram represents the activity diagram for agent chat interactions."
|
|
6988
|
+
},
|
|
6989
|
+
"v1AgentChatActivityDiagramEdge": {
|
|
6990
|
+
"type": "object",
|
|
6991
|
+
"properties": {
|
|
6992
|
+
"from": {
|
|
6993
|
+
"type": "string",
|
|
6994
|
+
"description": "Output only. Source node ID.",
|
|
6995
|
+
"readOnly": true
|
|
6996
|
+
},
|
|
6997
|
+
"to": {
|
|
6998
|
+
"type": "string",
|
|
6999
|
+
"description": "Output only. Target node ID.",
|
|
7000
|
+
"readOnly": true
|
|
7001
|
+
},
|
|
7002
|
+
"label": {
|
|
7003
|
+
"type": "string",
|
|
7004
|
+
"description": "Output only. Label for the edge.",
|
|
7005
|
+
"readOnly": true
|
|
7006
|
+
}
|
|
7007
|
+
},
|
|
7008
|
+
"description": "AgentChatActivityDiagramEdge represents an edge connecting two nodes."
|
|
7009
|
+
},
|
|
7010
|
+
"v1AgentChatActivityDiagramNode": {
|
|
7011
|
+
"type": "object",
|
|
7012
|
+
"properties": {
|
|
7013
|
+
"id": {
|
|
7014
|
+
"type": "string",
|
|
7015
|
+
"description": "Output only. Unique identifier for the node.",
|
|
7016
|
+
"readOnly": true
|
|
7017
|
+
},
|
|
7018
|
+
"role": {
|
|
7019
|
+
"type": "string",
|
|
7020
|
+
"description": "Output only. Role of the node (runtime, user, agent, assistant, etc.).",
|
|
7021
|
+
"readOnly": true
|
|
7022
|
+
},
|
|
7023
|
+
"label": {
|
|
7024
|
+
"type": "string",
|
|
7025
|
+
"description": "Output only. Label for the node.",
|
|
7026
|
+
"readOnly": true
|
|
7027
|
+
}
|
|
7028
|
+
},
|
|
7029
|
+
"description": "AgentChatActivityDiagramNode represents a node in the activity diagram."
|
|
7030
|
+
},
|
|
7031
|
+
"v1AgentChatActivityDiagramRow": {
|
|
7032
|
+
"type": "object",
|
|
7033
|
+
"properties": {
|
|
7034
|
+
"nodes": {
|
|
7035
|
+
"type": "array",
|
|
7036
|
+
"items": {
|
|
7037
|
+
"type": "object",
|
|
7038
|
+
"$ref": "#/definitions/v1AgentChatActivityDiagramNode"
|
|
7039
|
+
},
|
|
7040
|
+
"description": "Output only. List of nodes in this row.",
|
|
7041
|
+
"readOnly": true
|
|
7042
|
+
}
|
|
7043
|
+
},
|
|
7044
|
+
"description": "AgentChatActivityDiagramRow represents a row in the activity diagram."
|
|
7045
|
+
},
|
|
7046
|
+
"v1AgentChatScriptUsage": {
|
|
7047
|
+
"type": "object",
|
|
7048
|
+
"properties": {
|
|
7049
|
+
"name": {
|
|
7050
|
+
"type": "string",
|
|
7051
|
+
"description": "Output only. Name of the script.",
|
|
7052
|
+
"readOnly": true
|
|
7053
|
+
},
|
|
7054
|
+
"successCount": {
|
|
7055
|
+
"type": "integer",
|
|
7056
|
+
"format": "int32",
|
|
7057
|
+
"description": "Output only. Number of successful executions.",
|
|
7058
|
+
"readOnly": true
|
|
7059
|
+
},
|
|
7060
|
+
"failureCount": {
|
|
7061
|
+
"type": "integer",
|
|
7062
|
+
"format": "int32",
|
|
7063
|
+
"description": "Output only. Number of failed executions.",
|
|
7064
|
+
"readOnly": true
|
|
7065
|
+
},
|
|
7066
|
+
"totalCount": {
|
|
7067
|
+
"type": "integer",
|
|
7068
|
+
"format": "int32",
|
|
7069
|
+
"description": "Output only. Total number of executions.",
|
|
7070
|
+
"readOnly": true
|
|
7071
|
+
}
|
|
7072
|
+
},
|
|
7073
|
+
"description": "AgentChatScriptUsage represents usage statistics for a single script."
|
|
7074
|
+
},
|
|
7075
|
+
"v1AgentChatScriptsBarChart": {
|
|
7076
|
+
"type": "object",
|
|
7077
|
+
"properties": {
|
|
7078
|
+
"scripts": {
|
|
7079
|
+
"type": "object",
|
|
7080
|
+
"additionalProperties": {
|
|
7081
|
+
"$ref": "#/definitions/v1AgentChatScriptUsage"
|
|
7082
|
+
},
|
|
7083
|
+
"description": "Output only. Map of script name to script usage statistics.",
|
|
7084
|
+
"readOnly": true
|
|
7085
|
+
}
|
|
7086
|
+
},
|
|
7087
|
+
"description": "AgentChatScriptsBarChart represents the bar chart for agent chat scripts usage."
|
|
7088
|
+
},
|
|
7089
|
+
"v1AgentChatToolUsage": {
|
|
7090
|
+
"type": "object",
|
|
7091
|
+
"properties": {
|
|
7092
|
+
"name": {
|
|
7093
|
+
"type": "string",
|
|
7094
|
+
"description": "Output only. Name of the tool.",
|
|
7095
|
+
"readOnly": true
|
|
7096
|
+
},
|
|
7097
|
+
"successCount": {
|
|
7098
|
+
"type": "integer",
|
|
7099
|
+
"format": "int32",
|
|
7100
|
+
"description": "Output only. Number of successful invocations.",
|
|
7101
|
+
"readOnly": true
|
|
7102
|
+
},
|
|
7103
|
+
"failureCount": {
|
|
7104
|
+
"type": "integer",
|
|
7105
|
+
"format": "int32",
|
|
7106
|
+
"description": "Output only. Number of failed invocations.",
|
|
7107
|
+
"readOnly": true
|
|
7108
|
+
},
|
|
7109
|
+
"totalCount": {
|
|
7110
|
+
"type": "integer",
|
|
7111
|
+
"format": "int32",
|
|
7112
|
+
"description": "Output only. Total number of invocations.",
|
|
7113
|
+
"readOnly": true
|
|
7114
|
+
}
|
|
7115
|
+
},
|
|
7116
|
+
"description": "AgentChatToolUsage represents usage statistics for a single tool."
|
|
7117
|
+
},
|
|
7118
|
+
"v1AgentChatToolsBarChart": {
|
|
7119
|
+
"type": "object",
|
|
7120
|
+
"properties": {
|
|
7121
|
+
"tools": {
|
|
7122
|
+
"type": "object",
|
|
7123
|
+
"additionalProperties": {
|
|
7124
|
+
"$ref": "#/definitions/v1AgentChatToolUsage"
|
|
7125
|
+
},
|
|
7126
|
+
"description": "Output only. Map of tool name to tool usage statistics.",
|
|
7127
|
+
"readOnly": true
|
|
7128
|
+
}
|
|
7129
|
+
},
|
|
7130
|
+
"description": "AgentChatToolsBarChart represents the bar chart for agent chat tools usage."
|
|
7131
|
+
},
|
|
7132
|
+
"v1AllMetricScores": {
|
|
7133
|
+
"type": "object",
|
|
7134
|
+
"properties": {
|
|
7135
|
+
"scores": {
|
|
7136
|
+
"type": "array",
|
|
7137
|
+
"items": {
|
|
7138
|
+
"type": "number",
|
|
7139
|
+
"format": "double"
|
|
7140
|
+
},
|
|
7141
|
+
"description": "Required. Metric scores for all baseline test cases."
|
|
7142
|
+
}
|
|
7143
|
+
}
|
|
7144
|
+
},
|
|
7145
|
+
"v1AppendTestCasesResponse": {
|
|
7146
|
+
"type": "object",
|
|
7147
|
+
"properties": {
|
|
7148
|
+
"testCases": {
|
|
7149
|
+
"type": "array",
|
|
7150
|
+
"items": {
|
|
7151
|
+
"type": "object",
|
|
7152
|
+
"$ref": "#/definitions/v1TestCase"
|
|
7153
|
+
},
|
|
7154
|
+
"description": "The list of added TestCases."
|
|
7155
|
+
}
|
|
7156
|
+
}
|
|
7157
|
+
},
|
|
7158
|
+
"v1BatchCreateLeaderboardsRequest": {
|
|
7159
|
+
"type": "object",
|
|
7160
|
+
"properties": {
|
|
7161
|
+
"requests": {
|
|
7162
|
+
"type": "array",
|
|
7163
|
+
"items": {
|
|
7164
|
+
"type": "object",
|
|
7165
|
+
"$ref": "#/definitions/v1CreateLeaderboardRequest"
|
|
7166
|
+
},
|
|
7167
|
+
"description": "Required. Contains list of requests for leaderboards to be created."
|
|
7168
|
+
},
|
|
7169
|
+
"dashboardDisplayName": {
|
|
7170
|
+
"type": "string",
|
|
7171
|
+
"description": "Optional. Display name for the dashboard that will group the leaderboards."
|
|
7172
|
+
},
|
|
7173
|
+
"dashboardDescription": {
|
|
7174
|
+
"type": "string",
|
|
7175
|
+
"description": "Optional. Description for the dashboard that will group the leaderboards."
|
|
7176
|
+
}
|
|
7177
|
+
}
|
|
7178
|
+
},
|
|
7179
|
+
"v1BatchCreateLeaderboardsResponse": {
|
|
7180
|
+
"type": "object",
|
|
7181
|
+
"properties": {
|
|
7182
|
+
"operation": {
|
|
7183
|
+
"$ref": "#/definitions/v1Operation",
|
|
7184
|
+
"description": "Output only. Long-running operation shared for all of the leaderboards. The operation contains\nmetadata about the dashboard that's grouping the leaderboards.",
|
|
7185
|
+
"readOnly": true
|
|
7186
|
+
}
|
|
7187
|
+
}
|
|
7188
|
+
},
|
|
7189
|
+
"v1BatchCreateLeaderboardsWithoutCacheRequest": {
|
|
7190
|
+
"type": "object",
|
|
7191
|
+
"properties": {
|
|
7192
|
+
"requests": {
|
|
7193
|
+
"type": "array",
|
|
7194
|
+
"items": {
|
|
7195
|
+
"type": "object",
|
|
7196
|
+
"$ref": "#/definitions/v1CreateLeaderboardRequest"
|
|
7197
|
+
},
|
|
7198
|
+
"description": "Required. Contains list of requests for leaderboards to be created."
|
|
7199
|
+
},
|
|
7200
|
+
"dashboardDisplayName": {
|
|
7201
|
+
"type": "string",
|
|
7202
|
+
"description": "Optional. Display name for the dashboard that will group the leaderboards."
|
|
7203
|
+
},
|
|
7204
|
+
"dashboardDescription": {
|
|
7205
|
+
"type": "string",
|
|
7206
|
+
"description": "Optional. Description for the dashboard that will group the leaderboards."
|
|
7207
|
+
}
|
|
7208
|
+
}
|
|
7209
|
+
},
|
|
7210
|
+
"v1BatchCreateLeaderboardsWithoutCacheResponse": {
|
|
7211
|
+
"type": "object",
|
|
7212
|
+
"properties": {
|
|
7213
|
+
"operation": {
|
|
7214
|
+
"$ref": "#/definitions/v1Operation",
|
|
7215
|
+
"description": "Output only. Long-running operation shared for all of the leaderboards. The operation contains\nmetadata about the dashboard that's grouping the leaderboards.",
|
|
7216
|
+
"readOnly": true
|
|
7217
|
+
}
|
|
7218
|
+
}
|
|
7219
|
+
},
|
|
7220
|
+
"v1BatchDeleteDashboardsRequest": {
|
|
7221
|
+
"type": "object",
|
|
7222
|
+
"properties": {
|
|
7223
|
+
"names": {
|
|
7224
|
+
"type": "array",
|
|
7225
|
+
"items": {
|
|
7226
|
+
"type": "string"
|
|
7227
|
+
},
|
|
7228
|
+
"description": "Required. The names of the Dashboards to delete. A maximum of 1000 can be specified."
|
|
7229
|
+
}
|
|
7230
|
+
}
|
|
7231
|
+
},
|
|
7232
|
+
"v1BatchDeleteDashboardsResponse": {
|
|
7233
|
+
"type": "object",
|
|
7234
|
+
"properties": {
|
|
7235
|
+
"dashboards": {
|
|
7236
|
+
"type": "array",
|
|
7237
|
+
"items": {
|
|
7238
|
+
"type": "object",
|
|
7239
|
+
"$ref": "#/definitions/v1Dashboard"
|
|
7240
|
+
},
|
|
7241
|
+
"description": "The deleted Dashboards."
|
|
7242
|
+
}
|
|
7243
|
+
}
|
|
7244
|
+
},
|
|
7245
|
+
"v1BatchDeleteDocumentsRequest": {
|
|
7246
|
+
"type": "object",
|
|
7247
|
+
"properties": {
|
|
7248
|
+
"names": {
|
|
7249
|
+
"type": "array",
|
|
7250
|
+
"items": {
|
|
7251
|
+
"type": "string"
|
|
7252
|
+
},
|
|
7253
|
+
"description": "Required. The names of the Documents to delete. A maximum of 1000 can be specified."
|
|
7254
|
+
}
|
|
7255
|
+
}
|
|
7256
|
+
},
|
|
7257
|
+
"v1BatchDeleteDocumentsResponse": {
|
|
7258
|
+
"type": "object",
|
|
7259
|
+
"properties": {
|
|
7260
|
+
"documents": {
|
|
7261
|
+
"type": "array",
|
|
7262
|
+
"items": {
|
|
7263
|
+
"type": "object",
|
|
7264
|
+
"$ref": "#/definitions/v1Document"
|
|
7265
|
+
},
|
|
7266
|
+
"description": "The Documents that were deleted."
|
|
7267
|
+
}
|
|
7268
|
+
}
|
|
7269
|
+
},
|
|
7270
|
+
"v1BatchDeleteEvaluatorsRequest": {
|
|
6349
7271
|
"type": "object",
|
|
6350
7272
|
"properties": {
|
|
6351
7273
|
"names": {
|
|
@@ -6683,6 +7605,19 @@
|
|
|
6683
7605
|
}
|
|
6684
7606
|
}
|
|
6685
7607
|
},
|
|
7608
|
+
"v1BatchMarkOperationSeenByCreatorResponse": {
|
|
7609
|
+
"type": "object",
|
|
7610
|
+
"properties": {
|
|
7611
|
+
"operations": {
|
|
7612
|
+
"type": "array",
|
|
7613
|
+
"items": {
|
|
7614
|
+
"type": "object",
|
|
7615
|
+
"$ref": "#/definitions/v1Operation"
|
|
7616
|
+
},
|
|
7617
|
+
"description": "The updated Operations."
|
|
7618
|
+
}
|
|
7619
|
+
}
|
|
7620
|
+
},
|
|
6686
7621
|
"v1CheckBaseModelsResponse": {
|
|
6687
7622
|
"type": "object",
|
|
6688
7623
|
"properties": {
|
|
@@ -6714,6 +7649,40 @@
|
|
|
6714
7649
|
}
|
|
6715
7650
|
}
|
|
6716
7651
|
},
|
|
7652
|
+
"v1CmpLeaderboardReportsRequest": {
|
|
7653
|
+
"type": "object",
|
|
7654
|
+
"properties": {
|
|
7655
|
+
"leaderboardReportBaseline": {
|
|
7656
|
+
"type": "string",
|
|
7657
|
+
"description": "Required. The baseline Leaderboard Report to compare against (JSON string)."
|
|
7658
|
+
},
|
|
7659
|
+
"leaderboardReportCurrent": {
|
|
7660
|
+
"type": "string",
|
|
7661
|
+
"description": "Required. The current Leaderboard Report to compare (JSON string)."
|
|
7662
|
+
},
|
|
7663
|
+
"textSimilarityMetric": {
|
|
7664
|
+
"$ref": "#/definitions/v1TextSimilarityMetric",
|
|
7665
|
+
"description": "Optional. The text similarity metric to use for string/sentence matching. Defaults to EXACT_MATCH."
|
|
7666
|
+
},
|
|
7667
|
+
"llmModelNameBaseline": {
|
|
7668
|
+
"type": "string",
|
|
7669
|
+
"description": "Required. The baseline LLM model name to compare."
|
|
7670
|
+
},
|
|
7671
|
+
"llmModelNameCurrent": {
|
|
7672
|
+
"type": "string",
|
|
7673
|
+
"description": "Required. The current LLM model name to compare."
|
|
7674
|
+
}
|
|
7675
|
+
}
|
|
7676
|
+
},
|
|
7677
|
+
"v1CmpLeaderboardReportsResponse": {
|
|
7678
|
+
"type": "object",
|
|
7679
|
+
"properties": {
|
|
7680
|
+
"leaderboardCmpReport": {
|
|
7681
|
+
"$ref": "#/definitions/v1LeaderboardCmpReport",
|
|
7682
|
+
"description": "The comparison result of the two Leaderboard Reports."
|
|
7683
|
+
}
|
|
7684
|
+
}
|
|
7685
|
+
},
|
|
6717
7686
|
"v1CollectionInfo": {
|
|
6718
7687
|
"type": "object",
|
|
6719
7688
|
"properties": {
|
|
@@ -6735,7 +7704,111 @@
|
|
|
6735
7704
|
"description": "Required.The number of documents in the collection."
|
|
6736
7705
|
}
|
|
6737
7706
|
},
|
|
6738
|
-
"description": "CollectionInfo represents the information about a collection in the H2OGPTE."
|
|
7707
|
+
"description": "CollectionInfo represents the information about a collection in the H2OGPTE."
|
|
7708
|
+
},
|
|
7709
|
+
"v1ComparisonItem": {
|
|
7710
|
+
"type": "object",
|
|
7711
|
+
"properties": {
|
|
7712
|
+
"question": {
|
|
7713
|
+
"type": "string",
|
|
7714
|
+
"description": "The question being evaluated."
|
|
7715
|
+
},
|
|
7716
|
+
"diffFlippedMetrics": {
|
|
7717
|
+
"type": "array",
|
|
7718
|
+
"items": {
|
|
7719
|
+
"type": "object",
|
|
7720
|
+
"$ref": "#/definitions/v1FlippedMetric"
|
|
7721
|
+
},
|
|
7722
|
+
"description": "List of metrics that flipped between baseline and current."
|
|
7723
|
+
},
|
|
7724
|
+
"baselineTestCaseResult": {
|
|
7725
|
+
"$ref": "#/definitions/v1TestCaseResult",
|
|
7726
|
+
"description": "Baseline test case result."
|
|
7727
|
+
},
|
|
7728
|
+
"baselineDiffActualOutputMeta": {
|
|
7729
|
+
"$ref": "#/definitions/v1ActualOutputMetaDiff",
|
|
7730
|
+
"description": "Baseline actual output metadata diff."
|
|
7731
|
+
},
|
|
7732
|
+
"baselineDiffRetrievedContext": {
|
|
7733
|
+
"$ref": "#/definitions/v1RetrievedContextDiff",
|
|
7734
|
+
"description": "Baseline retrieved context diff."
|
|
7735
|
+
},
|
|
7736
|
+
"currentTestCaseResult": {
|
|
7737
|
+
"$ref": "#/definitions/v1TestCaseResult",
|
|
7738
|
+
"description": "Current test case result."
|
|
7739
|
+
},
|
|
7740
|
+
"currentDiffActualOutputMeta": {
|
|
7741
|
+
"$ref": "#/definitions/v1ActualOutputMetaDiff",
|
|
7742
|
+
"description": "Current actual output metadata diff."
|
|
7743
|
+
},
|
|
7744
|
+
"currentDiffRetrievedContext": {
|
|
7745
|
+
"$ref": "#/definitions/v1RetrievedContextDiff",
|
|
7746
|
+
"description": "Current retrieved context diff."
|
|
7747
|
+
}
|
|
7748
|
+
},
|
|
7749
|
+
"title": "A single comparison item showing differences between baseline and current"
|
|
7750
|
+
},
|
|
7751
|
+
"v1ComparisonMetricScore": {
|
|
7752
|
+
"type": "object",
|
|
7753
|
+
"properties": {
|
|
7754
|
+
"metricName": {
|
|
7755
|
+
"type": "string",
|
|
7756
|
+
"description": "Metric name."
|
|
7757
|
+
},
|
|
7758
|
+
"metricScore": {
|
|
7759
|
+
"type": "number",
|
|
7760
|
+
"format": "double",
|
|
7761
|
+
"description": "Metric score value."
|
|
7762
|
+
}
|
|
7763
|
+
},
|
|
7764
|
+
"title": "Comparison metric score information (specific to comparison reports)"
|
|
7765
|
+
},
|
|
7766
|
+
"v1ComparisonResult": {
|
|
7767
|
+
"type": "object",
|
|
7768
|
+
"properties": {
|
|
7769
|
+
"diffs": {
|
|
7770
|
+
"type": "array",
|
|
7771
|
+
"items": {
|
|
7772
|
+
"type": "object",
|
|
7773
|
+
"$ref": "#/definitions/v1DiffItem"
|
|
7774
|
+
},
|
|
7775
|
+
"description": "List of differences between leaderboards."
|
|
7776
|
+
},
|
|
7777
|
+
"leaderboards": {
|
|
7778
|
+
"type": "array",
|
|
7779
|
+
"items": {
|
|
7780
|
+
"type": "object",
|
|
7781
|
+
"$ref": "#/definitions/v1LeaderboardInfo"
|
|
7782
|
+
},
|
|
7783
|
+
"description": "Leaderboard information."
|
|
7784
|
+
},
|
|
7785
|
+
"metricsMeta": {
|
|
7786
|
+
"type": "object",
|
|
7787
|
+
"additionalProperties": {
|
|
7788
|
+
"$ref": "#/definitions/v1MetricMeta"
|
|
7789
|
+
},
|
|
7790
|
+
"description": "Metadata about metrics."
|
|
7791
|
+
}
|
|
7792
|
+
},
|
|
7793
|
+
"title": "Complete comparison result structure"
|
|
7794
|
+
},
|
|
7795
|
+
"v1ComparisonSummary": {
|
|
7796
|
+
"type": "object",
|
|
7797
|
+
"properties": {
|
|
7798
|
+
"recommendationWinner": {
|
|
7799
|
+
"type": "string",
|
|
7800
|
+
"description": "Winner of the comparison (baseline, current, or tie)."
|
|
7801
|
+
},
|
|
7802
|
+
"recommendation": {
|
|
7803
|
+
"type": "string",
|
|
7804
|
+
"description": "Recommendation text."
|
|
7805
|
+
},
|
|
7806
|
+
"recommendationConfidence": {
|
|
7807
|
+
"type": "string",
|
|
7808
|
+
"description": "Confidence level of the recommendation."
|
|
7809
|
+
}
|
|
7810
|
+
},
|
|
7811
|
+
"title": "Comparison summary"
|
|
6739
7812
|
},
|
|
6740
7813
|
"v1Context": {
|
|
6741
7814
|
"type": "object",
|
|
@@ -6854,6 +7927,10 @@
|
|
|
6854
7927
|
"defaultH2ogpteModel": {
|
|
6855
7928
|
"$ref": "#/definitions/v1Model",
|
|
6856
7929
|
"description": "Optional. The default h2oGPTe model host."
|
|
7930
|
+
},
|
|
7931
|
+
"evaluationType": {
|
|
7932
|
+
"$ref": "#/definitions/v1EvaluationType",
|
|
7933
|
+
"description": "Optional. Type of the evaluation. If not specified, defaults to type of the Model used, or LLM if unspecified."
|
|
6857
7934
|
}
|
|
6858
7935
|
}
|
|
6859
7936
|
},
|
|
@@ -6920,6 +7997,36 @@
|
|
|
6920
7997
|
}
|
|
6921
7998
|
}
|
|
6922
7999
|
},
|
|
8000
|
+
"v1CreateTestFromTestCasesRequest": {
|
|
8001
|
+
"type": "object",
|
|
8002
|
+
"properties": {
|
|
8003
|
+
"testsJson": {
|
|
8004
|
+
"type": "string",
|
|
8005
|
+
"description": "Test Cases in JSON format."
|
|
8006
|
+
},
|
|
8007
|
+
"url": {
|
|
8008
|
+
"type": "string",
|
|
8009
|
+
"description": "URL pointing to the Test Cases in JSON format to import."
|
|
8010
|
+
},
|
|
8011
|
+
"testDisplayName": {
|
|
8012
|
+
"type": "string",
|
|
8013
|
+
"description": "Required. Display name of the newly created Test."
|
|
8014
|
+
},
|
|
8015
|
+
"testDescription": {
|
|
8016
|
+
"type": "string",
|
|
8017
|
+
"description": "Optional. Description of the newly created Tests."
|
|
8018
|
+
}
|
|
8019
|
+
}
|
|
8020
|
+
},
|
|
8021
|
+
"v1CreateTestFromTestCasesResponse": {
|
|
8022
|
+
"type": "object",
|
|
8023
|
+
"properties": {
|
|
8024
|
+
"test": {
|
|
8025
|
+
"$ref": "#/definitions/v1Test",
|
|
8026
|
+
"description": "The new Test created from Test Cases."
|
|
8027
|
+
}
|
|
8028
|
+
}
|
|
8029
|
+
},
|
|
6923
8030
|
"v1CreateTestLabResponse": {
|
|
6924
8031
|
"type": "object",
|
|
6925
8032
|
"properties": {
|
|
@@ -7042,6 +8149,96 @@
|
|
|
7042
8149
|
}
|
|
7043
8150
|
}
|
|
7044
8151
|
},
|
|
8152
|
+
"v1DashboardReport": {
|
|
8153
|
+
"type": "object",
|
|
8154
|
+
"properties": {
|
|
8155
|
+
"results": {
|
|
8156
|
+
"type": "array",
|
|
8157
|
+
"items": {
|
|
8158
|
+
"type": "object",
|
|
8159
|
+
"$ref": "#/definitions/v1DashboardReportResult"
|
|
8160
|
+
},
|
|
8161
|
+
"description": "Output only. List of per test case results.",
|
|
8162
|
+
"readOnly": true
|
|
8163
|
+
},
|
|
8164
|
+
"evaluator": {
|
|
8165
|
+
"type": "array",
|
|
8166
|
+
"items": {
|
|
8167
|
+
"type": "object",
|
|
8168
|
+
"$ref": "#/definitions/v1LeaderboardReportEvaluator"
|
|
8169
|
+
},
|
|
8170
|
+
"description": "Output only. Details of the evaluators which evaluated the model outputs to create the results.",
|
|
8171
|
+
"readOnly": true
|
|
8172
|
+
}
|
|
8173
|
+
},
|
|
8174
|
+
"description": "DashboardReport represents the dashboard report which is formed by the results, models and\nevaluator."
|
|
8175
|
+
},
|
|
8176
|
+
"v1DashboardReportResult": {
|
|
8177
|
+
"type": "object",
|
|
8178
|
+
"properties": {
|
|
8179
|
+
"key": {
|
|
8180
|
+
"type": "string",
|
|
8181
|
+
"description": "Output only. Composite unique key of the result formed by the model key and test case key.",
|
|
8182
|
+
"readOnly": true
|
|
8183
|
+
},
|
|
8184
|
+
"input": {
|
|
8185
|
+
"type": "string",
|
|
8186
|
+
"description": "Output only. Input prompt or text to be processed.",
|
|
8187
|
+
"readOnly": true
|
|
8188
|
+
},
|
|
8189
|
+
"expectedOutput": {
|
|
8190
|
+
"type": "string",
|
|
8191
|
+
"description": "Output only. Expected output or target result.",
|
|
8192
|
+
"readOnly": true
|
|
8193
|
+
},
|
|
8194
|
+
"actualOutput": {
|
|
8195
|
+
"type": "string",
|
|
8196
|
+
"description": "Output only. Actual output produced by the model.",
|
|
8197
|
+
"readOnly": true
|
|
8198
|
+
},
|
|
8199
|
+
"modelKey": {
|
|
8200
|
+
"type": "string",
|
|
8201
|
+
"description": "Output only. Unique identifier for the model used.",
|
|
8202
|
+
"readOnly": true
|
|
8203
|
+
},
|
|
8204
|
+
"testCaseKey": {
|
|
8205
|
+
"type": "string",
|
|
8206
|
+
"description": "Output only. Unique identifier for the test case.",
|
|
8207
|
+
"readOnly": true
|
|
8208
|
+
},
|
|
8209
|
+
"metrics": {
|
|
8210
|
+
"type": "object",
|
|
8211
|
+
"additionalProperties": {
|
|
8212
|
+
"$ref": "#/definitions/v1MetricScores"
|
|
8213
|
+
},
|
|
8214
|
+
"description": "Optional. All metrics values for the result. Maps evaluator ID to MetricScore."
|
|
8215
|
+
},
|
|
8216
|
+
"resultErrorMap": {
|
|
8217
|
+
"type": "object",
|
|
8218
|
+
"additionalProperties": {
|
|
8219
|
+
"type": "string"
|
|
8220
|
+
},
|
|
8221
|
+
"description": "Output only. Error message if processing resulted in failure. Maps evaluator ID to error\nmessage.",
|
|
8222
|
+
"readOnly": true
|
|
8223
|
+
},
|
|
8224
|
+
"humanDecision": {
|
|
8225
|
+
"$ref": "#/definitions/v1HumanDecision",
|
|
8226
|
+
"description": "Output only. Human decision whether the result was approved or rejected by human.",
|
|
8227
|
+
"readOnly": true
|
|
8228
|
+
},
|
|
8229
|
+
"comment": {
|
|
8230
|
+
"type": "string",
|
|
8231
|
+
"description": "Output only. Optional comment about the result.",
|
|
8232
|
+
"readOnly": true
|
|
8233
|
+
},
|
|
8234
|
+
"annotations": {
|
|
8235
|
+
"type": "object",
|
|
8236
|
+
"additionalProperties": {},
|
|
8237
|
+
"description": "Output only. Additional annotations for the result.",
|
|
8238
|
+
"readOnly": true
|
|
8239
|
+
}
|
|
8240
|
+
}
|
|
8241
|
+
},
|
|
7045
8242
|
"v1DashboardStatus": {
|
|
7046
8243
|
"type": "string",
|
|
7047
8244
|
"enum": [
|
|
@@ -7053,6 +8250,49 @@
|
|
|
7053
8250
|
"default": "DASHBOARD_STATUS_UNSPECIFIED",
|
|
7054
8251
|
"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."
|
|
7055
8252
|
},
|
|
8253
|
+
"v1DashboardTestCaseAnnotation": {
|
|
8254
|
+
"type": "object",
|
|
8255
|
+
"properties": {
|
|
8256
|
+
"name": {
|
|
8257
|
+
"type": "string",
|
|
8258
|
+
"title": "Output only. Name of the DashboardTestCaseAnnotation resource. e.g.: \"dashboards/\u003cUUID\u003e/testCases/\u003cUUID\u003e/annotations/\u003cUUID\u003e\"",
|
|
8259
|
+
"readOnly": true
|
|
8260
|
+
},
|
|
8261
|
+
"createTime": {
|
|
8262
|
+
"type": "string",
|
|
8263
|
+
"format": "date-time",
|
|
8264
|
+
"description": "Output only. Timestamp when the DashboardTestCaseAnnotation was created.",
|
|
8265
|
+
"readOnly": true
|
|
8266
|
+
},
|
|
8267
|
+
"creator": {
|
|
8268
|
+
"type": "string",
|
|
8269
|
+
"description": "Output only. Name of the user or service that requested creation of the DashboardTestCaseAnnotation.",
|
|
8270
|
+
"readOnly": true
|
|
8271
|
+
},
|
|
8272
|
+
"updateTime": {
|
|
8273
|
+
"type": "string",
|
|
8274
|
+
"format": "date-time",
|
|
8275
|
+
"description": "Output only. Optional. Timestamp when the DashboardTestCaseAnnotation was last updated.",
|
|
8276
|
+
"readOnly": true
|
|
8277
|
+
},
|
|
8278
|
+
"updater": {
|
|
8279
|
+
"type": "string",
|
|
8280
|
+
"description": "Output only. Optional. Name of the user or service that requested update of the DashboardTestCaseAnnotation.",
|
|
8281
|
+
"readOnly": true
|
|
8282
|
+
},
|
|
8283
|
+
"parent": {
|
|
8284
|
+
"type": "string",
|
|
8285
|
+
"description": "Parent Dashboard Test Case resource name. e.g.: \"dashboards/\u003cUUID\u003e/testCases/\u003cUUID\u003e\"."
|
|
8286
|
+
},
|
|
8287
|
+
"key": {
|
|
8288
|
+
"type": "string",
|
|
8289
|
+
"description": "Immutable. Annotation key."
|
|
8290
|
+
},
|
|
8291
|
+
"value": {
|
|
8292
|
+
"description": "Annotation value."
|
|
8293
|
+
}
|
|
8294
|
+
}
|
|
8295
|
+
},
|
|
7056
8296
|
"v1DashboardType": {
|
|
7057
8297
|
"type": "string",
|
|
7058
8298
|
"enum": [
|
|
@@ -7063,6 +8303,65 @@
|
|
|
7063
8303
|
"default": "DASHBOARD_TYPE_UNSPECIFIED",
|
|
7064
8304
|
"description": " - DASHBOARD_TYPE_UNSPECIFIED: Unspecified type.\n - DASHBOARD_TYPE_STANDALONE: Standalone dashboard.\n - DASHBOARD_TYPE_WORKFLOW: Dashboard is part of a dashboard group."
|
|
7065
8305
|
},
|
|
8306
|
+
"v1DataFragment": {
|
|
8307
|
+
"type": "object",
|
|
8308
|
+
"properties": {
|
|
8309
|
+
"text": {
|
|
8310
|
+
"type": "string",
|
|
8311
|
+
"description": "Text content."
|
|
8312
|
+
},
|
|
8313
|
+
"metrics": {
|
|
8314
|
+
"type": "object",
|
|
8315
|
+
"additionalProperties": {
|
|
8316
|
+
"type": "number",
|
|
8317
|
+
"format": "double"
|
|
8318
|
+
},
|
|
8319
|
+
"description": "Metrics for this fragment."
|
|
8320
|
+
},
|
|
8321
|
+
"meta": {
|
|
8322
|
+
"type": "object",
|
|
8323
|
+
"additionalProperties": {
|
|
8324
|
+
"type": "string"
|
|
8325
|
+
},
|
|
8326
|
+
"description": "Additional metadata."
|
|
8327
|
+
}
|
|
8328
|
+
},
|
|
8329
|
+
"title": "Data fragment"
|
|
8330
|
+
},
|
|
8331
|
+
"v1DeepCompareLeaderboardsRequest": {
|
|
8332
|
+
"type": "object",
|
|
8333
|
+
"properties": {
|
|
8334
|
+
"leaderboardBaselineName": {
|
|
8335
|
+
"type": "string",
|
|
8336
|
+
"description": "Required. The resource name of the baseline leaderboard to compare against."
|
|
8337
|
+
},
|
|
8338
|
+
"leaderboardCurrentName": {
|
|
8339
|
+
"type": "string",
|
|
8340
|
+
"description": "Required. The resource name of the current leaderboard to compare."
|
|
8341
|
+
},
|
|
8342
|
+
"textSimilarityMetric": {
|
|
8343
|
+
"$ref": "#/definitions/v1TextSimilarityMetric",
|
|
8344
|
+
"description": "Optional. The text similarity metric to use for string/sentence matching. Defaults to EXACT_MATCH."
|
|
8345
|
+
},
|
|
8346
|
+
"llmModelBaselineName": {
|
|
8347
|
+
"type": "string",
|
|
8348
|
+
"description": "Required. The baseline LLM model name to compare."
|
|
8349
|
+
},
|
|
8350
|
+
"llmModelCurrentName": {
|
|
8351
|
+
"type": "string",
|
|
8352
|
+
"description": "Required. The current LLM model name to compare."
|
|
8353
|
+
}
|
|
8354
|
+
}
|
|
8355
|
+
},
|
|
8356
|
+
"v1DeepCompareLeaderboardsResponse": {
|
|
8357
|
+
"type": "object",
|
|
8358
|
+
"properties": {
|
|
8359
|
+
"leaderboardCmpReport": {
|
|
8360
|
+
"$ref": "#/definitions/v1LeaderboardCmpReport",
|
|
8361
|
+
"description": "The comparison report containing structured comparison results."
|
|
8362
|
+
}
|
|
8363
|
+
}
|
|
8364
|
+
},
|
|
7066
8365
|
"v1DeleteDashboardResponse": {
|
|
7067
8366
|
"type": "object",
|
|
7068
8367
|
"properties": {
|
|
@@ -7170,6 +8469,52 @@
|
|
|
7170
8469
|
}
|
|
7171
8470
|
}
|
|
7172
8471
|
},
|
|
8472
|
+
"v1DiffItem": {
|
|
8473
|
+
"type": "object",
|
|
8474
|
+
"properties": {
|
|
8475
|
+
"diffKey": {
|
|
8476
|
+
"type": "string",
|
|
8477
|
+
"description": "Unique key identifying the diff (format: \"baseline_id|current_id\")."
|
|
8478
|
+
},
|
|
8479
|
+
"items": {
|
|
8480
|
+
"type": "array",
|
|
8481
|
+
"items": {
|
|
8482
|
+
"type": "object",
|
|
8483
|
+
"$ref": "#/definitions/v1ComparisonItem"
|
|
8484
|
+
},
|
|
8485
|
+
"description": "List of comparison items."
|
|
8486
|
+
},
|
|
8487
|
+
"summary": {
|
|
8488
|
+
"$ref": "#/definitions/v1ComparisonSummary",
|
|
8489
|
+
"description": "Summary of the comparison."
|
|
8490
|
+
},
|
|
8491
|
+
"modelsOverview": {
|
|
8492
|
+
"$ref": "#/definitions/v1ModelsOverview",
|
|
8493
|
+
"description": "Overview of the models being compared."
|
|
8494
|
+
},
|
|
8495
|
+
"modelsComparisons": {
|
|
8496
|
+
"$ref": "#/definitions/v1ModelsComparisons",
|
|
8497
|
+
"description": "Model comparison statistics."
|
|
8498
|
+
},
|
|
8499
|
+
"modelsComparisonsMetrics": {
|
|
8500
|
+
"$ref": "#/definitions/v1ModelsComparisonsMetrics",
|
|
8501
|
+
"description": "Detailed metrics comparisons."
|
|
8502
|
+
},
|
|
8503
|
+
"technicalMetrics": {
|
|
8504
|
+
"$ref": "#/definitions/v1TechnicalMetrics",
|
|
8505
|
+
"description": "Technical metrics (cost, duration)."
|
|
8506
|
+
},
|
|
8507
|
+
"testCasesLeaderboard": {
|
|
8508
|
+
"type": "array",
|
|
8509
|
+
"items": {
|
|
8510
|
+
"type": "object",
|
|
8511
|
+
"$ref": "#/definitions/v1TestCaseLeaderboardItem"
|
|
8512
|
+
},
|
|
8513
|
+
"description": "Test cases leaderboard."
|
|
8514
|
+
}
|
|
8515
|
+
},
|
|
8516
|
+
"title": "A single diff item comparing two leaderboards"
|
|
8517
|
+
},
|
|
7173
8518
|
"v1Document": {
|
|
7174
8519
|
"type": "object",
|
|
7175
8520
|
"properties": {
|
|
@@ -7284,6 +8629,17 @@
|
|
|
7284
8629
|
},
|
|
7285
8630
|
"description": "EvaluationTest defines a single test in a suite, with materialized corpus (documents) and test cases."
|
|
7286
8631
|
},
|
|
8632
|
+
"v1EvaluationType": {
|
|
8633
|
+
"type": "string",
|
|
8634
|
+
"enum": [
|
|
8635
|
+
"EVALUATION_TYPE_UNSPECIFIED",
|
|
8636
|
+
"EVALUATION_TYPE_LLM",
|
|
8637
|
+
"EVALUATION_TYPE_RAG",
|
|
8638
|
+
"EVALUATION_TYPE_AGENT"
|
|
8639
|
+
],
|
|
8640
|
+
"default": "EVALUATION_TYPE_UNSPECIFIED",
|
|
8641
|
+
"description": " - EVALUATION_TYPE_UNSPECIFIED: Unspecified type.\n - EVALUATION_TYPE_LLM: LLM Evaluation, where evaluated model doesn't retrieve any context.\n - EVALUATION_TYPE_RAG: RAG Evaluation, where evaluated model retrieves context from a given collection.\n - EVALUATION_TYPE_AGENT: Agent Evaluation, where evaluated model is an agent that can interact with tools."
|
|
8642
|
+
},
|
|
7287
8643
|
"v1Evaluator": {
|
|
7288
8644
|
"type": "object",
|
|
7289
8645
|
"properties": {
|
|
@@ -7533,6 +8889,26 @@
|
|
|
7533
8889
|
}
|
|
7534
8890
|
}
|
|
7535
8891
|
},
|
|
8892
|
+
"v1FlippedMetric": {
|
|
8893
|
+
"type": "object",
|
|
8894
|
+
"properties": {
|
|
8895
|
+
"metricName": {
|
|
8896
|
+
"type": "string",
|
|
8897
|
+
"description": "Metric name."
|
|
8898
|
+
},
|
|
8899
|
+
"baselineValue": {
|
|
8900
|
+
"type": "number",
|
|
8901
|
+
"format": "double",
|
|
8902
|
+
"description": "Baseline value."
|
|
8903
|
+
},
|
|
8904
|
+
"currentValue": {
|
|
8905
|
+
"type": "number",
|
|
8906
|
+
"format": "double",
|
|
8907
|
+
"description": "Current value."
|
|
8908
|
+
}
|
|
8909
|
+
},
|
|
8910
|
+
"title": "Flipped metric information"
|
|
8911
|
+
},
|
|
7536
8912
|
"v1GenerateTestCasesResponse": {
|
|
7537
8913
|
"type": "object",
|
|
7538
8914
|
"properties": {
|
|
@@ -7542,6 +8918,15 @@
|
|
|
7542
8918
|
}
|
|
7543
8919
|
}
|
|
7544
8920
|
},
|
|
8921
|
+
"v1GetDashboardReportResponse": {
|
|
8922
|
+
"type": "object",
|
|
8923
|
+
"properties": {
|
|
8924
|
+
"dashboardReport": {
|
|
8925
|
+
"$ref": "#/definitions/v1DashboardReport",
|
|
8926
|
+
"description": "The requested Dashboard Report."
|
|
8927
|
+
}
|
|
8928
|
+
}
|
|
8929
|
+
},
|
|
7545
8930
|
"v1GetDashboardResponse": {
|
|
7546
8931
|
"type": "object",
|
|
7547
8932
|
"properties": {
|
|
@@ -7779,6 +9164,16 @@
|
|
|
7779
9164
|
"v1GrantWorkflowAccessResponse": {
|
|
7780
9165
|
"type": "object"
|
|
7781
9166
|
},
|
|
9167
|
+
"v1HumanDecision": {
|
|
9168
|
+
"type": "string",
|
|
9169
|
+
"enum": [
|
|
9170
|
+
"HUMAN_DECISION_UNSPECIFIED",
|
|
9171
|
+
"HUMAN_DECISION_APPROVED",
|
|
9172
|
+
"HUMAN_DECISION_REJECTED"
|
|
9173
|
+
],
|
|
9174
|
+
"default": "HUMAN_DECISION_UNSPECIFIED",
|
|
9175
|
+
"description": "HumanDecision represents the human decision on the result.\n\n - HUMAN_DECISION_UNSPECIFIED: Default value, means no decision has been made.\n - HUMAN_DECISION_APPROVED: The result was approved by human.\n - HUMAN_DECISION_REJECTED: The result was rejected by human."
|
|
9176
|
+
},
|
|
7782
9177
|
"v1ImportEvaluationRequest": {
|
|
7783
9178
|
"type": "object",
|
|
7784
9179
|
"properties": {
|
|
@@ -7958,6 +9353,13 @@
|
|
|
7958
9353
|
"experimentalFeaturesEnabled": {
|
|
7959
9354
|
"type": "boolean",
|
|
7960
9355
|
"description": "Whether the experimental features are enabled."
|
|
9356
|
+
},
|
|
9357
|
+
"modelTypeAllowlist": {
|
|
9358
|
+
"type": "array",
|
|
9359
|
+
"items": {
|
|
9360
|
+
"type": "string"
|
|
9361
|
+
},
|
|
9362
|
+
"description": "Allowlist of model types for UI that can be hosted in Eval Studio. E.g.\nMODEL_TYPE_H2OGPTE_RAG, MODEL_TYPE_OPENAI_CHAT, MODEL_TYPE_AMAZON_BEDROCK.\nUse \"*\" to allow all model types."
|
|
7961
9363
|
}
|
|
7962
9364
|
}
|
|
7963
9365
|
},
|
|
@@ -8184,8 +9586,63 @@
|
|
|
8184
9586
|
"testLab": {
|
|
8185
9587
|
"type": "string",
|
|
8186
9588
|
"description": "Optional. Resource name of the TestLab if Leaderboard was created from a imported TestLab."
|
|
9589
|
+
},
|
|
9590
|
+
"evaluationType": {
|
|
9591
|
+
"$ref": "#/definitions/v1EvaluationType",
|
|
9592
|
+
"description": "Optional. Type of the evaluation. If not specified, defaults to type of the Model used, or LLM if unspecified."
|
|
9593
|
+
}
|
|
9594
|
+
}
|
|
9595
|
+
},
|
|
9596
|
+
"v1LeaderboardCmpReport": {
|
|
9597
|
+
"type": "object",
|
|
9598
|
+
"properties": {
|
|
9599
|
+
"summary": {
|
|
9600
|
+
"type": "string",
|
|
9601
|
+
"description": "Summary of the comparison."
|
|
9602
|
+
},
|
|
9603
|
+
"comparisonResult": {
|
|
9604
|
+
"$ref": "#/definitions/v1ComparisonResult",
|
|
9605
|
+
"description": "Structured comparison result."
|
|
9606
|
+
}
|
|
9607
|
+
}
|
|
9608
|
+
},
|
|
9609
|
+
"v1LeaderboardComparisonItem": {
|
|
9610
|
+
"type": "object",
|
|
9611
|
+
"properties": {
|
|
9612
|
+
"wins": {
|
|
9613
|
+
"type": "integer",
|
|
9614
|
+
"format": "int32",
|
|
9615
|
+
"description": "Number of wins."
|
|
9616
|
+
},
|
|
9617
|
+
"question": {
|
|
9618
|
+
"type": "string",
|
|
9619
|
+
"description": "Question text."
|
|
9620
|
+
},
|
|
9621
|
+
"changedMetricsCount": {
|
|
9622
|
+
"type": "integer",
|
|
9623
|
+
"format": "int32",
|
|
9624
|
+
"description": "Count of changed metrics."
|
|
9625
|
+
}
|
|
9626
|
+
},
|
|
9627
|
+
"title": "Leaderboard comparison item"
|
|
9628
|
+
},
|
|
9629
|
+
"v1LeaderboardInfo": {
|
|
9630
|
+
"type": "object",
|
|
9631
|
+
"properties": {
|
|
9632
|
+
"key": {
|
|
9633
|
+
"type": "string",
|
|
9634
|
+
"description": "Unique key identifying the leaderboard pair (format: \"baseline_id|current_id\")."
|
|
9635
|
+
},
|
|
9636
|
+
"items": {
|
|
9637
|
+
"type": "array",
|
|
9638
|
+
"items": {
|
|
9639
|
+
"type": "object",
|
|
9640
|
+
"$ref": "#/definitions/v1LeaderboardComparisonItem"
|
|
9641
|
+
},
|
|
9642
|
+
"description": "List of leaderboard comparison items."
|
|
8187
9643
|
}
|
|
8188
|
-
}
|
|
9644
|
+
},
|
|
9645
|
+
"title": "Leaderboard information"
|
|
8189
9646
|
},
|
|
8190
9647
|
"v1LeaderboardReport": {
|
|
8191
9648
|
"type": "object",
|
|
@@ -8237,8 +9694,7 @@
|
|
|
8237
9694
|
"properties": {
|
|
8238
9695
|
"tokenization": {
|
|
8239
9696
|
"type": "string",
|
|
8240
|
-
"description": "
|
|
8241
|
-
"readOnly": true
|
|
9697
|
+
"description": "Optional. Actual output data tokenization like sentence_level_punkt."
|
|
8242
9698
|
},
|
|
8243
9699
|
"data": {
|
|
8244
9700
|
"type": "array",
|
|
@@ -8246,11 +9702,22 @@
|
|
|
8246
9702
|
"type": "object",
|
|
8247
9703
|
"$ref": "#/definitions/v1LeaderboardReportActualOutputData"
|
|
8248
9704
|
},
|
|
8249
|
-
"description": "
|
|
8250
|
-
|
|
9705
|
+
"description": "Optional. Actual output data - list of text fragments coupled with the metric values."
|
|
9706
|
+
},
|
|
9707
|
+
"agentChatActivityDiagram": {
|
|
9708
|
+
"$ref": "#/definitions/v1AgentChatActivityDiagram",
|
|
9709
|
+
"description": "Optional. Actual output data - agent chat activity diagram."
|
|
9710
|
+
},
|
|
9711
|
+
"agentChatToolsBarChart": {
|
|
9712
|
+
"$ref": "#/definitions/v1AgentChatToolsBarChart",
|
|
9713
|
+
"description": "Optional. Actual output data - agent chat tools usage bar chart."
|
|
9714
|
+
},
|
|
9715
|
+
"agentChatScriptsBarChart": {
|
|
9716
|
+
"$ref": "#/definitions/v1AgentChatScriptsBarChart",
|
|
9717
|
+
"description": "Optional. Actual output data - agent chat scripts bar chart."
|
|
8251
9718
|
}
|
|
8252
9719
|
},
|
|
8253
|
-
"description": "ActualOutputMeta represents the metadata about the actual output."
|
|
9720
|
+
"description": "ActualOutputMeta represents the metadata about the actual output.\nEach instance can contain any combination of the fields below."
|
|
8254
9721
|
},
|
|
8255
9722
|
"v1LeaderboardReportEvaluator": {
|
|
8256
9723
|
"type": "object",
|
|
@@ -8567,7 +10034,7 @@
|
|
|
8567
10034
|
"items": {
|
|
8568
10035
|
"type": "string"
|
|
8569
10036
|
},
|
|
8570
|
-
"description": "Output only. Collection of corpus documents to be used during evaluation.",
|
|
10037
|
+
"description": "Output only. Collection of corpus documents to be used during evaluation. Omitted if\nLEADERBOARD_REPORT_RESULT_VIEW_SUMMARY is used.",
|
|
8571
10038
|
"readOnly": true
|
|
8572
10039
|
},
|
|
8573
10040
|
"context": {
|
|
@@ -8575,7 +10042,7 @@
|
|
|
8575
10042
|
"items": {
|
|
8576
10043
|
"type": "string"
|
|
8577
10044
|
},
|
|
8578
|
-
"description": "Output only. List of contextual information or references.",
|
|
10045
|
+
"description": "Output only. List of contextual information or references. Omitted if\nLEADERBOARD_REPORT_RESULT_VIEW_SUMMARY is used.",
|
|
8579
10046
|
"readOnly": true
|
|
8580
10047
|
},
|
|
8581
10048
|
"categories": {
|
|
@@ -8583,7 +10050,7 @@
|
|
|
8583
10050
|
"items": {
|
|
8584
10051
|
"type": "string"
|
|
8585
10052
|
},
|
|
8586
|
-
"description": "Output only. List of categories or labels for classification.",
|
|
10053
|
+
"description": "Output only. List of categories or labels for classification. Omitted if\nLEADERBOARD_REPORT_RESULT_VIEW_SUMMARY is used.",
|
|
8587
10054
|
"readOnly": true
|
|
8588
10055
|
},
|
|
8589
10056
|
"relationships": {
|
|
@@ -8592,7 +10059,7 @@
|
|
|
8592
10059
|
"type": "object",
|
|
8593
10060
|
"$ref": "#/definitions/v1LeaderboardReportResultRelationship"
|
|
8594
10061
|
},
|
|
8595
|
-
"description": "Output only. List of relationships or associations between entities.",
|
|
10062
|
+
"description": "Output only. List of relationships or associations between entities. Omitted if\nLEADERBOARD_REPORT_RESULT_VIEW_SUMMARY is used.",
|
|
8596
10063
|
"readOnly": true
|
|
8597
10064
|
},
|
|
8598
10065
|
"expectedOutput": {
|
|
@@ -8605,12 +10072,12 @@
|
|
|
8605
10072
|
"items": {
|
|
8606
10073
|
"type": "string"
|
|
8607
10074
|
},
|
|
8608
|
-
"description": "Output only. List of constraints that should be applied to the output.",
|
|
10075
|
+
"description": "Output only. List of constraints that should be applied to the output. Omitted if\nLEADERBOARD_REPORT_RESULT_VIEW_SUMMARY is used.",
|
|
8609
10076
|
"readOnly": true
|
|
8610
10077
|
},
|
|
8611
10078
|
"outputCondition": {
|
|
8612
10079
|
"type": "string",
|
|
8613
|
-
"description": "Output only. Condition that output should satisfy.",
|
|
10080
|
+
"description": "Output only. Condition that output should satisfy. Omitted if\nLEADERBOARD_REPORT_RESULT_VIEW_SUMMARY is used.",
|
|
8614
10081
|
"readOnly": true
|
|
8615
10082
|
},
|
|
8616
10083
|
"actualOutput": {
|
|
@@ -8621,13 +10088,13 @@
|
|
|
8621
10088
|
"actualDuration": {
|
|
8622
10089
|
"type": "number",
|
|
8623
10090
|
"format": "double",
|
|
8624
|
-
"description": "Output only. Duration of processing in seconds.",
|
|
10091
|
+
"description": "Output only. Duration of processing in seconds. Omitted if\nLEADERBOARD_REPORT_RESULT_VIEW_SUMMARY is used.",
|
|
8625
10092
|
"readOnly": true
|
|
8626
10093
|
},
|
|
8627
10094
|
"cost": {
|
|
8628
10095
|
"type": "number",
|
|
8629
10096
|
"format": "double",
|
|
8630
|
-
"description": "Output only. Cost of processing in currency units.",
|
|
10097
|
+
"description": "Output only. Cost of processing in currency units. Omitted if\nLEADERBOARD_REPORT_RESULT_VIEW_SUMMARY is used.",
|
|
8631
10098
|
"readOnly": true
|
|
8632
10099
|
},
|
|
8633
10100
|
"modelKey": {
|
|
@@ -8661,6 +10128,22 @@
|
|
|
8661
10128
|
},
|
|
8662
10129
|
"description": "Output only. Additional metadata about the actual output.",
|
|
8663
10130
|
"readOnly": true
|
|
10131
|
+
},
|
|
10132
|
+
"humanDecision": {
|
|
10133
|
+
"$ref": "#/definitions/v1HumanDecision",
|
|
10134
|
+
"description": "Output only. Human decision whether the result was approved or rejected by human.",
|
|
10135
|
+
"readOnly": true
|
|
10136
|
+
},
|
|
10137
|
+
"comment": {
|
|
10138
|
+
"type": "string",
|
|
10139
|
+
"description": "Output only. Optional comment about the result.",
|
|
10140
|
+
"readOnly": true
|
|
10141
|
+
},
|
|
10142
|
+
"annotations": {
|
|
10143
|
+
"type": "object",
|
|
10144
|
+
"additionalProperties": {},
|
|
10145
|
+
"description": "Output only. Annotations associated with the test case result.",
|
|
10146
|
+
"readOnly": true
|
|
8664
10147
|
}
|
|
8665
10148
|
}
|
|
8666
10149
|
},
|
|
@@ -8685,6 +10168,16 @@
|
|
|
8685
10168
|
},
|
|
8686
10169
|
"description": "Relationship represents the relationship between result entries."
|
|
8687
10170
|
},
|
|
10171
|
+
"v1LeaderboardReportResultView": {
|
|
10172
|
+
"type": "string",
|
|
10173
|
+
"enum": [
|
|
10174
|
+
"LEADERBOARD_REPORT_RESULT_VIEW_UNSPECIFIED",
|
|
10175
|
+
"LEADERBOARD_REPORT_RESULT_VIEW_FULL",
|
|
10176
|
+
"LEADERBOARD_REPORT_RESULT_VIEW_SUMMARY"
|
|
10177
|
+
],
|
|
10178
|
+
"default": "LEADERBOARD_REPORT_RESULT_VIEW_UNSPECIFIED",
|
|
10179
|
+
"description": " - LEADERBOARD_REPORT_RESULT_VIEW_UNSPECIFIED: Default value. The basic view with essential fields.\n - LEADERBOARD_REPORT_RESULT_VIEW_FULL: Full view with all fields populated.\n - LEADERBOARD_REPORT_RESULT_VIEW_SUMMARY: Summary view with only key fields."
|
|
10180
|
+
},
|
|
8688
10181
|
"v1LeaderboardStatus": {
|
|
8689
10182
|
"type": "string",
|
|
8690
10183
|
"enum": [
|
|
@@ -8696,6 +10189,49 @@
|
|
|
8696
10189
|
"default": "LEADERBOARD_STATUS_UNSPECIFIED",
|
|
8697
10190
|
"description": " - LEADERBOARD_STATUS_UNSPECIFIED: Unspecified status.\n - LEADERBOARD_STATUS_PROCESSING: Leaderboard is being processed. See the Operation for details.\n - LEADERBOARD_STATUS_COMPLETED: Leaderboard is completed successfully.\n - LEADERBOARD_STATUS_FAILED: Leaderboard failed. See the Operation for details."
|
|
8698
10191
|
},
|
|
10192
|
+
"v1LeaderboardTestCaseAnnotation": {
|
|
10193
|
+
"type": "object",
|
|
10194
|
+
"properties": {
|
|
10195
|
+
"name": {
|
|
10196
|
+
"type": "string",
|
|
10197
|
+
"title": "Output only. Name of the LeaderboardTestCaseAnnotation resource. e.g.: \"leaderboards/\u003cUUID\u003e/testCases/\u003cUUID\u003e/annotations/\u003cUUID\u003e\"",
|
|
10198
|
+
"readOnly": true
|
|
10199
|
+
},
|
|
10200
|
+
"createTime": {
|
|
10201
|
+
"type": "string",
|
|
10202
|
+
"format": "date-time",
|
|
10203
|
+
"description": "Output only. Timestamp when the LeaderboardTestCaseAnnotation was created.",
|
|
10204
|
+
"readOnly": true
|
|
10205
|
+
},
|
|
10206
|
+
"creator": {
|
|
10207
|
+
"type": "string",
|
|
10208
|
+
"description": "Output only. Name of the user or service that requested creation of the LeaderboardTestCaseAnnotation.",
|
|
10209
|
+
"readOnly": true
|
|
10210
|
+
},
|
|
10211
|
+
"updateTime": {
|
|
10212
|
+
"type": "string",
|
|
10213
|
+
"format": "date-time",
|
|
10214
|
+
"description": "Output only. Optional. Timestamp when the LeaderboardTestCaseAnnotation was last updated.",
|
|
10215
|
+
"readOnly": true
|
|
10216
|
+
},
|
|
10217
|
+
"updater": {
|
|
10218
|
+
"type": "string",
|
|
10219
|
+
"description": "Output only. Optional. Name of the user or service that requested update of the LeaderboardTestCaseAnnotation.",
|
|
10220
|
+
"readOnly": true
|
|
10221
|
+
},
|
|
10222
|
+
"parent": {
|
|
10223
|
+
"type": "string",
|
|
10224
|
+
"description": "Parent Leaderboard Test Case resource name. e.g.: \"leaderboards/\u003cUUID\u003e/testCases/\u003cUUID\u003e\"."
|
|
10225
|
+
},
|
|
10226
|
+
"key": {
|
|
10227
|
+
"type": "string",
|
|
10228
|
+
"description": "Immutable. Annotation key."
|
|
10229
|
+
},
|
|
10230
|
+
"value": {
|
|
10231
|
+
"description": "Annotation value."
|
|
10232
|
+
}
|
|
10233
|
+
}
|
|
10234
|
+
},
|
|
8699
10235
|
"v1LeaderboardType": {
|
|
8700
10236
|
"type": "string",
|
|
8701
10237
|
"enum": [
|
|
@@ -8744,6 +10280,19 @@
|
|
|
8744
10280
|
}
|
|
8745
10281
|
}
|
|
8746
10282
|
},
|
|
10283
|
+
"v1ListDashboardTestCaseAnnotationsResponse": {
|
|
10284
|
+
"type": "object",
|
|
10285
|
+
"properties": {
|
|
10286
|
+
"dashboardTestCaseAnnotations": {
|
|
10287
|
+
"type": "array",
|
|
10288
|
+
"items": {
|
|
10289
|
+
"type": "object",
|
|
10290
|
+
"$ref": "#/definitions/v1DashboardTestCaseAnnotation"
|
|
10291
|
+
},
|
|
10292
|
+
"description": "The list of DashboardTestCaseAnnotations."
|
|
10293
|
+
}
|
|
10294
|
+
}
|
|
10295
|
+
},
|
|
8747
10296
|
"v1ListDashboardsResponse": {
|
|
8748
10297
|
"type": "object",
|
|
8749
10298
|
"properties": {
|
|
@@ -8808,6 +10357,19 @@
|
|
|
8808
10357
|
}
|
|
8809
10358
|
}
|
|
8810
10359
|
},
|
|
10360
|
+
"v1ListLeaderboardTestCaseAnnotationsResponse": {
|
|
10361
|
+
"type": "object",
|
|
10362
|
+
"properties": {
|
|
10363
|
+
"leaderboardTestCaseAnnotations": {
|
|
10364
|
+
"type": "array",
|
|
10365
|
+
"items": {
|
|
10366
|
+
"type": "object",
|
|
10367
|
+
"$ref": "#/definitions/v1LeaderboardTestCaseAnnotation"
|
|
10368
|
+
},
|
|
10369
|
+
"description": "The list of LeaderboardTestCaseAnnotations."
|
|
10370
|
+
}
|
|
10371
|
+
}
|
|
10372
|
+
},
|
|
8811
10373
|
"v1ListLeaderboardsResponse": {
|
|
8812
10374
|
"type": "object",
|
|
8813
10375
|
"properties": {
|
|
@@ -8913,6 +10475,11 @@
|
|
|
8913
10475
|
"$ref": "#/definitions/v1Operation"
|
|
8914
10476
|
},
|
|
8915
10477
|
"description": "The list of Operations."
|
|
10478
|
+
},
|
|
10479
|
+
"totalSize": {
|
|
10480
|
+
"type": "integer",
|
|
10481
|
+
"format": "int32",
|
|
10482
|
+
"description": "The total number of Operations that match the request, irrespective of pagination."
|
|
8916
10483
|
}
|
|
8917
10484
|
}
|
|
8918
10485
|
},
|
|
@@ -9046,6 +10613,24 @@
|
|
|
9046
10613
|
}
|
|
9047
10614
|
}
|
|
9048
10615
|
},
|
|
10616
|
+
"v1ListUnseenOperationsResponse": {
|
|
10617
|
+
"type": "object",
|
|
10618
|
+
"properties": {
|
|
10619
|
+
"operations": {
|
|
10620
|
+
"type": "array",
|
|
10621
|
+
"items": {
|
|
10622
|
+
"type": "object",
|
|
10623
|
+
"$ref": "#/definitions/v1Operation"
|
|
10624
|
+
},
|
|
10625
|
+
"description": "The list of Operations that the user has not seen."
|
|
10626
|
+
},
|
|
10627
|
+
"totalSize": {
|
|
10628
|
+
"type": "integer",
|
|
10629
|
+
"format": "int32",
|
|
10630
|
+
"description": "The total number of unseen Operations that match the request, irrespective of pagination."
|
|
10631
|
+
}
|
|
10632
|
+
}
|
|
10633
|
+
},
|
|
9049
10634
|
"v1ListWorkflowAccessResponse": {
|
|
9050
10635
|
"type": "object",
|
|
9051
10636
|
"properties": {
|
|
@@ -9106,6 +10691,137 @@
|
|
|
9106
10691
|
}
|
|
9107
10692
|
}
|
|
9108
10693
|
},
|
|
10694
|
+
"v1MarkOperationSeenByCreatorResponse": {
|
|
10695
|
+
"type": "object",
|
|
10696
|
+
"properties": {
|
|
10697
|
+
"operation": {
|
|
10698
|
+
"$ref": "#/definitions/v1Operation",
|
|
10699
|
+
"description": "The updated Operation."
|
|
10700
|
+
}
|
|
10701
|
+
}
|
|
10702
|
+
},
|
|
10703
|
+
"v1Metric": {
|
|
10704
|
+
"type": "object",
|
|
10705
|
+
"properties": {
|
|
10706
|
+
"key": {
|
|
10707
|
+
"type": "string",
|
|
10708
|
+
"description": "Metric key."
|
|
10709
|
+
},
|
|
10710
|
+
"value": {
|
|
10711
|
+
"type": "number",
|
|
10712
|
+
"format": "double",
|
|
10713
|
+
"description": "Metric value (optional)."
|
|
10714
|
+
}
|
|
10715
|
+
},
|
|
10716
|
+
"title": "Metric information"
|
|
10717
|
+
},
|
|
10718
|
+
"v1MetricAverage": {
|
|
10719
|
+
"type": "object",
|
|
10720
|
+
"properties": {
|
|
10721
|
+
"metricKey": {
|
|
10722
|
+
"type": "string",
|
|
10723
|
+
"description": "Metric key."
|
|
10724
|
+
},
|
|
10725
|
+
"baselineAvg": {
|
|
10726
|
+
"type": "number",
|
|
10727
|
+
"format": "double",
|
|
10728
|
+
"description": "Baseline average."
|
|
10729
|
+
},
|
|
10730
|
+
"currentAvg": {
|
|
10731
|
+
"type": "number",
|
|
10732
|
+
"format": "double",
|
|
10733
|
+
"description": "Current average."
|
|
10734
|
+
},
|
|
10735
|
+
"diff": {
|
|
10736
|
+
"type": "number",
|
|
10737
|
+
"format": "double",
|
|
10738
|
+
"description": "Difference between current and baseline."
|
|
10739
|
+
},
|
|
10740
|
+
"baselineBetterWins": {
|
|
10741
|
+
"type": "integer",
|
|
10742
|
+
"format": "int32",
|
|
10743
|
+
"description": "Baseline better wins count."
|
|
10744
|
+
},
|
|
10745
|
+
"currentBetterWins": {
|
|
10746
|
+
"type": "integer",
|
|
10747
|
+
"format": "int32",
|
|
10748
|
+
"description": "Current better wins count."
|
|
10749
|
+
},
|
|
10750
|
+
"baselineRankAvg": {
|
|
10751
|
+
"type": "number",
|
|
10752
|
+
"format": "double",
|
|
10753
|
+
"description": "Baseline rank average."
|
|
10754
|
+
},
|
|
10755
|
+
"currentRankAvg": {
|
|
10756
|
+
"type": "number",
|
|
10757
|
+
"format": "double",
|
|
10758
|
+
"description": "Current rank average."
|
|
10759
|
+
}
|
|
10760
|
+
},
|
|
10761
|
+
"title": "Metric average comparison"
|
|
10762
|
+
},
|
|
10763
|
+
"v1MetricMeta": {
|
|
10764
|
+
"type": "object",
|
|
10765
|
+
"properties": {
|
|
10766
|
+
"key": {
|
|
10767
|
+
"type": "string",
|
|
10768
|
+
"description": "Metric key."
|
|
10769
|
+
},
|
|
10770
|
+
"displayName": {
|
|
10771
|
+
"type": "string",
|
|
10772
|
+
"description": "Display name."
|
|
10773
|
+
},
|
|
10774
|
+
"dataType": {
|
|
10775
|
+
"type": "string",
|
|
10776
|
+
"description": "Data type."
|
|
10777
|
+
},
|
|
10778
|
+
"displayValue": {
|
|
10779
|
+
"type": "string",
|
|
10780
|
+
"description": "Display value format."
|
|
10781
|
+
},
|
|
10782
|
+
"description": {
|
|
10783
|
+
"type": "string",
|
|
10784
|
+
"description": "Description."
|
|
10785
|
+
},
|
|
10786
|
+
"valueRange": {
|
|
10787
|
+
"type": "array",
|
|
10788
|
+
"items": {
|
|
10789
|
+
"type": "number",
|
|
10790
|
+
"format": "double"
|
|
10791
|
+
},
|
|
10792
|
+
"description": "Value range (min, max)."
|
|
10793
|
+
},
|
|
10794
|
+
"valueEnum": {
|
|
10795
|
+
"type": "array",
|
|
10796
|
+
"items": {
|
|
10797
|
+
"type": "string"
|
|
10798
|
+
},
|
|
10799
|
+
"description": "Value enum (null if not applicable)."
|
|
10800
|
+
},
|
|
10801
|
+
"higherIsBetter": {
|
|
10802
|
+
"type": "boolean",
|
|
10803
|
+
"description": "Whether higher is better."
|
|
10804
|
+
},
|
|
10805
|
+
"threshold": {
|
|
10806
|
+
"type": "number",
|
|
10807
|
+
"format": "double",
|
|
10808
|
+
"description": "Threshold value."
|
|
10809
|
+
},
|
|
10810
|
+
"isPrimaryMetric": {
|
|
10811
|
+
"type": "boolean",
|
|
10812
|
+
"description": "Is primary metric."
|
|
10813
|
+
},
|
|
10814
|
+
"parentMetric": {
|
|
10815
|
+
"type": "string",
|
|
10816
|
+
"description": "Parent metric."
|
|
10817
|
+
},
|
|
10818
|
+
"exclude": {
|
|
10819
|
+
"type": "boolean",
|
|
10820
|
+
"description": "Exclude flag."
|
|
10821
|
+
}
|
|
10822
|
+
},
|
|
10823
|
+
"title": "Metric metadata"
|
|
10824
|
+
},
|
|
9109
10825
|
"v1MetricScore": {
|
|
9110
10826
|
"type": "object",
|
|
9111
10827
|
"properties": {
|
|
@@ -9116,7 +10832,8 @@
|
|
|
9116
10832
|
"value": {
|
|
9117
10833
|
"type": "number",
|
|
9118
10834
|
"format": "double",
|
|
9119
|
-
"
|
|
10835
|
+
"x-nullable": true,
|
|
10836
|
+
"description": "Optional. Metric value. May be omitted if the metric could not be computed.\nValid values include normal floats, as well as special values: NaN, Infinity, or -Infinity."
|
|
9120
10837
|
}
|
|
9121
10838
|
},
|
|
9122
10839
|
"description": "MetricScore represents the metric score."
|
|
@@ -9130,7 +10847,7 @@
|
|
|
9130
10847
|
"type": "object",
|
|
9131
10848
|
"$ref": "#/definitions/v1MetricScore"
|
|
9132
10849
|
},
|
|
9133
|
-
"description": "
|
|
10850
|
+
"description": "Repeated. List of metric scores."
|
|
9134
10851
|
}
|
|
9135
10852
|
}
|
|
9136
10853
|
},
|
|
@@ -9181,48 +10898,145 @@
|
|
|
9181
10898
|
},
|
|
9182
10899
|
"description": {
|
|
9183
10900
|
"type": "string",
|
|
9184
|
-
"description": "Optional. Arbitrary description of the Model."
|
|
10901
|
+
"description": "Optional. Arbitrary description of the Model."
|
|
10902
|
+
},
|
|
10903
|
+
"url": {
|
|
10904
|
+
"type": "string",
|
|
10905
|
+
"description": "Optional. Immutable. Absolute URL to the Model."
|
|
10906
|
+
},
|
|
10907
|
+
"apiKey": {
|
|
10908
|
+
"type": "string",
|
|
10909
|
+
"description": "Optional. API key used to access the Model. Not set for read calls (i.e. get, list) by public\nclients (front-end). Set only for internal (server-to-worker) communication."
|
|
10910
|
+
},
|
|
10911
|
+
"type": {
|
|
10912
|
+
"$ref": "#/definitions/v1ModelType",
|
|
10913
|
+
"description": "Immutable. Type of this Model."
|
|
10914
|
+
},
|
|
10915
|
+
"parameters": {
|
|
10916
|
+
"type": "string",
|
|
10917
|
+
"description": "Optional. Model specific parameters in JSON format."
|
|
10918
|
+
},
|
|
10919
|
+
"demo": {
|
|
10920
|
+
"type": "boolean",
|
|
10921
|
+
"description": "Output only. Whether the Model is a demo resource or not. Demo resources are read only.",
|
|
10922
|
+
"readOnly": true
|
|
10923
|
+
}
|
|
10924
|
+
}
|
|
10925
|
+
},
|
|
10926
|
+
"v1ModelType": {
|
|
10927
|
+
"type": "string",
|
|
10928
|
+
"enum": [
|
|
10929
|
+
"MODEL_TYPE_UNSPECIFIED",
|
|
10930
|
+
"MODEL_TYPE_H2OGPTE_RAG",
|
|
10931
|
+
"MODEL_TYPE_OPENAI_RAG",
|
|
10932
|
+
"MODEL_TYPE_H2OGPTE_LLM",
|
|
10933
|
+
"MODEL_TYPE_H2OGPT_LLM",
|
|
10934
|
+
"MODEL_TYPE_OPENAI_CHAT",
|
|
10935
|
+
"MODEL_TYPE_AZURE_OPENAI_CHAT",
|
|
10936
|
+
"MODEL_TYPE_OPENAI_API_CHAT",
|
|
10937
|
+
"MODEL_TYPE_H2OLLMOPS",
|
|
10938
|
+
"MODEL_TYPE_OLLAMA",
|
|
10939
|
+
"MODEL_TYPE_AMAZON_BEDROCK",
|
|
10940
|
+
"MODEL_TYPE_ANTHROPIC_CLAUDE"
|
|
10941
|
+
],
|
|
10942
|
+
"default": "MODEL_TYPE_UNSPECIFIED",
|
|
10943
|
+
"description": " - MODEL_TYPE_UNSPECIFIED: Unspecified type.\n - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG.\n - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG.\n - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM.\n - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM.\n - MODEL_TYPE_OPENAI_CHAT: OpenAI chat.\n - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat.\n - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat.\n - MODEL_TYPE_H2OLLMOPS: H2O LLMOps.\n - MODEL_TYPE_OLLAMA: Ollama.\n - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock.\n - MODEL_TYPE_ANTHROPIC_CLAUDE: Anthropic Claude chat."
|
|
10944
|
+
},
|
|
10945
|
+
"v1ModelsComparisons": {
|
|
10946
|
+
"type": "object",
|
|
10947
|
+
"properties": {
|
|
10948
|
+
"testCaseRanksBaseline": {
|
|
10949
|
+
"type": "integer",
|
|
10950
|
+
"format": "int32",
|
|
10951
|
+
"description": "Test case ranks for baseline."
|
|
10952
|
+
},
|
|
10953
|
+
"testCaseRanksCurrent": {
|
|
10954
|
+
"type": "integer",
|
|
10955
|
+
"format": "int32",
|
|
10956
|
+
"description": "Test case ranks for current."
|
|
10957
|
+
},
|
|
10958
|
+
"testCaseWinsBaseline": {
|
|
10959
|
+
"type": "integer",
|
|
10960
|
+
"format": "int32",
|
|
10961
|
+
"description": "Test case wins for baseline."
|
|
10962
|
+
},
|
|
10963
|
+
"testCaseWinsCurrent": {
|
|
10964
|
+
"type": "integer",
|
|
10965
|
+
"format": "int32",
|
|
10966
|
+
"description": "Test case wins for current."
|
|
10967
|
+
}
|
|
10968
|
+
},
|
|
10969
|
+
"title": "Models comparison statistics"
|
|
10970
|
+
},
|
|
10971
|
+
"v1ModelsComparisonsMetrics": {
|
|
10972
|
+
"type": "object",
|
|
10973
|
+
"properties": {
|
|
10974
|
+
"metricsRanksBaseline": {
|
|
10975
|
+
"type": "number",
|
|
10976
|
+
"format": "double",
|
|
10977
|
+
"description": "Metrics ranks for baseline."
|
|
10978
|
+
},
|
|
10979
|
+
"metricsRanksCurrent": {
|
|
10980
|
+
"type": "number",
|
|
10981
|
+
"format": "double",
|
|
10982
|
+
"description": "Metrics ranks for current."
|
|
10983
|
+
},
|
|
10984
|
+
"metricsWinsBaseline": {
|
|
10985
|
+
"type": "integer",
|
|
10986
|
+
"format": "int32",
|
|
10987
|
+
"description": "Metrics wins for baseline."
|
|
10988
|
+
},
|
|
10989
|
+
"metricsWinsCurrent": {
|
|
10990
|
+
"type": "integer",
|
|
10991
|
+
"format": "int32",
|
|
10992
|
+
"description": "Metrics wins for current."
|
|
10993
|
+
},
|
|
10994
|
+
"metricsAverages": {
|
|
10995
|
+
"type": "array",
|
|
10996
|
+
"items": {
|
|
10997
|
+
"type": "object",
|
|
10998
|
+
"$ref": "#/definitions/v1MetricAverage"
|
|
10999
|
+
},
|
|
11000
|
+
"description": "Metrics averages."
|
|
11001
|
+
}
|
|
11002
|
+
},
|
|
11003
|
+
"title": "Detailed metrics comparisons"
|
|
11004
|
+
},
|
|
11005
|
+
"v1ModelsOverview": {
|
|
11006
|
+
"type": "object",
|
|
11007
|
+
"properties": {
|
|
11008
|
+
"baselineModelKey": {
|
|
11009
|
+
"type": "string",
|
|
11010
|
+
"description": "Baseline model key."
|
|
9185
11011
|
},
|
|
9186
|
-
"
|
|
11012
|
+
"currentModelKey": {
|
|
9187
11013
|
"type": "string",
|
|
9188
|
-
"description": "
|
|
11014
|
+
"description": "Current model key."
|
|
9189
11015
|
},
|
|
9190
|
-
"
|
|
11016
|
+
"baselineModelName": {
|
|
9191
11017
|
"type": "string",
|
|
9192
|
-
"description": "
|
|
11018
|
+
"description": "Baseline model name."
|
|
9193
11019
|
},
|
|
9194
|
-
"
|
|
9195
|
-
"
|
|
9196
|
-
"
|
|
11020
|
+
"baselineCollectionId": {
|
|
11021
|
+
"type": "array",
|
|
11022
|
+
"items": {
|
|
11023
|
+
"type": "string"
|
|
11024
|
+
},
|
|
11025
|
+
"description": "Baseline collection IDs."
|
|
9197
11026
|
},
|
|
9198
|
-
"
|
|
11027
|
+
"currentModelName": {
|
|
9199
11028
|
"type": "string",
|
|
9200
|
-
"description": "
|
|
11029
|
+
"description": "Current model name."
|
|
9201
11030
|
},
|
|
9202
|
-
"
|
|
9203
|
-
"type": "
|
|
9204
|
-
"
|
|
9205
|
-
|
|
11031
|
+
"currentCollectionId": {
|
|
11032
|
+
"type": "array",
|
|
11033
|
+
"items": {
|
|
11034
|
+
"type": "string"
|
|
11035
|
+
},
|
|
11036
|
+
"description": "Current collection IDs."
|
|
9206
11037
|
}
|
|
9207
|
-
}
|
|
9208
|
-
|
|
9209
|
-
"v1ModelType": {
|
|
9210
|
-
"type": "string",
|
|
9211
|
-
"enum": [
|
|
9212
|
-
"MODEL_TYPE_UNSPECIFIED",
|
|
9213
|
-
"MODEL_TYPE_H2OGPTE_RAG",
|
|
9214
|
-
"MODEL_TYPE_OPENAI_RAG",
|
|
9215
|
-
"MODEL_TYPE_H2OGPTE_LLM",
|
|
9216
|
-
"MODEL_TYPE_H2OGPT_LLM",
|
|
9217
|
-
"MODEL_TYPE_OPENAI_CHAT",
|
|
9218
|
-
"MODEL_TYPE_AZURE_OPENAI_CHAT",
|
|
9219
|
-
"MODEL_TYPE_OPENAI_API_CHAT",
|
|
9220
|
-
"MODEL_TYPE_H2OLLMOPS",
|
|
9221
|
-
"MODEL_TYPE_OLLAMA",
|
|
9222
|
-
"MODEL_TYPE_AMAZON_BEDROCK"
|
|
9223
|
-
],
|
|
9224
|
-
"default": "MODEL_TYPE_UNSPECIFIED",
|
|
9225
|
-
"description": " - MODEL_TYPE_UNSPECIFIED: Unspecified type.\n - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG.\n - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG.\n - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM.\n - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM.\n - MODEL_TYPE_OPENAI_CHAT: OpenAI chat.\n - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat.\n - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat.\n - MODEL_TYPE_H2OLLMOPS: H2O LLMOps.\n - MODEL_TYPE_OLLAMA: Ollama.\n - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock."
|
|
11038
|
+
},
|
|
11039
|
+
"title": "Models overview"
|
|
9226
11040
|
},
|
|
9227
11041
|
"v1Operation": {
|
|
9228
11042
|
"type": "object",
|
|
@@ -9280,6 +11094,12 @@
|
|
|
9280
11094
|
"response": {
|
|
9281
11095
|
"$ref": "#/definitions/protobufAny",
|
|
9282
11096
|
"description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`."
|
|
11097
|
+
},
|
|
11098
|
+
"seenByCreatorTime": {
|
|
11099
|
+
"type": "string",
|
|
11100
|
+
"format": "date-time",
|
|
11101
|
+
"description": "Output only. Optional. Timestamp when the creator marked the Operation as seen.\nOnce set, this field cannot be changed. Set via MarkOperationSeenByCreator method.",
|
|
11102
|
+
"readOnly": true
|
|
9283
11103
|
}
|
|
9284
11104
|
},
|
|
9285
11105
|
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call."
|
|
@@ -9309,6 +11129,16 @@
|
|
|
9309
11129
|
}
|
|
9310
11130
|
}
|
|
9311
11131
|
},
|
|
11132
|
+
"v1OperationView": {
|
|
11133
|
+
"type": "string",
|
|
11134
|
+
"enum": [
|
|
11135
|
+
"OPERATION_VIEW_UNSPECIFIED",
|
|
11136
|
+
"OPERATION_VIEW_BASIC",
|
|
11137
|
+
"OPERATION_VIEW_FULL"
|
|
11138
|
+
],
|
|
11139
|
+
"default": "OPERATION_VIEW_UNSPECIFIED",
|
|
11140
|
+
"description": " - OPERATION_VIEW_UNSPECIFIED: Default / unset value. The API will default to the OPERATION_VIEW_FULL.\n - OPERATION_VIEW_BASIC: Include basic metadata about the Operation, but not the response.\n - OPERATION_VIEW_FULL: Include everything."
|
|
11141
|
+
},
|
|
9312
11142
|
"v1PerturbTestInPlaceResponse": {
|
|
9313
11143
|
"type": "object",
|
|
9314
11144
|
"properties": {
|
|
@@ -9603,6 +11433,60 @@
|
|
|
9603
11433
|
}
|
|
9604
11434
|
}
|
|
9605
11435
|
},
|
|
11436
|
+
"v1RetrievedContextDiff": {
|
|
11437
|
+
"type": "object",
|
|
11438
|
+
"properties": {
|
|
11439
|
+
"chunks": {
|
|
11440
|
+
"type": "array",
|
|
11441
|
+
"items": {
|
|
11442
|
+
"type": "string"
|
|
11443
|
+
},
|
|
11444
|
+
"description": "Context chunks."
|
|
11445
|
+
},
|
|
11446
|
+
"chunksCount": {
|
|
11447
|
+
"type": "integer",
|
|
11448
|
+
"format": "int32",
|
|
11449
|
+
"description": "Chunk count."
|
|
11450
|
+
},
|
|
11451
|
+
"commonChunks": {
|
|
11452
|
+
"type": "array",
|
|
11453
|
+
"items": {
|
|
11454
|
+
"type": "string"
|
|
11455
|
+
},
|
|
11456
|
+
"description": "Common chunks between baseline and current."
|
|
11457
|
+
},
|
|
11458
|
+
"commonCount": {
|
|
11459
|
+
"type": "integer",
|
|
11460
|
+
"format": "int32",
|
|
11461
|
+
"description": "Common chunk count."
|
|
11462
|
+
},
|
|
11463
|
+
"uniqueChunks": {
|
|
11464
|
+
"type": "array",
|
|
11465
|
+
"items": {
|
|
11466
|
+
"type": "string"
|
|
11467
|
+
},
|
|
11468
|
+
"description": "Unique chunks."
|
|
11469
|
+
},
|
|
11470
|
+
"uniqueCount": {
|
|
11471
|
+
"type": "integer",
|
|
11472
|
+
"format": "int32",
|
|
11473
|
+
"description": "Unique chunk count."
|
|
11474
|
+
},
|
|
11475
|
+
"identical": {
|
|
11476
|
+
"type": "boolean",
|
|
11477
|
+
"description": "Whether contexts are identical."
|
|
11478
|
+
},
|
|
11479
|
+
"chunkSimilarity": {
|
|
11480
|
+
"type": "object",
|
|
11481
|
+
"additionalProperties": {
|
|
11482
|
+
"type": "number",
|
|
11483
|
+
"format": "double"
|
|
11484
|
+
},
|
|
11485
|
+
"description": "Chunk similarity scores."
|
|
11486
|
+
}
|
|
11487
|
+
},
|
|
11488
|
+
"title": "Retrieved context diff"
|
|
11489
|
+
},
|
|
9606
11490
|
"v1RevokeDashboardAccessResponse": {
|
|
9607
11491
|
"type": "object"
|
|
9608
11492
|
},
|
|
@@ -9647,23 +11531,80 @@
|
|
|
9647
11531
|
"type": "string",
|
|
9648
11532
|
"format": "int64",
|
|
9649
11533
|
"x-nullable": true,
|
|
9650
|
-
"description": "Number of pending jobs in the topic modeling queue. It's marked as optional to always be part
|
|
11534
|
+
"description": "Number of pending jobs in the topic modeling queue. It's marked as optional to always be part\nof the response, even when the value is zero."
|
|
9651
11535
|
},
|
|
9652
11536
|
"testValidationPendingJobs": {
|
|
9653
11537
|
"type": "string",
|
|
9654
11538
|
"format": "int64",
|
|
9655
11539
|
"x-nullable": true,
|
|
9656
|
-
"description": "Number of pending jobs in the test validation queue. It's marked as optional to always be part
|
|
11540
|
+
"description": "Number of pending jobs in the test validation queue. It's marked as optional to always be part\nof the response, even when the value is zero."
|
|
9657
11541
|
},
|
|
9658
11542
|
"failureClusteringPendingJobs": {
|
|
9659
11543
|
"type": "string",
|
|
9660
11544
|
"format": "int64",
|
|
9661
11545
|
"x-nullable": true,
|
|
9662
|
-
"description": "Number of pending jobs in the failure clustering queue. It's marked as optional to always be
|
|
11546
|
+
"description": "Number of pending jobs in the failure clustering queue. It's marked as optional to always be\npart of the response, even when the value is zero."
|
|
11547
|
+
},
|
|
11548
|
+
"testCaseImportPendingJobs": {
|
|
11549
|
+
"type": "string",
|
|
11550
|
+
"format": "int64",
|
|
11551
|
+
"x-nullable": true,
|
|
11552
|
+
"description": "Number of pending jobs in the test case import queue. It's marked as optional to always be part\nof the response, even when the value is zero."
|
|
11553
|
+
},
|
|
11554
|
+
"evaluationWorkerQueueLength": {
|
|
11555
|
+
"type": "string",
|
|
11556
|
+
"format": "int64",
|
|
11557
|
+
"x-nullable": true,
|
|
11558
|
+
"description": "Number of pending jobs in the evaluation worker queue. It's marked as optional to always be\npart of the response, even when the value is zero."
|
|
9663
11559
|
}
|
|
9664
11560
|
},
|
|
9665
11561
|
"description": "Stats represents statistics about the Eval Studio instance, jobs and utilization."
|
|
9666
11562
|
},
|
|
11563
|
+
"v1TechnicalMetrics": {
|
|
11564
|
+
"type": "object",
|
|
11565
|
+
"properties": {
|
|
11566
|
+
"baseline": {
|
|
11567
|
+
"$ref": "#/definitions/v1TechnicalMetricsDetail",
|
|
11568
|
+
"description": "Baseline technical metrics."
|
|
11569
|
+
},
|
|
11570
|
+
"current": {
|
|
11571
|
+
"$ref": "#/definitions/v1TechnicalMetricsDetail",
|
|
11572
|
+
"description": "Current technical metrics."
|
|
11573
|
+
}
|
|
11574
|
+
},
|
|
11575
|
+
"title": "Technical metrics for model performance"
|
|
11576
|
+
},
|
|
11577
|
+
"v1TechnicalMetricsDetail": {
|
|
11578
|
+
"type": "object",
|
|
11579
|
+
"properties": {
|
|
11580
|
+
"costSum": {
|
|
11581
|
+
"type": "number",
|
|
11582
|
+
"format": "double",
|
|
11583
|
+
"description": "Sum of costs."
|
|
11584
|
+
},
|
|
11585
|
+
"durationSum": {
|
|
11586
|
+
"type": "number",
|
|
11587
|
+
"format": "double",
|
|
11588
|
+
"description": "Sum of durations."
|
|
11589
|
+
},
|
|
11590
|
+
"durationMin": {
|
|
11591
|
+
"type": "number",
|
|
11592
|
+
"format": "double",
|
|
11593
|
+
"description": "Minimum duration."
|
|
11594
|
+
},
|
|
11595
|
+
"durationMax": {
|
|
11596
|
+
"type": "number",
|
|
11597
|
+
"format": "double",
|
|
11598
|
+
"description": "Maximum duration."
|
|
11599
|
+
},
|
|
11600
|
+
"durationAvg": {
|
|
11601
|
+
"type": "number",
|
|
11602
|
+
"format": "double",
|
|
11603
|
+
"description": "Average duration."
|
|
11604
|
+
}
|
|
11605
|
+
},
|
|
11606
|
+
"title": "Technical metrics detail"
|
|
11607
|
+
},
|
|
9667
11608
|
"v1Test": {
|
|
9668
11609
|
"type": "object",
|
|
9669
11610
|
"properties": {
|
|
@@ -9825,6 +11766,26 @@
|
|
|
9825
11766
|
}
|
|
9826
11767
|
}
|
|
9827
11768
|
},
|
|
11769
|
+
"v1TestCaseLeaderboardItem": {
|
|
11770
|
+
"type": "object",
|
|
11771
|
+
"properties": {
|
|
11772
|
+
"wins": {
|
|
11773
|
+
"type": "integer",
|
|
11774
|
+
"format": "int32",
|
|
11775
|
+
"description": "Number of wins."
|
|
11776
|
+
},
|
|
11777
|
+
"question": {
|
|
11778
|
+
"type": "string",
|
|
11779
|
+
"description": "Question text."
|
|
11780
|
+
},
|
|
11781
|
+
"changedMetricsCount": {
|
|
11782
|
+
"type": "integer",
|
|
11783
|
+
"format": "int32",
|
|
11784
|
+
"description": "Count of changed metrics."
|
|
11785
|
+
}
|
|
11786
|
+
},
|
|
11787
|
+
"title": "Test case leaderboard item"
|
|
11788
|
+
},
|
|
9828
11789
|
"v1TestCaseRelationship": {
|
|
9829
11790
|
"type": "object",
|
|
9830
11791
|
"properties": {
|
|
@@ -9842,6 +11803,143 @@
|
|
|
9842
11803
|
}
|
|
9843
11804
|
}
|
|
9844
11805
|
},
|
|
11806
|
+
"v1TestCaseRelationshipInfo": {
|
|
11807
|
+
"type": "object",
|
|
11808
|
+
"properties": {
|
|
11809
|
+
"type": {
|
|
11810
|
+
"type": "string",
|
|
11811
|
+
"description": "Type of the relationship."
|
|
11812
|
+
},
|
|
11813
|
+
"target": {
|
|
11814
|
+
"type": "string",
|
|
11815
|
+
"description": "Target of the relationship."
|
|
11816
|
+
},
|
|
11817
|
+
"targetType": {
|
|
11818
|
+
"type": "string",
|
|
11819
|
+
"description": "Type of the target."
|
|
11820
|
+
}
|
|
11821
|
+
},
|
|
11822
|
+
"title": "Test case relationship information"
|
|
11823
|
+
},
|
|
11824
|
+
"v1TestCaseResult": {
|
|
11825
|
+
"type": "object",
|
|
11826
|
+
"properties": {
|
|
11827
|
+
"key": {
|
|
11828
|
+
"type": "string",
|
|
11829
|
+
"description": "Unique key for the test case."
|
|
11830
|
+
},
|
|
11831
|
+
"input": {
|
|
11832
|
+
"type": "string",
|
|
11833
|
+
"description": "Input text."
|
|
11834
|
+
},
|
|
11835
|
+
"corpus": {
|
|
11836
|
+
"type": "array",
|
|
11837
|
+
"items": {
|
|
11838
|
+
"type": "string"
|
|
11839
|
+
},
|
|
11840
|
+
"description": "Corpus URLs."
|
|
11841
|
+
},
|
|
11842
|
+
"context": {
|
|
11843
|
+
"type": "array",
|
|
11844
|
+
"items": {
|
|
11845
|
+
"type": "string"
|
|
11846
|
+
},
|
|
11847
|
+
"description": "Context texts."
|
|
11848
|
+
},
|
|
11849
|
+
"categories": {
|
|
11850
|
+
"type": "array",
|
|
11851
|
+
"items": {
|
|
11852
|
+
"type": "string"
|
|
11853
|
+
},
|
|
11854
|
+
"description": "Categories."
|
|
11855
|
+
},
|
|
11856
|
+
"relationships": {
|
|
11857
|
+
"type": "array",
|
|
11858
|
+
"items": {
|
|
11859
|
+
"type": "object",
|
|
11860
|
+
"$ref": "#/definitions/v1TestCaseRelationshipInfo"
|
|
11861
|
+
},
|
|
11862
|
+
"description": "Relationships."
|
|
11863
|
+
},
|
|
11864
|
+
"expectedOutput": {
|
|
11865
|
+
"type": "string",
|
|
11866
|
+
"description": "Expected output."
|
|
11867
|
+
},
|
|
11868
|
+
"outputConstraints": {
|
|
11869
|
+
"type": "array",
|
|
11870
|
+
"items": {
|
|
11871
|
+
"type": "string"
|
|
11872
|
+
},
|
|
11873
|
+
"description": "Output constraints."
|
|
11874
|
+
},
|
|
11875
|
+
"outputCondition": {
|
|
11876
|
+
"type": "string",
|
|
11877
|
+
"description": "Output condition."
|
|
11878
|
+
},
|
|
11879
|
+
"actualOutput": {
|
|
11880
|
+
"type": "string",
|
|
11881
|
+
"description": "Actual output generated."
|
|
11882
|
+
},
|
|
11883
|
+
"actualDuration": {
|
|
11884
|
+
"type": "number",
|
|
11885
|
+
"format": "double",
|
|
11886
|
+
"description": "Duration in seconds."
|
|
11887
|
+
},
|
|
11888
|
+
"cost": {
|
|
11889
|
+
"type": "number",
|
|
11890
|
+
"format": "double",
|
|
11891
|
+
"description": "Cost of evaluation."
|
|
11892
|
+
},
|
|
11893
|
+
"modelKey": {
|
|
11894
|
+
"type": "string",
|
|
11895
|
+
"description": "Model key."
|
|
11896
|
+
},
|
|
11897
|
+
"testKey": {
|
|
11898
|
+
"type": "string",
|
|
11899
|
+
"description": "Test key."
|
|
11900
|
+
},
|
|
11901
|
+
"testCaseKey": {
|
|
11902
|
+
"type": "string",
|
|
11903
|
+
"description": "Test case key."
|
|
11904
|
+
},
|
|
11905
|
+
"metrics": {
|
|
11906
|
+
"type": "array",
|
|
11907
|
+
"items": {
|
|
11908
|
+
"type": "object",
|
|
11909
|
+
"$ref": "#/definitions/v1Metric"
|
|
11910
|
+
},
|
|
11911
|
+
"description": "List of metrics."
|
|
11912
|
+
},
|
|
11913
|
+
"metricsMeta": {
|
|
11914
|
+
"type": "object",
|
|
11915
|
+
"additionalProperties": {
|
|
11916
|
+
"type": "string"
|
|
11917
|
+
},
|
|
11918
|
+
"description": "Metadata for metrics."
|
|
11919
|
+
},
|
|
11920
|
+
"actualOutputMeta": {
|
|
11921
|
+
"type": "array",
|
|
11922
|
+
"items": {
|
|
11923
|
+
"type": "object",
|
|
11924
|
+
"$ref": "#/definitions/v1ActualOutputMeta"
|
|
11925
|
+
},
|
|
11926
|
+
"description": "Actual output metadata."
|
|
11927
|
+
},
|
|
11928
|
+
"metricScores": {
|
|
11929
|
+
"type": "array",
|
|
11930
|
+
"items": {
|
|
11931
|
+
"type": "object",
|
|
11932
|
+
"$ref": "#/definitions/v1ComparisonMetricScore"
|
|
11933
|
+
},
|
|
11934
|
+
"description": "Metric scores."
|
|
11935
|
+
},
|
|
11936
|
+
"resultErrorMessage": {
|
|
11937
|
+
"type": "string",
|
|
11938
|
+
"description": "Error message if processing resulted in failure."
|
|
11939
|
+
}
|
|
11940
|
+
},
|
|
11941
|
+
"title": "Test case result"
|
|
11942
|
+
},
|
|
9845
11943
|
"v1TestCasesGenerator": {
|
|
9846
11944
|
"type": "string",
|
|
9847
11945
|
"enum": [
|
|
@@ -10047,6 +12145,18 @@
|
|
|
10047
12145
|
"default": "TEST_TYPE_UNSPECIFIED",
|
|
10048
12146
|
"description": " - TEST_TYPE_UNSPECIFIED: Unspecified type.\n - TEST_TYPE_STANDALONE: Standalone test.\n - TEST_TYPE_WORKFLOW: Test is part of a dashboard."
|
|
10049
12147
|
},
|
|
12148
|
+
"v1TextSimilarityMetric": {
|
|
12149
|
+
"type": "string",
|
|
12150
|
+
"enum": [
|
|
12151
|
+
"TEXT_SIMILARITY_METRIC_UNSPECIFIED",
|
|
12152
|
+
"TEXT_SIMILARITY_METRIC_EXACT_MATCH",
|
|
12153
|
+
"TEXT_SIMILARITY_METRIC_COSINE_DISTANCE",
|
|
12154
|
+
"TEXT_SIMILARITY_METRIC_BERT_SCORE"
|
|
12155
|
+
],
|
|
12156
|
+
"default": "TEXT_SIMILARITY_METRIC_UNSPECIFIED",
|
|
12157
|
+
"description": "- TEXT_SIMILARITY_METRIC_UNSPECIFIED: Default value - must not be used\n - TEXT_SIMILARITY_METRIC_EXACT_MATCH: Exact string matching - sentences must be identical (default)\n - TEXT_SIMILARITY_METRIC_COSINE_DISTANCE: Cosine distance of sentence embeddings - semantic similarity\n - TEXT_SIMILARITY_METRIC_BERT_SCORE: BERTScore - contextual embeddings similarity using BERT",
|
|
12158
|
+
"title": "Text similarity metric for string/sentence matching in leaderboard comparisons"
|
|
12159
|
+
},
|
|
10050
12160
|
"v1UpdateDashboardResponse": {
|
|
10051
12161
|
"type": "object",
|
|
10052
12162
|
"properties": {
|
|
@@ -10056,6 +12166,15 @@
|
|
|
10056
12166
|
}
|
|
10057
12167
|
}
|
|
10058
12168
|
},
|
|
12169
|
+
"v1UpdateDashboardTestCaseAnnotationResponse": {
|
|
12170
|
+
"type": "object",
|
|
12171
|
+
"properties": {
|
|
12172
|
+
"dashboardTestCaseAnnotation": {
|
|
12173
|
+
"$ref": "#/definitions/v1DashboardTestCaseAnnotation",
|
|
12174
|
+
"description": "The updated DashboardTestCaseAnnotation."
|
|
12175
|
+
}
|
|
12176
|
+
}
|
|
12177
|
+
},
|
|
10059
12178
|
"v1UpdateDocumentResponse": {
|
|
10060
12179
|
"type": "object",
|
|
10061
12180
|
"properties": {
|
|
@@ -10074,6 +12193,15 @@
|
|
|
10074
12193
|
}
|
|
10075
12194
|
}
|
|
10076
12195
|
},
|
|
12196
|
+
"v1UpdateLeaderboardTestCaseAnnotationResponse": {
|
|
12197
|
+
"type": "object",
|
|
12198
|
+
"properties": {
|
|
12199
|
+
"leaderboardTestCaseAnnotation": {
|
|
12200
|
+
"$ref": "#/definitions/v1LeaderboardTestCaseAnnotation",
|
|
12201
|
+
"description": "The updated LeaderboardTestCaseAnnotation."
|
|
12202
|
+
}
|
|
12203
|
+
}
|
|
12204
|
+
},
|
|
10077
12205
|
"v1UpdateModelResponse": {
|
|
10078
12206
|
"type": "object",
|
|
10079
12207
|
"properties": {
|
|
@@ -10569,7 +12697,8 @@
|
|
|
10569
12697
|
"WORKFLOW_NODE_TYPE_MARGINAL_ANALYSIS",
|
|
10570
12698
|
"WORKFLOW_NODE_TYPE_VALIDATION",
|
|
10571
12699
|
"WORKFLOW_NODE_TYPE_ADVERSARIAL_INPUTS",
|
|
10572
|
-
"WORKFLOW_NODE_TYPE_FAILURE_CLUSTERING"
|
|
12700
|
+
"WORKFLOW_NODE_TYPE_FAILURE_CLUSTERING",
|
|
12701
|
+
"WORKFLOW_NODE_TYPE_TEST_CASE_IMPORT"
|
|
10573
12702
|
],
|
|
10574
12703
|
"default": "WORKFLOW_NODE_TYPE_UNSPECIFIED",
|
|
10575
12704
|
"description": "WorkflowNodeType represents the type of a WorkflowNode."
|
|
@@ -10608,7 +12737,8 @@
|
|
|
10608
12737
|
"type": "string",
|
|
10609
12738
|
"enum": [
|
|
10610
12739
|
"WORKFLOW_TYPE_UNSPECIFIED",
|
|
10611
|
-
"WORKFLOW_TYPE_MRM"
|
|
12740
|
+
"WORKFLOW_TYPE_MRM",
|
|
12741
|
+
"WORKFLOW_TYPE_IMPORTED_TEST"
|
|
10612
12742
|
],
|
|
10613
12743
|
"default": "WORKFLOW_TYPE_UNSPECIFIED",
|
|
10614
12744
|
"description": "WorkflowType represents the type of a Workflow."
|