Debian Codegraph @

models/apis/bedrock-agent-runtime/2023-07-26/docs-2.json

raw
1 {
2 "version": "2.0",
3 "service": "<p>Amazon Bedrock Agent</p>",
4 "operations": {
5 "InvokeAgent": "<p>Invokes the specified Bedrock model to run inference using the input provided in the request body.</p>",
6 "Retrieve": "<p>Retrieve from knowledge base.</p>",
7 "RetrieveAndGenerate": "<p>RetrieveAndGenerate API</p>"
8 },
9 "shapes": {
10 "AccessDeniedException": {
11 "base": "<p>This exception is thrown when a request is denied per access permissions</p>",
12 "refs": {
13 "ResponseStream$accessDeniedException": null
14 }
15 },
16 "ActionGroupInvocationInput": {
17 "base": "<p>input to lambda used in action group</p>",
18 "refs": {
19 "InvocationInput$actionGroupInvocationInput": null
20 }
21 },
22 "ActionGroupInvocationOutput": {
23 "base": "<p>output from lambda used in action group</p>",
24 "refs": {
25 "Observation$actionGroupInvocationOutput": null
26 }
27 },
28 "ActionGroupName": {
29 "base": "<p>Agent Trace Action Group Name</p>",
30 "refs": {
31 "ActionGroupInvocationInput$actionGroupName": null
32 }
33 },
34 "ActionGroupOutputString": {
35 "base": "<p>Agent Trace Action Group Lambda Invocation Output String</p>",
36 "refs": {
37 "ActionGroupInvocationOutput$text": null
38 }
39 },
40 "AgentAliasId": {
41 "base": "<p>Identifier of the agent alias.</p>",
42 "refs": {
43 "InvokeAgentRequest$agentAliasId": "<p>Identifier for Agent Alias</p>",
44 "TracePart$agentAliasId": null
45 }
46 },
47 "AgentId": {
48 "base": "<p>Identifier of the agent.</p>",
49 "refs": {
50 "InvokeAgentRequest$agentId": "<p>Identifier for Agent</p>",
51 "TracePart$agentId": null
52 }
53 },
54 "ApiPath": {
55 "base": "<p>Agent Trace Action Group API path</p>",
56 "refs": {
57 "ActionGroupInvocationInput$apiPath": null
58 }
59 },
60 "Attribution": {
61 "base": "<p>Citations associated with final agent response</p>",
62 "refs": {
63 "PayloadPart$attribution": null
64 }
65 },
66 "BadGatewayException": {
67 "base": "<p>This exception is thrown when a request fails due to dependency like Lambda, Bedrock, STS resource</p>",
68 "refs": {
69 "ResponseStream$badGatewayException": null
70 }
71 },
72 "BedrockModelArn": {
73 "base": "<p>Arn of a Bedrock model.</p>",
74 "refs": {
75 "KnowledgeBaseRetrieveAndGenerateConfiguration$modelArn": null
76 }
77 },
78 "Boolean": {
79 "base": null,
80 "refs": {
81 "InvokeAgentRequest$endSession": "<p>End current session</p>",
82 "InvokeAgentRequest$enableTrace": "<p>Enable agent trace events for improved debugging</p>",
83 "PreProcessingParsedResponse$isValid": "<p>Boolean value</p>"
84 }
85 },
86 "Citation": {
87 "base": "<p>Citation associated with the agent response</p>",
88 "refs": {
89 "Citations$member": null
90 }
91 },
92 "Citations": {
93 "base": "<p>List of citations</p>",
94 "refs": {
95 "Attribution$citations": null,
96 "RetrieveAndGenerateResponse$citations": null
97 }
98 },
99 "ConflictException": {
100 "base": "<p>This exception is thrown when there is a conflict performing an operation</p>",
101 "refs": {
102 "ResponseStream$conflictException": null
103 }
104 },
105 "ContentMap": {
106 "base": "<p>Content type paramter map</p>",
107 "refs": {
108 "RequestBody$content": null
109 }
110 },
111 "CreationMode": {
112 "base": "<p>indicates if agent uses default prompt or overriden prompt</p>",
113 "refs": {
114 "ModelInvocationInput$promptCreationMode": null,
115 "ModelInvocationInput$parserMode": null
116 }
117 },
118 "DependencyFailedException": {
119 "base": "<p>This exception is thrown when a request fails due to dependency like Lambda, Bedrock, STS resource due to a customer fault (i.e. bad configuration)</p>",
120 "refs": {
121 "ResponseStream$dependencyFailedException": null
122 }
123 },
124 "Double": {
125 "base": null,
126 "refs": {
127 "KnowledgeBaseRetrievalResult$score": "<p>The relevance score of a result.</p>"
128 }
129 },
130 "FailureReasonString": {
131 "base": "<p>Agent Trace Failed Reason String</p>",
132 "refs": {
133 "FailureTrace$failureReason": null
134 }
135 },
136 "FailureTrace": {
137 "base": "<p>Trace Part which is emitted when agent trace could not be generated</p>",
138 "refs": {
139 "Trace$failureTrace": null
140 }
141 },
142 "FinalResponse": {
143 "base": "<p>Agent finish output</p>",
144 "refs": {
145 "Observation$finalResponse": null
146 }
147 },
148 "FinalResponseString": {
149 "base": "<p>Agent Trace Action Group Lambda Invocation Output String</p>",
150 "refs": {
151 "FinalResponse$text": null
152 }
153 },
154 "GeneratedResponsePart": {
155 "base": "<p>Generate response part</p>",
156 "refs": {
157 "Citation$generatedResponsePart": null
158 }
159 },
160 "InferenceConfiguration": {
161 "base": "<p>Configurations for controlling the inference response of an InvokeAgent API call</p>",
162 "refs": {
163 "ModelInvocationInput$inferenceConfiguration": null
164 }
165 },
166 "InputText": {
167 "base": "<p>Model text input</p>",
168 "refs": {
169 "InvokeAgentRequest$inputText": "<p>Input data in the format specified in the Content-Type request header.</p>"
170 }
171 },
172 "InternalServerException": {
173 "base": "<p>This exception is thrown if there was an unexpected error during processing of request</p>",
174 "refs": {
175 "ResponseStream$internalServerException": null
176 }
177 },
178 "InvocationInput": {
179 "base": "<p>Trace Part which contains input details for action group or knowledge base</p>",
180 "refs": {
181 "OrchestrationTrace$invocationInput": null
182 }
183 },
184 "InvocationType": {
185 "base": "<p>types of invocations</p>",
186 "refs": {
187 "InvocationInput$invocationType": null
188 }
189 },
190 "InvokeAgentRequest": {
191 "base": "<p>InvokeAgent Request</p>",
192 "refs": {
193 }
194 },
195 "InvokeAgentResponse": {
196 "base": "<p>InvokeAgent Response</p>",
197 "refs": {
198 }
199 },
200 "KmsKeyArn": {
201 "base": "<p>A KMS key ARN</p>",
202 "refs": {
203 "RetrieveAndGenerateSessionConfiguration$kmsKeyArn": "<p>The KMS key arn to encrypt the customer data of the session.</p>"
204 }
205 },
206 "KnowledgeBaseId": {
207 "base": "<p>Identifier of the KnowledgeBase</p>",
208 "refs": {
209 "KnowledgeBaseRetrieveAndGenerateConfiguration$knowledgeBaseId": null,
210 "RetrieveRequest$knowledgeBaseId": null
211 }
212 },
213 "KnowledgeBaseLookupInput": {
214 "base": "<p>Input to lambda used in action group</p>",
215 "refs": {
216 "InvocationInput$knowledgeBaseLookupInput": null
217 }
218 },
219 "KnowledgeBaseLookupInputString": {
220 "base": "<p>Agent Trace Action Group Lambda Invocation Output String</p>",
221 "refs": {
222 "KnowledgeBaseLookupInput$text": null
223 }
224 },
225 "KnowledgeBaseLookupOutput": {
226 "base": "<p>Input to lambda used in action group</p>",
227 "refs": {
228 "Observation$knowledgeBaseLookupOutput": null
229 }
230 },
231 "KnowledgeBaseQuery": {
232 "base": "<p>Knowledge base input query.</p>",
233 "refs": {
234 "RetrieveRequest$retrievalQuery": null
235 }
236 },
237 "KnowledgeBaseQueryTextString": {
238 "base": null,
239 "refs": {
240 "KnowledgeBaseQuery$text": "<p>Knowledge base input query in text</p>"
241 }
242 },
243 "KnowledgeBaseRetrievalConfiguration": {
244 "base": "<p>Search parameters for retrieving from knowledge base.</p>",
245 "refs": {
246 "RetrieveRequest$retrievalConfiguration": null
247 }
248 },
249 "KnowledgeBaseRetrievalResult": {
250 "base": "<p>Result item returned from a knowledge base retrieval.</p>",
251 "refs": {
252 "KnowledgeBaseRetrievalResults$member": null
253 }
254 },
255 "KnowledgeBaseRetrievalResults": {
256 "base": "<p>List of knowledge base retrieval results</p>",
257 "refs": {
258 "RetrieveResponse$retrievalResults": null
259 }
260 },
261 "KnowledgeBaseRetrieveAndGenerateConfiguration": {
262 "base": "<p>Configurations for retrieval and generation for knowledge base.</p>",
263 "refs": {
264 "RetrieveAndGenerateConfiguration$knowledgeBaseConfiguration": null
265 }
266 },
267 "KnowledgeBaseVectorSearchConfiguration": {
268 "base": "<p>Knowledge base vector search configuration</p>",
269 "refs": {
270 "KnowledgeBaseRetrievalConfiguration$vectorSearchConfiguration": null
271 }
272 },
273 "KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger": {
274 "base": null,
275 "refs": {
276 "KnowledgeBaseVectorSearchConfiguration$numberOfResults": "<p>Top-K results to retrieve from knowledge base.</p>"
277 }
278 },
279 "LambdaArn": {
280 "base": "<p>ARN of a Lambda.</p>",
281 "refs": {
282 "ModelInvocationInput$overrideLambda": null
283 }
284 },
285 "MaximumLength": {
286 "base": "<p>Maximum length of output</p>",
287 "refs": {
288 "InferenceConfiguration$maximumLength": null
289 }
290 },
291 "MimeType": {
292 "base": "<p>Content type of the request</p>",
293 "refs": {
294 "InvokeAgentResponse$contentType": "<p>streaming response mimetype of the model</p>"
295 }
296 },
297 "ModelInvocationInput": {
298 "base": "<p>Trace Part which contains information used to call Invoke Model</p>",
299 "refs": {
300 "OrchestrationTrace$modelInvocationInput": null,
301 "PostProcessingTrace$modelInvocationInput": null,
302 "PreProcessingTrace$modelInvocationInput": null
303 }
304 },
305 "NextToken": {
306 "base": "<p>Opaque continuation token of previous paginated response.</p>",
307 "refs": {
308 "RetrieveRequest$nextToken": null,
309 "RetrieveResponse$nextToken": null
310 }
311 },
312 "NonBlankString": {
313 "base": "<p>Non Blank String</p>",
314 "refs": {
315 "AccessDeniedException$message": null,
316 "BadGatewayException$message": null,
317 "BadGatewayException$resourceName": null,
318 "ConflictException$message": null,
319 "DependencyFailedException$message": null,
320 "DependencyFailedException$resourceName": null,
321 "InternalServerException$message": null,
322 "ResourceNotFoundException$message": null,
323 "ServiceQuotaExceededException$message": null,
324 "ThrottlingException$message": null,
325 "ValidationException$message": null
326 }
327 },
328 "Observation": {
329 "base": "<p>Trace Part which contains output details for action group or knowledge base or final response</p>",
330 "refs": {
331 "OrchestrationTrace$observation": null
332 }
333 },
334 "OrchestrationTrace": {
335 "base": "<p>Trace contains intermidate response during orchestration</p>",
336 "refs": {
337 "Trace$orchestrationTrace": null
338 }
339 },
340 "OutputString": {
341 "base": "<p>Agent Trace Output String</p>",
342 "refs": {
343 "PostProcessingParsedResponse$text": null
344 }
345 },
346 "Parameter": {
347 "base": "<p>parameters included in action group invocation</p>",
348 "refs": {
349 "Parameters$member": null
350 }
351 },
352 "Parameters": {
353 "base": "<p>list of parameters included in action group invocation</p>",
354 "refs": {
355 "ActionGroupInvocationInput$parameters": null,
356 "ContentMap$value": null
357 }
358 },
359 "PartBody": {
360 "base": "<p>PartBody of the payload in bytes</p>",
361 "refs": {
362 "PayloadPart$bytes": null
363 }
364 },
365 "PayloadPart": {
366 "base": "<p>Base 64 endoded byte response</p>",
367 "refs": {
368 "ResponseStream$chunk": null
369 }
370 },
371 "PostProcessingModelInvocationOutput": {
372 "base": "<p>Trace Part which contains information related to postprocessing</p>",
373 "refs": {
374 "PostProcessingTrace$modelInvocationOutput": null
375 }
376 },
377 "PostProcessingParsedResponse": {
378 "base": "<p>Trace Part which contains information if preprocessing was successful</p>",
379 "refs": {
380 "PostProcessingModelInvocationOutput$parsedResponse": null
381 }
382 },
383 "PostProcessingTrace": {
384 "base": "<p>Trace Part which contains information related to post processing step</p>",
385 "refs": {
386 "Trace$postProcessingTrace": null
387 }
388 },
389 "PreProcessingModelInvocationOutput": {
390 "base": "<p>Trace Part which contains information related to preprocessing</p>",
391 "refs": {
392 "PreProcessingTrace$modelInvocationOutput": null
393 }
394 },
395 "PreProcessingParsedResponse": {
396 "base": "<p>Trace Part which contains information if preprocessing was successful</p>",
397 "refs": {
398 "PreProcessingModelInvocationOutput$parsedResponse": null
399 }
400 },
401 "PreProcessingTrace": {
402 "base": "<p>Trace Part which contains information related to preprocessing step</p>",
403 "refs": {
404 "Trace$preProcessingTrace": null
405 }
406 },
407 "PromptSessionAttributesMap": {
408 "base": "<p>Session attributes that go to the prompt</p>",
409 "refs": {
410 "SessionState$promptSessionAttributes": "<p>Prompt Session Attributes</p>"
411 }
412 },
413 "PromptText": {
414 "base": "<p>Prompt Message</p>",
415 "refs": {
416 "ModelInvocationInput$text": null
417 }
418 },
419 "PromptType": {
420 "base": "<p>types of prompts</p>",
421 "refs": {
422 "ModelInvocationInput$type": null
423 }
424 },
425 "Rationale": {
426 "base": "<p>Trace Part which contains information related to reasoning</p>",
427 "refs": {
428 "OrchestrationTrace$rationale": null
429 }
430 },
431 "RationaleString": {
432 "base": "<p>Agent Trace Rationale String</p>",
433 "refs": {
434 "PreProcessingParsedResponse$rationale": null,
435 "Rationale$text": null
436 }
437 },
438 "RepromptResponse": {
439 "base": "<p>Observation information if there were reprompts</p>",
440 "refs": {
441 "Observation$repromptResponse": null
442 }
443 },
444 "RequestBody": {
445 "base": "<p>Request Body Content Map</p>",
446 "refs": {
447 "ActionGroupInvocationInput$requestBody": null
448 }
449 },
450 "ResourceNotFoundException": {
451 "base": "<p>This exception is thrown when a resource referenced by the operation does not exist</p>",
452 "refs": {
453 "ResponseStream$resourceNotFoundException": null
454 }
455 },
456 "ResponseStream": {
457 "base": "<p>Response body of is a stream</p>",
458 "refs": {
459 "InvokeAgentResponse$completion": "<p>Inference response from the model in the format specified in the Content-Type response header.</p>"
460 }
461 },
462 "RetrievalResultContent": {
463 "base": "<p>Content of a retrieval result.</p>",
464 "refs": {
465 "KnowledgeBaseRetrievalResult$content": null,
466 "RetrievedReference$content": null
467 }
468 },
469 "RetrievalResultLocation": {
470 "base": "<p>The source location of a retrieval result.</p>",
471 "refs": {
472 "KnowledgeBaseRetrievalResult$location": null,
473 "RetrievedReference$location": null
474 }
475 },
476 "RetrievalResultLocationType": {
477 "base": "<p>The location type of a retrieval result.</p>",
478 "refs": {
479 "RetrievalResultLocation$type": null
480 }
481 },
482 "RetrievalResultS3Location": {
483 "base": "<p>The S3 location of a retrieval result.</p>",
484 "refs": {
485 "RetrievalResultLocation$s3Location": null
486 }
487 },
488 "RetrieveAndGenerateConfiguration": {
489 "base": "<p>Configures the retrieval and generation for the session.</p>",
490 "refs": {
491 "RetrieveAndGenerateRequest$retrieveAndGenerateConfiguration": null
492 }
493 },
494 "RetrieveAndGenerateInput": {
495 "base": "<p>Customer input of the turn</p>",
496 "refs": {
497 "RetrieveAndGenerateRequest$input": null
498 }
499 },
500 "RetrieveAndGenerateInputTextString": {
501 "base": null,
502 "refs": {
503 "RetrieveAndGenerateInput$text": "<p>Customer input of the turn in text</p>"
504 }
505 },
506 "RetrieveAndGenerateOutput": {
507 "base": "<p>Service response of the turn</p>",
508 "refs": {
509 "RetrieveAndGenerateResponse$output": null
510 }
511 },
512 "RetrieveAndGenerateRequest": {
513 "base": null,
514 "refs": {
515 }
516 },
517 "RetrieveAndGenerateResponse": {
518 "base": null,
519 "refs": {
520 }
521 },
522 "RetrieveAndGenerateSessionConfiguration": {
523 "base": "<p>Configures common parameters of the session.</p>",
524 "refs": {
525 "RetrieveAndGenerateRequest$sessionConfiguration": null
526 }
527 },
528 "RetrieveAndGenerateType": {
529 "base": "<p>The type of RetrieveAndGenerate.</p>",
530 "refs": {
531 "RetrieveAndGenerateConfiguration$type": null
532 }
533 },
534 "RetrieveRequest": {
535 "base": null,
536 "refs": {
537 }
538 },
539 "RetrieveResponse": {
540 "base": null,
541 "refs": {
542 }
543 },
544 "RetrievedReference": {
545 "base": "<p>Retrieved reference</p>",
546 "refs": {
547 "RetrievedReferences$member": null
548 }
549 },
550 "RetrievedReferences": {
551 "base": "<p>list of retrieved references</p>",
552 "refs": {
553 "Citation$retrievedReferences": null,
554 "KnowledgeBaseLookupOutput$retrievedReferences": null
555 }
556 },
557 "ServiceQuotaExceededException": {
558 "base": "<p>This exception is thrown when a request is made beyond the service quota</p>",
559 "refs": {
560 "ResponseStream$serviceQuotaExceededException": null
561 }
562 },
563 "SessionAttributesMap": {
564 "base": "<p>Session attributes are pass through attributes passed to the action group</p>",
565 "refs": {
566 "SessionState$sessionAttributes": "<p>Session Attributes</p>"
567 }
568 },
569 "SessionId": {
570 "base": "<p>Identifier of the session.</p>",
571 "refs": {
572 "InvokeAgentRequest$sessionId": "<p>Identifier used for the current session</p>",
573 "InvokeAgentResponse$sessionId": "<p>streaming response mimetype of the model</p>",
574 "RetrieveAndGenerateRequest$sessionId": null,
575 "RetrieveAndGenerateResponse$sessionId": null,
576 "TracePart$sessionId": null
577 }
578 },
579 "SessionState": {
580 "base": "<p>Session state provided</p>",
581 "refs": {
582 "InvokeAgentRequest$sessionState": "<p>Session state passed by customer. Base64 encoded json string representation of SessionState.</p>"
583 }
584 },
585 "Source": {
586 "base": "<p>Parsing error source</p>",
587 "refs": {
588 "RepromptResponse$source": null
589 }
590 },
591 "Span": {
592 "base": "<p>Span of text</p>",
593 "refs": {
594 "TextResponsePart$span": null
595 }
596 },
597 "SpanEndInteger": {
598 "base": null,
599 "refs": {
600 "Span$end": "<p>End of span</p>"
601 }
602 },
603 "SpanStartInteger": {
604 "base": null,
605 "refs": {
606 "Span$start": "<p>Start of span</p>"
607 }
608 },
609 "StopSequences": {
610 "base": "<p>List of stop sequences</p>",
611 "refs": {
612 "InferenceConfiguration$stopSequences": null
613 }
614 },
615 "String": {
616 "base": null,
617 "refs": {
618 "ContentMap$key": null,
619 "Parameter$name": "<p>Name of parameter</p>",
620 "Parameter$type": "<p>Type of parameter</p>",
621 "Parameter$value": "<p>Value of parameter</p>",
622 "PromptSessionAttributesMap$key": null,
623 "PromptSessionAttributesMap$value": null,
624 "RepromptResponse$text": "<p>Reprompt response text</p>",
625 "RetrievalResultContent$text": "<p>Content of a retrieval result in text</p>",
626 "RetrievalResultS3Location$uri": "<p>URI of S3 location</p>",
627 "RetrieveAndGenerateOutput$text": "<p>Service response of the turn in text</p>",
628 "SessionAttributesMap$key": null,
629 "SessionAttributesMap$value": null,
630 "StopSequences$member": null,
631 "TextResponsePart$text": "<p>Response part in text</p>"
632 }
633 },
634 "Temperature": {
635 "base": "<p>Controls randomness, higher values increase diversity</p>",
636 "refs": {
637 "InferenceConfiguration$temperature": null
638 }
639 },
640 "TextResponsePart": {
641 "base": "<p>Text response part</p>",
642 "refs": {
643 "GeneratedResponsePart$textResponsePart": null
644 }
645 },
646 "ThrottlingException": {
647 "base": "<p>This exception is thrown when the number of requests exceeds the limit</p>",
648 "refs": {
649 "ResponseStream$throttlingException": null
650 }
651 },
652 "TopK": {
653 "base": "<p>Sample from the k most likely next tokens</p>",
654 "refs": {
655 "InferenceConfiguration$topK": null
656 }
657 },
658 "TopP": {
659 "base": "<p>Cumulative probability cutoff for token selection</p>",
660 "refs": {
661 "InferenceConfiguration$topP": null
662 }
663 },
664 "Trace": {
665 "base": "<p>Trace contains intermidate response for customer</p>",
666 "refs": {
667 "TracePart$trace": null
668 }
669 },
670 "TraceId": {
671 "base": "<p>Identifier for trace</p>",
672 "refs": {
673 "FailureTrace$traceId": null,
674 "InvocationInput$traceId": null,
675 "ModelInvocationInput$traceId": null,
676 "Observation$traceId": null,
677 "PostProcessingModelInvocationOutput$traceId": null,
678 "PreProcessingModelInvocationOutput$traceId": null,
679 "Rationale$traceId": null
680 }
681 },
682 "TraceKnowledgeBaseId": {
683 "base": "<p>Agent Trace Action Group Knowledge Base Id</p>",
684 "refs": {
685 "KnowledgeBaseLookupInput$knowledgeBaseId": null
686 }
687 },
688 "TracePart": {
689 "base": "<p>Trace Part which contains intermidate response for customer</p>",
690 "refs": {
691 "ResponseStream$trace": null
692 }
693 },
694 "Type": {
695 "base": "<p>types of observations</p>",
696 "refs": {
697 "Observation$type": null
698 }
699 },
700 "ValidationException": {
701 "base": "<p>This exception is thrown when the request's input validation fails</p>",
702 "refs": {
703 "ResponseStream$validationException": null
704 }
705 },
706 "Verb": {
707 "base": "<p>Agent Trace Action Group Action verb</p>",
708 "refs": {
709 "ActionGroupInvocationInput$verb": null
710 }
711 }
712 }
713 }