|
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",
|
|
1045 | 1105 | "type": "string",
|
1046 | 1106 | "description": "Programming language associated with the message"
|
1047 | 1107 | },
|
| 1108 | + { |
| 1109 | + "name": "cwsprChatProjectContextQueryMs", |
| 1110 | + "type": "int", |
| 1111 | + "description": "query latency in ms for local project context" |
| 1112 | + }, |
1048 | 1113 | {
|
1049 | 1114 | "name": "cwsprChatPromptContextCount",
|
1050 | 1115 | "type": "int",
|
1051 | 1116 | "description": "Number of saved prompts manually added to context"
|
1052 | 1117 | },
|
| 1118 | + { |
| 1119 | + "name": "cwsprChatPromptContextLength", |
| 1120 | + "type": "int", |
| 1121 | + "description": "Total length of saved prompts added to context" |
| 1122 | + }, |
| 1123 | + { |
| 1124 | + "name": "cwsprChatPromptContextTruncatedLength", |
| 1125 | + "type": "int", |
| 1126 | + "description": "Truncated length of saved prompts added to context" |
| 1127 | + }, |
| 1128 | + { |
| 1129 | + "name": "cwsprChatReferencesCount", |
| 1130 | + "type": "int", |
| 1131 | + "description": "Number of references in response" |
| 1132 | + }, |
| 1133 | + { |
| 1134 | + "name": "cwsprChatRequestLength", |
| 1135 | + "type": "int", |
| 1136 | + "description": "Number of characters in request" |
| 1137 | + }, |
| 1138 | + { |
| 1139 | + "name": "cwsprChatResponseCode", |
| 1140 | + "type": "int", |
| 1141 | + "description": "HTTP response code for message API invocation" |
| 1142 | + }, |
| 1143 | + { |
| 1144 | + "name": "cwsprChatResponseCodeSnippetCount", |
| 1145 | + "type": "int", |
| 1146 | + "description": "Number of code snippets in response" |
| 1147 | + }, |
| 1148 | + { |
| 1149 | + "name": "cwsprChatResponseLength", |
| 1150 | + "type": "int", |
| 1151 | + "description": "Number of characters in response" |
| 1152 | + }, |
1053 | 1153 | {
|
1054 | 1154 | "name": "cwsprChatRuleContextCount",
|
1055 | 1155 | "type": "int",
|
1056 | 1156 | "description": "Number of workspace rules automatically added to context"
|
1057 | 1157 | },
|
| 1158 | + { |
| 1159 | + "name": "cwsprChatRuleContextLength", |
| 1160 | + "type": "int", |
| 1161 | + "description": "Total length of workspace rules added to context" |
| 1162 | + }, |
| 1163 | + { |
| 1164 | + "name": "cwsprChatRuleContextTruncatedLength", |
| 1165 | + "type": "int", |
| 1166 | + "description": "Truncated length of workspace rules added to context" |
| 1167 | + }, |
| 1168 | + { |
| 1169 | + "name": "cwsprChatSourceLinkCount", |
| 1170 | + "type": "int", |
| 1171 | + "description": "Number of links in response" |
| 1172 | + }, |
| 1173 | + { |
| 1174 | + "name": "cwsprChatTimeBetweenChunks", |
| 1175 | + "type": "string", |
| 1176 | + "description": "An array of time when successive chunks of data are received from the server" |
| 1177 | + }, |
| 1178 | + { |
| 1179 | + "name": "cwsprChatTimeBetweenDisplays", |
| 1180 | + "type": "string", |
| 1181 | + "description": "An array of time when successive chunks of server responses are displayed to the user" |
| 1182 | + }, |
| 1183 | + { |
| 1184 | + "name": "cwsprChatTimeToFirstChunk", |
| 1185 | + "type": "int", |
| 1186 | + "description": "The time between when the conversation id was created and when we got back the first usable result" |
| 1187 | + }, |
| 1188 | + { |
| 1189 | + "name": "cwsprChatTimeToFirstDisplay", |
| 1190 | + "type": "int", |
| 1191 | + "description": "The time between the user pressing enter and when the first chunk of data is displayed to the user" |
| 1192 | + }, |
| 1193 | + { |
| 1194 | + "name": "cwsprChatTimeToFirstUsableChunk", |
| 1195 | + "type": "int", |
| 1196 | + "description": "The time between the initial server request, including creating the conversation id, and the first usable result" |
| 1197 | + }, |
1058 | 1198 | {
|
1059 | 1199 | "name": "cwsprChatTotalCodeBlocks",
|
1060 | 1200 | "type": "int",
|
1061 | 1201 | "description": "Total number of code blocks inside a message in the conversation."
|
1062 | 1202 | },
|
| 1203 | + { |
| 1204 | + "name": "cwsprChatTriggerInteraction", |
| 1205 | + "type": "string", |
| 1206 | + "allowedValues": [ |
| 1207 | + "hotkeys", |
| 1208 | + "click", |
| 1209 | + "contextMenu" |
| 1210 | + ], |
| 1211 | + "description": "Identifies the specific interaction that opens the chat panel" |
| 1212 | + }, |
1063 | 1213 | {
|
1064 | 1214 | "name": "cwsprChatUserIntent",
|
1065 | 1215 | "type": "string",
|
|
2012 | 2162 | }
|
2013 | 2163 | ]
|
2014 | 2164 | },
|
| 2165 | + { |
| 2166 | + "name": "amazonq_addMessage", |
| 2167 | + "description": "When a message is added to the conversation", |
| 2168 | + "metadata": [ |
| 2169 | + { |
| 2170 | + "type": "codewhispererCustomizationArn", |
| 2171 | + "required": false |
| 2172 | + }, |
| 2173 | + { |
| 2174 | + "type": "credentialStartUrl", |
| 2175 | + "required": false |
| 2176 | + }, |
| 2177 | + { |
| 2178 | + "type": "cwsprChatActiveEditorImportCount", |
| 2179 | + "required": false |
| 2180 | + }, |
| 2181 | + { |
| 2182 | + "type": "cwsprChatActiveEditorTotalCharacters", |
| 2183 | + "required": false |
| 2184 | + }, |
| 2185 | + { |
| 2186 | + "type": "cwsprChatConversationId" |
| 2187 | + }, |
| 2188 | + { |
| 2189 | + "type": "cwsprChatConversationType" |
| 2190 | + }, |
| 2191 | + { |
| 2192 | + "type": "cwsprChatFileContextCount", |
| 2193 | + "required": false |
| 2194 | + }, |
| 2195 | + { |
| 2196 | + "type": "cwsprChatFileContextLength", |
| 2197 | + "required": false |
| 2198 | + }, |
| 2199 | + { |
| 2200 | + "type": "cwsprChatFileContextTruncatedLength", |
| 2201 | + "required": false |
| 2202 | + }, |
| 2203 | + { |
| 2204 | + "type": "cwsprChatFolderContextCount", |
| 2205 | + "required": false |
| 2206 | + }, |
| 2207 | + { |
| 2208 | + "type": "cwsprChatFollowUpCount", |
| 2209 | + "required": false |
| 2210 | + }, |
| 2211 | + { |
| 2212 | + "type": "cwsprChatFullDisplayLatency" |
| 2213 | + }, |
| 2214 | + { |
| 2215 | + "type": "cwsprChatFullResponseLatency" |
| 2216 | + }, |
| 2217 | + { |
| 2218 | + "type": "cwsprChatFullServerResponseLatency" |
| 2219 | + }, |
| 2220 | + { |
| 2221 | + "type": "cwsprChatHasCodeSnippet", |
| 2222 | + "required": false |
| 2223 | + }, |
| 2224 | + { |
| 2225 | + "type": "cwsprChatHasContextList", |
| 2226 | + "required": false |
| 2227 | + }, |
| 2228 | + { |
| 2229 | + "type": "cwsprChatHasProjectContext", |
| 2230 | + "required": false |
| 2231 | + }, |
| 2232 | + { |
| 2233 | + "type": "cwsprChatMessageId" |
| 2234 | + }, |
| 2235 | + { |
| 2236 | + "type": "cwsprChatProgrammingLanguage", |
| 2237 | + "required": false |
| 2238 | + }, |
| 2239 | + { |
| 2240 | + "type": "cwsprChatProjectContextQueryMs", |
| 2241 | + "required": false |
| 2242 | + }, |
| 2243 | + { |
| 2244 | + "type": "cwsprChatPromptContextCount", |
| 2245 | + "required": false |
| 2246 | + }, |
| 2247 | + { |
| 2248 | + "type": "cwsprChatPromptContextLength", |
| 2249 | + "required": false |
| 2250 | + }, |
| 2251 | + { |
| 2252 | + "type": "cwsprChatPromptContextTruncatedLength", |
| 2253 | + "required": false |
| 2254 | + }, |
| 2255 | + { |
| 2256 | + "type": "cwsprChatReferencesCount", |
| 2257 | + "required": false |
| 2258 | + }, |
| 2259 | + { |
| 2260 | + "type": "cwsprChatRequestLength" |
| 2261 | + }, |
| 2262 | + { |
| 2263 | + "type": "cwsprChatResponseCode" |
| 2264 | + }, |
| 2265 | + { |
| 2266 | + "type": "cwsprChatResponseCodeSnippetCount", |
| 2267 | + "required": false |
| 2268 | + }, |
| 2269 | + { |
| 2270 | + "type": "cwsprChatResponseLength", |
| 2271 | + "required": false |
| 2272 | + }, |
| 2273 | + { |
| 2274 | + "type": "cwsprChatRuleContextCount", |
| 2275 | + "required": false |
| 2276 | + }, |
| 2277 | + { |
| 2278 | + "type": "cwsprChatRuleContextLength", |
| 2279 | + "required": false |
| 2280 | + }, |
| 2281 | + { |
| 2282 | + "type": "cwsprChatRuleContextTruncatedLength", |
| 2283 | + "required": false |
| 2284 | + }, |
| 2285 | + { |
| 2286 | + "type": "cwsprChatSourceLinkCount", |
| 2287 | + "required": false |
| 2288 | + }, |
| 2289 | + { |
| 2290 | + "type": "cwsprChatTimeBetweenChunks" |
| 2291 | + }, |
| 2292 | + { |
| 2293 | + "type": "cwsprChatTimeBetweenDisplays" |
| 2294 | + }, |
| 2295 | + { |
| 2296 | + "type": "cwsprChatTimeToFirstChunk" |
| 2297 | + }, |
| 2298 | + { |
| 2299 | + "type": "cwsprChatTimeToFirstDisplay" |
| 2300 | + }, |
| 2301 | + { |
| 2302 | + "type": "cwsprChatTimeToFirstUsableChunk" |
| 2303 | + }, |
| 2304 | + { |
| 2305 | + "type": "cwsprChatTriggerInteraction" |
| 2306 | + }, |
| 2307 | + { |
| 2308 | + "type": "cwsprChatUserIntent", |
| 2309 | + "required": false |
| 2310 | + } |
| 2311 | + ] |
| 2312 | + }, |
2015 | 2313 | {
|
2016 | 2314 | "name": "amazonq_approachInvoke",
|
2017 | 2315 | "description": "Captures Approach generation process",
|
|
0 commit comments