|
185 | 185 |
|
186 | 186 | %% Example: |
187 | 187 | %% tool_description_output() :: #{ |
| 188 | +%% <<"explanation">> => string(), |
188 | 189 | %% <<"recommendedToolDescription">> => string(), |
189 | 190 | %% <<"toolName">> => string() |
190 | 191 | %% } |
|
258 | 259 | -type batch_update_memory_records_input() :: #{binary() => any()}. |
259 | 260 |
|
260 | 261 |
|
| 262 | +%% Example: |
| 263 | +%% root_cause_cluster() :: #{ |
| 264 | +%% <<"affectedSessionCount">> => [integer()], |
| 265 | +%% <<"affectedSessions">> => list(affected_session()), |
| 266 | +%% <<"clusterId">> => [integer()], |
| 267 | +%% <<"name">> => [string()], |
| 268 | +%% <<"recommendation">> => [string()], |
| 269 | +%% <<"rootCause">> => [string()] |
| 270 | +%% } |
| 271 | +-type root_cause_cluster() :: #{binary() => any()}. |
| 272 | + |
| 273 | + |
261 | 274 | %% Example: |
262 | 275 | %% retrieve_memory_records_output() :: #{ |
263 | 276 | %% <<"memoryRecordSummaries">> => list(memory_record_summary()), |
|
460 | 473 | -type cloud_watch_output_config() :: #{binary() => any()}. |
461 | 474 |
|
462 | 475 |
|
| 476 | +%% Example: |
| 477 | +%% user_intent_affected_session() :: #{ |
| 478 | +%% <<"sessionId">> => [string()], |
| 479 | +%% <<"userMessages">> => list([string()]()) |
| 480 | +%% } |
| 481 | +-type user_intent_affected_session() :: #{binary() => any()}. |
| 482 | + |
| 483 | + |
463 | 484 | %% Example: |
464 | 485 | %% list_payment_instruments_response() :: #{ |
465 | 486 | %% <<"nextToken">> => [string()], |
|
614 | 635 | -type control_stats() :: #{binary() => any()}. |
615 | 636 |
|
616 | 637 |
|
| 638 | +%% Example: |
| 639 | +%% failure_category_cluster() :: #{ |
| 640 | +%% <<"affectedSessionCount">> => [integer()], |
| 641 | +%% <<"clusterId">> => [integer()], |
| 642 | +%% <<"description">> => [string()], |
| 643 | +%% <<"name">> => [string()], |
| 644 | +%% <<"subCategories">> => list(failure_sub_category_cluster()) |
| 645 | +%% } |
| 646 | +-type failure_category_cluster() :: #{binary() => any()}. |
| 647 | + |
| 648 | + |
617 | 649 | %% Example: |
618 | 650 | %% complete_resource_token_auth_request() :: #{ |
619 | 651 | %% <<"sessionUri">> := string(), |
|
685 | 717 | -type cloud_watch_logs_trace_config() :: #{binary() => any()}. |
686 | 718 |
|
687 | 719 |
|
| 720 | +%% Example: |
| 721 | +%% execution_summary_cluster() :: #{ |
| 722 | +%% <<"affectedSessionCount">> => [integer()], |
| 723 | +%% <<"affectedSessions">> => list(execution_summary_affected_session()), |
| 724 | +%% <<"clusterId">> => [integer()], |
| 725 | +%% <<"description">> => [string()], |
| 726 | +%% <<"name">> => [string()] |
| 727 | +%% } |
| 728 | +-type execution_summary_cluster() :: #{binary() => any()}. |
| 729 | + |
| 730 | + |
688 | 731 | %% Example: |
689 | 732 | %% harness_skill_git_source() :: #{ |
690 | 733 | %% <<"auth">> => harness_skill_git_auth(), |
|
980 | 1023 | -type cloud_watch_filter_config() :: #{binary() => any()}. |
981 | 1024 |
|
982 | 1025 |
|
| 1026 | +%% Example: |
| 1027 | +%% affected_session() :: #{ |
| 1028 | +%% <<"explanation">> => [string()], |
| 1029 | +%% <<"failureSpans">> => list(failure_span_detail()), |
| 1030 | +%% <<"fixType">> => [string()], |
| 1031 | +%% <<"recommendation">> => [string()], |
| 1032 | +%% <<"sessionId">> => [string()] |
| 1033 | +%% } |
| 1034 | +-type affected_session() :: #{binary() => any()}. |
| 1035 | + |
| 1036 | + |
983 | 1037 | %% Example: |
984 | 1038 | %% key_shortcut_result() :: #{ |
985 | 1039 | %% <<"error">> => [string()], |
|
1092 | 1146 | %% <<"gatewayFilter">> => gateway_filter(), |
1093 | 1147 | %% <<"name">> := string(), |
1094 | 1148 | %% <<"roleArn">> := string(), |
| 1149 | +%% <<"tags">> => map(), |
1095 | 1150 | %% <<"variants">> := list(variant()) |
1096 | 1151 | %% } |
1097 | 1152 | -type create_a_b_test_request() :: #{binary() => any()}. |
|
1159 | 1214 | %% start_recommendation_request() :: #{ |
1160 | 1215 | %% <<"clientToken">> => string(), |
1161 | 1216 | %% <<"description">> => string(), |
| 1217 | +%% <<"kmsKeyArn">> => string(), |
1162 | 1218 | %% <<"name">> := string(), |
1163 | 1219 | %% <<"recommendationConfig">> := list(), |
| 1220 | +%% <<"tags">> => map(), |
1164 | 1221 | %% <<"type">> := list(any()) |
1165 | 1222 | %% } |
1166 | 1223 | -type start_recommendation_request() :: #{binary() => any()}. |
|
1763 | 1820 | -type system_prompt_recommendation_config() :: #{binary() => any()}. |
1764 | 1821 |
|
1765 | 1822 |
|
| 1823 | +%% Example: |
| 1824 | +%% batch_evaluation_trace_config() :: #{ |
| 1825 | +%% <<"batchEvaluationArn">> => string() |
| 1826 | +%% } |
| 1827 | +-type batch_evaluation_trace_config() :: #{binary() => any()}. |
| 1828 | + |
| 1829 | + |
1766 | 1830 | %% Example: |
1767 | 1831 | %% proxy_bypass() :: #{ |
1768 | 1832 | %% <<"domainPatterns">> => list(string()) |
1769 | 1833 | %% } |
1770 | 1834 | -type proxy_bypass() :: #{binary() => any()}. |
1771 | 1835 |
|
1772 | 1836 |
|
| 1837 | +%% Example: |
| 1838 | +%% failure_sub_category_cluster() :: #{ |
| 1839 | +%% <<"affectedSessionCount">> => [integer()], |
| 1840 | +%% <<"clusterId">> => [integer()], |
| 1841 | +%% <<"description">> => [string()], |
| 1842 | +%% <<"name">> => [string()], |
| 1843 | +%% <<"rootCauses">> => list(root_cause_cluster()) |
| 1844 | +%% } |
| 1845 | +-type failure_sub_category_cluster() :: #{binary() => any()}. |
| 1846 | + |
| 1847 | + |
| 1848 | +%% Example: |
| 1849 | +%% execution_summary_clustering_result_content() :: #{ |
| 1850 | +%% <<"executionSummaries">> => list(execution_summary_cluster()) |
| 1851 | +%% } |
| 1852 | +-type execution_summary_clustering_result_content() :: #{binary() => any()}. |
| 1853 | + |
| 1854 | + |
1773 | 1855 | %% Example: |
1774 | 1856 | %% tools_definition() :: #{ |
1775 | 1857 | %% <<"inlineContent">> => string(), |
|
1841 | 1923 | %% } |
1842 | 1924 | -type get_workload_access_token_for_user_id_request() :: #{binary() => any()}. |
1843 | 1925 |
|
| 1926 | + |
| 1927 | +%% Example: |
| 1928 | +%% failure_span_detail() :: #{ |
| 1929 | +%% <<"signals">> => list(insights_failure_signal()), |
| 1930 | +%% <<"spanId">> => [string()], |
| 1931 | +%% <<"traceId">> => [string()] |
| 1932 | +%% } |
| 1933 | +-type failure_span_detail() :: #{binary() => any()}. |
| 1934 | + |
1844 | 1935 | %% Example: |
1845 | 1936 | %% delete_batch_evaluation_request() :: #{} |
1846 | 1937 | -type delete_batch_evaluation_request() :: #{}. |
|
1878 | 1969 | -type configuration_bundle_ref() :: #{binary() => any()}. |
1879 | 1970 |
|
1880 | 1971 |
|
| 1972 | +%% Example: |
| 1973 | +%% user_intent_clustering_result_content() :: #{ |
| 1974 | +%% <<"userIntents">> => list(user_intent_cluster()) |
| 1975 | +%% } |
| 1976 | +-type user_intent_clustering_result_content() :: #{binary() => any()}. |
| 1977 | + |
| 1978 | + |
1881 | 1979 | %% Example: |
1882 | 1980 | %% get_memory_record_output() :: #{ |
1883 | 1981 | %% <<"memoryRecord">> => memory_record() |
|
1948 | 2046 | -type get_resource_payment_token_response() :: #{binary() => any()}. |
1949 | 2047 |
|
1950 | 2048 |
|
| 2049 | +%% Example: |
| 2050 | +%% failure_analysis_result_content() :: #{ |
| 2051 | +%% <<"failures">> => list(failure_category_cluster()) |
| 2052 | +%% } |
| 2053 | +-type failure_analysis_result_content() :: #{binary() => any()}. |
| 2054 | + |
| 2055 | + |
1951 | 2056 | %% Example: |
1952 | 2057 | %% session_filter() :: #{ |
1953 | 2058 | %% <<"eventFilter">> => list(any()) |
|
2022 | 2127 | -type harness_message_start_event() :: #{binary() => any()}. |
2023 | 2128 |
|
2024 | 2129 |
|
| 2130 | +%% Example: |
| 2131 | +%% user_intent_cluster() :: #{ |
| 2132 | +%% <<"affectedSessionCount">> => [integer()], |
| 2133 | +%% <<"affectedSessions">> => list(user_intent_affected_session()), |
| 2134 | +%% <<"clusterId">> => [integer()], |
| 2135 | +%% <<"description">> => [string()], |
| 2136 | +%% <<"name">> => [string()] |
| 2137 | +%% } |
| 2138 | +-type user_intent_cluster() :: #{binary() => any()}. |
| 2139 | + |
| 2140 | + |
2025 | 2141 | %% Example: |
2026 | 2142 | %% create_event_input() :: #{ |
2027 | 2143 | %% <<"actorId">> := string(), |
|
2076 | 2192 | %% <<"dataSourceConfig">> := list(), |
2077 | 2193 | %% <<"description">> => string(), |
2078 | 2194 | %% <<"evaluationMetadata">> => list(), |
2079 | | -%% <<"evaluators">> => list(evaluator()) |
| 2195 | +%% <<"evaluators">> => list(evaluator()), |
| 2196 | +%% <<"insights">> => list(insight()), |
| 2197 | +%% <<"kmsKeyArn">> => string(), |
| 2198 | +%% <<"tags">> => map() |
2080 | 2199 | %% } |
2081 | 2200 | -type start_batch_evaluation_request() :: #{binary() => any()}. |
2082 | 2201 |
|
|
2420 | 2539 | %% <<"configurationBundle">> => recommendation_result_configuration_bundle(), |
2421 | 2540 | %% <<"errorCode">> => string(), |
2422 | 2541 | %% <<"errorMessage">> => string(), |
| 2542 | +%% <<"explanation">> => string(), |
2423 | 2543 | %% <<"recommendedSystemPrompt">> => string() |
2424 | 2544 | %% } |
2425 | 2545 | -type system_prompt_recommendation_result() :: #{binary() => any()}. |
|
2433 | 2553 | %% <<"createdAt">> => [non_neg_integer()], |
2434 | 2554 | %% <<"description">> => string(), |
2435 | 2555 | %% <<"evaluators">> => list(evaluator()), |
| 2556 | +%% <<"insights">> => list(insight()), |
| 2557 | +%% <<"kmsKeyArn">> => string(), |
2436 | 2558 | %% <<"outputConfig">> => list(), |
2437 | | -%% <<"status">> => list(any()) |
| 2559 | +%% <<"status">> => list(any()), |
| 2560 | +%% <<"tags">> => map() |
2438 | 2561 | %% } |
2439 | 2562 | -type start_batch_evaluation_response() :: #{binary() => any()}. |
2440 | 2563 |
|
|
2613 | 2736 | -type get_payment_instrument_request() :: #{binary() => any()}. |
2614 | 2737 |
|
2615 | 2738 |
|
| 2739 | +%% Example: |
| 2740 | +%% insight() :: #{ |
| 2741 | +%% <<"insightId">> => string() |
| 2742 | +%% } |
| 2743 | +-type insight() :: #{binary() => any()}. |
| 2744 | + |
| 2745 | + |
2616 | 2746 | %% Example: |
2617 | 2747 | %% harness_stream_metrics() :: #{ |
2618 | 2748 | %% <<"latencyMs">> => [float()] |
|
2725 | 2855 | -type search_criteria() :: #{binary() => any()}. |
2726 | 2856 |
|
2727 | 2857 |
|
| 2858 | +%% Example: |
| 2859 | +%% execution_summary_affected_session() :: #{ |
| 2860 | +%% <<"approachTaken">> => [string()], |
| 2861 | +%% <<"finalOutcome">> => [string()], |
| 2862 | +%% <<"sessionId">> => [string()] |
| 2863 | +%% } |
| 2864 | +-type execution_summary_affected_session() :: #{binary() => any()}. |
| 2865 | + |
| 2866 | + |
2728 | 2867 | %% Example: |
2729 | 2868 | %% create_payment_session_request() :: #{ |
2730 | 2869 | %% <<"agentName">> => string(), |
|
2782 | 2921 | %% <<"errorDetails">> => list([string()]()), |
2783 | 2922 | %% <<"evaluationResults">> => evaluation_job_results(), |
2784 | 2923 | %% <<"evaluators">> => list(evaluator()), |
| 2924 | +%% <<"insights">> => list(insight()), |
| 2925 | +%% <<"kmsKeyArn">> => string(), |
2785 | 2926 | %% <<"status">> => list(any()), |
2786 | 2927 | %% <<"updatedAt">> => [non_neg_integer()] |
2787 | 2928 | %% } |
|
2796 | 2937 | %% get_recommendation_response() :: #{ |
2797 | 2938 | %% <<"createdAt">> => [non_neg_integer()], |
2798 | 2939 | %% <<"description">> => string(), |
| 2940 | +%% <<"kmsKeyArn">> => string(), |
2799 | 2941 | %% <<"name">> => string(), |
2800 | 2942 | %% <<"recommendationArn">> => string(), |
2801 | 2943 | %% <<"recommendationConfig">> => list(), |
|
2808 | 2950 | -type get_recommendation_response() :: #{binary() => any()}. |
2809 | 2951 |
|
2810 | 2952 |
|
| 2953 | +%% Example: |
| 2954 | +%% online_evaluation_config_source() :: #{ |
| 2955 | +%% <<"onlineEvaluationConfigArn">> => string(), |
| 2956 | +%% <<"sessionFilterConfig">> => session_filter_config() |
| 2957 | +%% } |
| 2958 | +-type online_evaluation_config_source() :: #{binary() => any()}. |
| 2959 | + |
| 2960 | + |
2811 | 2961 | %% Example: |
2812 | 2962 | %% tool_description_recommendation_config() :: #{ |
2813 | 2963 | %% <<"agentTraces">> => list(), |
|
2918 | 3068 | -type session_limits() :: #{binary() => any()}. |
2919 | 3069 |
|
2920 | 3070 |
|
| 3071 | +%% Example: |
| 3072 | +%% insights_failure_signal() :: #{ |
| 3073 | +%% <<"category">> => list(any()), |
| 3074 | +%% <<"confidence">> => [float()], |
| 3075 | +%% <<"evidence">> => [string()] |
| 3076 | +%% } |
| 3077 | +-type insights_failure_signal() :: #{binary() => any()}. |
| 3078 | + |
| 3079 | + |
2921 | 3080 | %% Example: |
2922 | 3081 | %% memory_metadata_filter_expression() :: #{ |
2923 | 3082 | %% <<"left">> => list(), |
|
2947 | 3106 | %% <<"errorDetails">> => list([string()]()), |
2948 | 3107 | %% <<"evaluationResults">> => evaluation_job_results(), |
2949 | 3108 | %% <<"evaluators">> => list(evaluator()), |
| 3109 | +%% <<"executionSummaryResult">> => execution_summary_clustering_result_content(), |
| 3110 | +%% <<"failureAnalysisResult">> => failure_analysis_result_content(), |
| 3111 | +%% <<"insights">> => list(insight()), |
| 3112 | +%% <<"kmsKeyArn">> => string(), |
2950 | 3113 | %% <<"outputConfig">> => list(), |
2951 | 3114 | %% <<"status">> => list(any()), |
2952 | | -%% <<"updatedAt">> => [non_neg_integer()] |
| 3115 | +%% <<"updatedAt">> => [non_neg_integer()], |
| 3116 | +%% <<"userIntentResult">> => user_intent_clustering_result_content() |
2953 | 3117 | %% } |
2954 | 3118 | -type get_batch_evaluation_response() :: #{binary() => any()}. |
2955 | 3119 |
|
|
0 commit comments