|
982 | 982 | "type": "int", |
983 | 983 | "description": "Count of lines of code copied to the editor" |
984 | 984 | }, |
| 985 | + { |
| 986 | + "name": "cwsprChatActiveEditorImportCount", |
| 987 | + "type": "int", |
| 988 | + "description": "Number of import statements in the active editor" |
| 989 | + }, |
| 990 | + { |
| 991 | + "name": "cwsprChatActiveEditorTotalCharacters", |
| 992 | + "type": "int", |
| 993 | + "description": "Total number of characters in the active editor" |
| 994 | + }, |
985 | 995 | { |
986 | 996 | "name": "cwsprChatCodeBlockIndex", |
987 | 997 | "type": "int", |
|
992 | 1002 | "type": "string", |
993 | 1003 | "description": "Uniquely identifies a message with which the user interacts." |
994 | 1004 | }, |
| 1005 | + { |
| 1006 | + "name": "cwsprChatConversationType", |
| 1007 | + "type": "string", |
| 1008 | + "allowedValues": [ |
| 1009 | + "Chat", |
| 1010 | + "Assign", |
| 1011 | + "Transform" |
| 1012 | + ], |
| 1013 | + "description": "Identifies the type of conversation" |
| 1014 | + }, |
995 | 1015 | { |
996 | 1016 | "name": "cwsprChatFileContextCount", |
997 | 1017 | "type": "int", |
998 | 1018 | "description": "Number of files manually added to context" |
999 | 1019 | }, |
| 1020 | + { |
| 1021 | + "name": "cwsprChatFileContextLength", |
| 1022 | + "type": "int", |
| 1023 | + "description": "Total length of files added to context" |
| 1024 | + }, |
| 1025 | + { |
| 1026 | + "name": "cwsprChatFileContextTruncatedLength", |
| 1027 | + "type": "int", |
| 1028 | + "description": "Truncated length of files added to context" |
| 1029 | + }, |
1000 | 1030 | { |
1001 | 1031 | "name": "cwsprChatFolderContextCount", |
1002 | 1032 | "type": "int", |
1003 | 1033 | "description": "Number of folders manually added to context" |
1004 | 1034 | }, |
| 1035 | + { |
| 1036 | + "name": "cwsprChatFollowUpCount", |
| 1037 | + "type": "int", |
| 1038 | + "description": "Number of follow ups in response" |
| 1039 | + }, |
| 1040 | + { |
| 1041 | + "name": "cwsprChatFullDisplayLatency", |
| 1042 | + "type": "int", |
| 1043 | + "description": "The time between the user pressing enter and the entire response being rendered" |
| 1044 | + }, |
| 1045 | + { |
| 1046 | + "name": "cwsprChatFullResponseLatency", |
| 1047 | + "type": "int", |
| 1048 | + "description": "The time between when the conversation id was created and the final response from the server was received" |
| 1049 | + }, |
| 1050 | + { |
| 1051 | + "name": "cwsprChatFullServerResponseLatency", |
| 1052 | + "type": "int", |
| 1053 | + "description": "The time between the initial server request, including creating the conversation id, and the final response from the server" |
| 1054 | + }, |
| 1055 | + { |
| 1056 | + "name": "cwsprChatHasCodeSnippet", |
| 1057 | + "type": "boolean", |
| 1058 | + "description": "true if user has selected code snippet, false otherwise." |
| 1059 | + }, |
| 1060 | + { |
| 1061 | + "name": "cwsprChatHasContextList", |
| 1062 | + "type": "boolean", |
| 1063 | + "description": "true if context list is displayed to user" |
| 1064 | + }, |
1005 | 1065 | { |
1006 | 1066 | "name": "cwsprChatHasProjectContext", |
1007 | 1067 | "type": "boolean", |
|
1050 | 1110 | "type": "int", |
1051 | 1111 | "description": "Number of saved prompts manually added to context" |
1052 | 1112 | }, |
| 1113 | + { |
| 1114 | + "name": "cwsprChatPromptContextLength", |
| 1115 | + "type": "int", |
| 1116 | + "description": "Total length of saved prompts added to context" |
| 1117 | + }, |
| 1118 | + { |
| 1119 | + "name": "cwsprChatPromptContextTruncatedLength", |
| 1120 | + "type": "int", |
| 1121 | + "description": "Truncated length of saved prompts added to context" |
| 1122 | + }, |
| 1123 | + { |
| 1124 | + "name": "cwsprChatReferencesCount", |
| 1125 | + "type": "int", |
| 1126 | + "description": "Number of references in response" |
| 1127 | + }, |
| 1128 | + { |
| 1129 | + "name": "cwsprChatRequestLength", |
| 1130 | + "type": "int", |
| 1131 | + "description": "Number of characters in request" |
| 1132 | + }, |
| 1133 | + { |
| 1134 | + "name": "cwsprChatResponseCode", |
| 1135 | + "type": "int", |
| 1136 | + "description": "HTTP response code for message API invocation" |
| 1137 | + }, |
| 1138 | + { |
| 1139 | + "name": "cwsprChatResponseCodeSnippetCount", |
| 1140 | + "type": "int", |
| 1141 | + "description": "Number of code snippets in response" |
| 1142 | + }, |
| 1143 | + { |
| 1144 | + "name": "cwsprChatResponseLength", |
| 1145 | + "type": "int", |
| 1146 | + "description": "Number of characters in response" |
| 1147 | + }, |
1053 | 1148 | { |
1054 | 1149 | "name": "cwsprChatRuleContextCount", |
1055 | 1150 | "type": "int", |
1056 | 1151 | "description": "Number of workspace rules automatically added to context" |
1057 | 1152 | }, |
| 1153 | + { |
| 1154 | + "name": "cwsprChatRuleContextLength", |
| 1155 | + "type": "int", |
| 1156 | + "description": "Total length of workspace rules added to context" |
| 1157 | + }, |
| 1158 | + { |
| 1159 | + "name": "cwsprChatRuleContextTruncatedLength", |
| 1160 | + "type": "int", |
| 1161 | + "description": "Truncated length of workspace rules added to context" |
| 1162 | + }, |
| 1163 | + { |
| 1164 | + "name": "cwsprChatSourceLinkCount", |
| 1165 | + "type": "int", |
| 1166 | + "description": "Number of links in response" |
| 1167 | + }, |
| 1168 | + { |
| 1169 | + "name": "cwsprChatTimeBetweenChunks", |
| 1170 | + "type": "string", |
| 1171 | + "description": "An array of time when successive chunks of data are received from the server" |
| 1172 | + }, |
| 1173 | + { |
| 1174 | + "name": "cwsprChatTimeBetweenDisplays", |
| 1175 | + "type": "string", |
| 1176 | + "description": "An array of time when successive chunks of server responses are displayed to the user" |
| 1177 | + }, |
| 1178 | + { |
| 1179 | + "name": "cwsprChatTimeToFirstChunk", |
| 1180 | + "type": "int", |
| 1181 | + "description": "The time between when the conversation id was created and when we got back the first usable result" |
| 1182 | + }, |
| 1183 | + { |
| 1184 | + "name": "cwsprChatTimeToFirstDisplay", |
| 1185 | + "type": "int", |
| 1186 | + "description": "The time between the user pressing enter and when the first chunk of data is displayed to the user" |
| 1187 | + }, |
| 1188 | + { |
| 1189 | + "name": "cwsprChatTimeToFirstUsableChunk", |
| 1190 | + "type": "int", |
| 1191 | + "description": "The time between the initial server request, including creating the conversation id, and the first usable result" |
| 1192 | + }, |
1058 | 1193 | { |
1059 | 1194 | "name": "cwsprChatTotalCodeBlocks", |
1060 | 1195 | "type": "int", |
1061 | 1196 | "description": "Total number of code blocks inside a message in the conversation." |
1062 | 1197 | }, |
| 1198 | + { |
| 1199 | + "name": "cwsprChatTriggerInteraction", |
| 1200 | + "type": "string", |
| 1201 | + "allowedValues": [ |
| 1202 | + "hotkeys", |
| 1203 | + "click", |
| 1204 | + "contextMenu" |
| 1205 | + ], |
| 1206 | + "description": "Identifies the specific interaction that opens the chat panel" |
| 1207 | + }, |
1063 | 1208 | { |
1064 | 1209 | "name": "cwsprChatUserIntent", |
1065 | 1210 | "type": "string", |
|
2012 | 2157 | } |
2013 | 2158 | ] |
2014 | 2159 | }, |
| 2160 | + { |
| 2161 | + "name": "amazonq_addMessage", |
| 2162 | + "description": "When a message is added to the conversation", |
| 2163 | + "metadata": [ |
| 2164 | + { |
| 2165 | + "type": "codewhispererCustomizationArn", |
| 2166 | + "required": false |
| 2167 | + }, |
| 2168 | + { |
| 2169 | + "type": "credentialStartUrl", |
| 2170 | + "required": false |
| 2171 | + }, |
| 2172 | + { |
| 2173 | + "type": "cwsprChatActiveEditorImportCount", |
| 2174 | + "required": false |
| 2175 | + }, |
| 2176 | + { |
| 2177 | + "type": "cwsprChatActiveEditorTotalCharacters", |
| 2178 | + "required": false |
| 2179 | + }, |
| 2180 | + { |
| 2181 | + "type": "cwsprChatConversationId" |
| 2182 | + }, |
| 2183 | + { |
| 2184 | + "type": "cwsprChatConversationType" |
| 2185 | + }, |
| 2186 | + { |
| 2187 | + "type": "cwsprChatFileContextCount", |
| 2188 | + "required": false |
| 2189 | + }, |
| 2190 | + { |
| 2191 | + "type": "cwsprChatFileContextLength", |
| 2192 | + "required": false |
| 2193 | + }, |
| 2194 | + { |
| 2195 | + "type": "cwsprChatFileContextTruncatedLength", |
| 2196 | + "required": false |
| 2197 | + }, |
| 2198 | + { |
| 2199 | + "type": "cwsprChatFolderContextCount", |
| 2200 | + "required": false |
| 2201 | + }, |
| 2202 | + { |
| 2203 | + "type": "cwsprChatFollowUpCount", |
| 2204 | + "required": false |
| 2205 | + }, |
| 2206 | + { |
| 2207 | + "type": "cwsprChatFullDisplayLatency" |
| 2208 | + }, |
| 2209 | + { |
| 2210 | + "type": "cwsprChatFullResponseLatency" |
| 2211 | + }, |
| 2212 | + { |
| 2213 | + "type": "cwsprChatFullServerResponseLatency" |
| 2214 | + }, |
| 2215 | + { |
| 2216 | + "type": "cwsprChatHasCodeSnippet", |
| 2217 | + "required": false |
| 2218 | + }, |
| 2219 | + { |
| 2220 | + "type": "cwsprChatHasContextList", |
| 2221 | + "required": false |
| 2222 | + }, |
| 2223 | + { |
| 2224 | + "type": "cwsprChatHasProjectContext", |
| 2225 | + "required": false |
| 2226 | + }, |
| 2227 | + { |
| 2228 | + "type": "cwsprChatMessageId" |
| 2229 | + }, |
| 2230 | + { |
| 2231 | + "type": "cwsprChatProgrammingLanguage", |
| 2232 | + "required": false |
| 2233 | + }, |
| 2234 | + { |
| 2235 | + "type": "cwsprChatPromptContextCount", |
| 2236 | + "required": false |
| 2237 | + }, |
| 2238 | + { |
| 2239 | + "type": "cwsprChatPromptContextLength", |
| 2240 | + "required": false |
| 2241 | + }, |
| 2242 | + { |
| 2243 | + "type": "cwsprChatPromptContextTruncatedLength", |
| 2244 | + "required": false |
| 2245 | + }, |
| 2246 | + { |
| 2247 | + "type": "cwsprChatReferencesCount", |
| 2248 | + "required": false |
| 2249 | + }, |
| 2250 | + { |
| 2251 | + "type": "cwsprChatRequestLength" |
| 2252 | + }, |
| 2253 | + { |
| 2254 | + "type": "cwsprChatResponseCode" |
| 2255 | + }, |
| 2256 | + { |
| 2257 | + "type": "cwsprChatResponseCodeSnippetCount", |
| 2258 | + "required": false |
| 2259 | + }, |
| 2260 | + { |
| 2261 | + "type": "cwsprChatResponseLength", |
| 2262 | + "required": false |
| 2263 | + }, |
| 2264 | + { |
| 2265 | + "type": "cwsprChatRuleContextCount", |
| 2266 | + "required": false |
| 2267 | + }, |
| 2268 | + { |
| 2269 | + "type": "cwsprChatRuleContextLength", |
| 2270 | + "required": false |
| 2271 | + }, |
| 2272 | + { |
| 2273 | + "type": "cwsprChatRuleContextTruncatedLength", |
| 2274 | + "required": false |
| 2275 | + }, |
| 2276 | + { |
| 2277 | + "type": "cwsprChatSourceLinkCount", |
| 2278 | + "required": false |
| 2279 | + }, |
| 2280 | + { |
| 2281 | + "type": "cwsprChatTimeBetweenChunks" |
| 2282 | + }, |
| 2283 | + { |
| 2284 | + "type": "cwsprChatTimeBetweenDisplays" |
| 2285 | + }, |
| 2286 | + { |
| 2287 | + "type": "cwsprChatTimeToFirstChunk" |
| 2288 | + }, |
| 2289 | + { |
| 2290 | + "type": "cwsprChatTimeToFirstDisplay" |
| 2291 | + }, |
| 2292 | + { |
| 2293 | + "type": "cwsprChatTimeToFirstUsableChunk" |
| 2294 | + }, |
| 2295 | + { |
| 2296 | + "type": "cwsprChatTriggerInteraction" |
| 2297 | + }, |
| 2298 | + { |
| 2299 | + "type": "cwsprChatUserIntent", |
| 2300 | + "required": false |
| 2301 | + } |
| 2302 | + ] |
| 2303 | + }, |
2015 | 2304 | { |
2016 | 2305 | "name": "amazonq_approachInvoke", |
2017 | 2306 | "description": "Captures Approach generation process", |
|
0 commit comments