Skip to content

Commit a21105b

Browse files
Updated API models and rebuilt service gems.
1 parent 5682137 commit a21105b

File tree

79 files changed

+1723
-333
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1723
-333
lines changed

Diff for: apis/bedrock-agent-runtime/2023-07-26/api-2.json

+58-3
Original file line numberDiff line numberDiff line change
@@ -563,9 +563,27 @@
563563
"type":"string",
564564
"enum":[
565565
"AMAZON.UserInput",
566-
"AMAZON.CodeInterpreter"
566+
"AMAZON.CodeInterpreter",
567+
"ANTHROPIC.Computer",
568+
"ANTHROPIC.Bash",
569+
"ANTHROPIC.TextEditor"
567570
]
568571
},
572+
"ActionGroupSignatureParams":{
573+
"type":"map",
574+
"key":{"shape":"ActionGroupSignatureParamsKeyString"},
575+
"value":{"shape":"ActionGroupSignatureParamsValueString"}
576+
},
577+
"ActionGroupSignatureParamsKeyString":{
578+
"type":"string",
579+
"max":100,
580+
"min":0
581+
},
582+
"ActionGroupSignatureParamsValueString":{
583+
"type":"string",
584+
"max":100,
585+
"min":0
586+
},
569587
"ActionInvocationType":{
570588
"type":"string",
571589
"enum":[
@@ -599,7 +617,8 @@
599617
"apiSchema":{"shape":"APISchema"},
600618
"description":{"shape":"ResourceDescription"},
601619
"functionSchema":{"shape":"FunctionSchema"},
602-
"parentActionGroupSignature":{"shape":"ActionGroupSignature"}
620+
"parentActionGroupSignature":{"shape":"ActionGroupSignature"},
621+
"parentActionGroupSignatureParams":{"shape":"ActionGroupSignatureParams"}
603622
}
604623
},
605624
"AgentActionGroups":{
@@ -992,7 +1011,8 @@
9921011
"ContentBody":{
9931012
"type":"structure",
9941013
"members":{
995-
"body":{"shape":"String"}
1014+
"body":{"shape":"String"},
1015+
"images":{"shape":"ImageInputs"}
9961016
}
9971017
},
9981018
"ContentMap":{
@@ -2135,6 +2155,41 @@
21352155
"webp"
21362156
]
21372157
},
2158+
"ImageInput":{
2159+
"type":"structure",
2160+
"required":[
2161+
"format",
2162+
"source"
2163+
],
2164+
"members":{
2165+
"format":{"shape":"ImageInputFormat"},
2166+
"source":{"shape":"ImageInputSource"}
2167+
}
2168+
},
2169+
"ImageInputFormat":{
2170+
"type":"string",
2171+
"enum":[
2172+
"png",
2173+
"jpeg",
2174+
"gif",
2175+
"webp"
2176+
]
2177+
},
2178+
"ImageInputSource":{
2179+
"type":"structure",
2180+
"members":{
2181+
"bytes":{"shape":"ImageInputSourceBytesBlob"}
2182+
},
2183+
"union":true
2184+
},
2185+
"ImageInputSourceBytesBlob":{
2186+
"type":"blob",
2187+
"min":1
2188+
},
2189+
"ImageInputs":{
2190+
"type":"list",
2191+
"member":{"shape":"ImageInput"}
2192+
},
21382193
"ImageSource":{
21392194
"type":"structure",
21402195
"members":{

Diff for: apis/bedrock-agent-runtime/2023-07-26/docs-2.json

+55-7
Large diffs are not rendered by default.

Diff for: apis/bedrock-agent/2023-06-05/api-2.json

+24-3
Original file line numberDiff line numberDiff line change
@@ -1366,9 +1366,27 @@
13661366
"type":"string",
13671367
"enum":[
13681368
"AMAZON.UserInput",
1369-
"AMAZON.CodeInterpreter"
1369+
"AMAZON.CodeInterpreter",
1370+
"ANTHROPIC.Computer",
1371+
"ANTHROPIC.Bash",
1372+
"ANTHROPIC.TextEditor"
13701373
]
13711374
},
1375+
"ActionGroupSignatureParams":{
1376+
"type":"map",
1377+
"key":{"shape":"ActionGroupSignatureParamsKeyString"},
1378+
"value":{"shape":"ActionGroupSignatureParamsValueString"}
1379+
},
1380+
"ActionGroupSignatureParamsKeyString":{
1381+
"type":"string",
1382+
"max":100,
1383+
"min":0
1384+
},
1385+
"ActionGroupSignatureParamsValueString":{
1386+
"type":"string",
1387+
"max":100,
1388+
"min":0
1389+
},
13721390
"ActionGroupState":{
13731391
"type":"string",
13741392
"enum":[
@@ -1460,6 +1478,7 @@
14601478
"createdAt":{"shape":"DateTimestamp"},
14611479
"description":{"shape":"Description"},
14621480
"functionSchema":{"shape":"FunctionSchema"},
1481+
"parentActionGroupSignatureParams":{"shape":"ActionGroupSignatureParams"},
14631482
"parentActionSignature":{"shape":"ActionGroupSignature"},
14641483
"updatedAt":{"shape":"DateTimestamp"}
14651484
}
@@ -2166,7 +2185,8 @@
21662185
},
21672186
"description":{"shape":"Description"},
21682187
"functionSchema":{"shape":"FunctionSchema"},
2169-
"parentActionGroupSignature":{"shape":"ActionGroupSignature"}
2188+
"parentActionGroupSignature":{"shape":"ActionGroupSignature"},
2189+
"parentActionGroupSignatureParams":{"shape":"ActionGroupSignatureParams"}
21702190
}
21712191
},
21722192
"CreateAgentActionGroupResponse":{
@@ -6972,7 +6992,8 @@
69726992
"apiSchema":{"shape":"APISchema"},
69736993
"description":{"shape":"Description"},
69746994
"functionSchema":{"shape":"FunctionSchema"},
6975-
"parentActionGroupSignature":{"shape":"ActionGroupSignature"}
6995+
"parentActionGroupSignature":{"shape":"ActionGroupSignature"},
6996+
"parentActionGroupSignatureParams":{"shape":"ActionGroupSignatureParams"}
69766997
}
69776998
},
69786999
"UpdateAgentActionGroupResponse":{

Diff for: apis/bedrock-agent/2023-06-05/docs-2.json

+23-3
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,28 @@
101101
"base": null,
102102
"refs": {
103103
"AgentActionGroup$parentActionSignature": "<p>If this field is set as <code>AMAZON.UserInput</code>, the agent can request the user for additional information when trying to complete a task. The <code>description</code>, <code>apiSchema</code>, and <code>actionGroupExecutor</code> fields must be blank for this action group.</p> <p>During orchestration, if the agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html\">Observation</a> reprompting the user for more information.</p>",
104-
"CreateAgentActionGroupRequest$parentActionGroupSignature": "<p>To allow your agent to request the user for additional information when trying to complete a task, set this field to <code>AMAZON.UserInput</code>. You must leave the <code>description</code>, <code>apiSchema</code>, and <code>actionGroupExecutor</code> fields blank for this action group.</p> <p>To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field to <code>AMAZON.CodeInterpreter</code>. You must leave the <code>description</code>, <code>apiSchema</code>, and <code>actionGroupExecutor</code> fields blank for this action group.</p> <p>During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html\">Observation</a> reprompting the user for more information.</p>",
105-
"UpdateAgentActionGroupRequest$parentActionGroupSignature": "<p>To allow your agent to request the user for additional information when trying to complete a task, set this field to <code>AMAZON.UserInput</code>. You must leave the <code>description</code>, <code>apiSchema</code>, and <code>actionGroupExecutor</code> fields blank for this action group.</p> <p>During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html\">Observation</a> reprompting the user for more information.</p>"
104+
"CreateAgentActionGroupRequest$parentActionGroupSignature": "<p>Specify a built-in or computer use action for this action group. If you specify a value, you must leave the <code>description</code>, <code>apiSchema</code>, and <code>actionGroupExecutor</code> fields empty for this action group. </p> <ul> <li> <p>To allow your agent to request the user for additional information when trying to complete a task, set this field to <code>AMAZON.UserInput</code>. </p> </li> <li> <p>To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field to <code>AMAZON.CodeInterpreter</code>.</p> </li> <li> <p>To allow your agent to use an Anthropic computer use tool, specify one of the following values. </p> <important> <p> Computer use is a new Anthropic Claude model capability (in beta) available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. When operating computer use functionality, we recommend taking additional security precautions, such as executing computer actions in virtual environments with restricted data access and limited internet connectivity. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html\">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>. </p> </important> <ul> <li> <p> <code>ANTHROPIC.Computer</code> - Gives the agent permission to use the mouse and keyboard and take screenshots.</p> </li> <li> <p> <code>ANTHROPIC.TextEditor</code> - Gives the agent permission to view, create and edit files.</p> </li> <li> <p> <code>ANTHROPIC.Bash</code> - Gives the agent permission to run commands in a bash shell.</p> </li> </ul> </li> </ul>",
105+
"UpdateAgentActionGroupRequest$parentActionGroupSignature": "<p>Update the built-in or computer use action for this action group. If you specify a value, you must leave the <code>description</code>, <code>apiSchema</code>, and <code>actionGroupExecutor</code> fields empty for this action group. </p> <ul> <li> <p>To allow your agent to request the user for additional information when trying to complete a task, set this field to <code>AMAZON.UserInput</code>. </p> </li> <li> <p>To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field to <code>AMAZON.CodeInterpreter</code>.</p> </li> <li> <p>To allow your agent to use an Anthropic computer use tool, specify one of the following values. </p> <important> <p> Computer use is a new Anthropic Claude model capability (in beta) available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. When operating computer use functionality, we recommend taking additional security precautions, such as executing computer actions in virtual environments with restricted data access and limited internet connectivity. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html\">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>. </p> </important> <ul> <li> <p> <code>ANTHROPIC.Computer</code> - Gives the agent permission to use the mouse and keyboard and take screenshots.</p> </li> <li> <p> <code>ANTHROPIC.TextEditor</code> - Gives the agent permission to view, create and edit files.</p> </li> <li> <p> <code>ANTHROPIC.Bash</code> - Gives the agent permission to run commands in a bash shell.</p> </li> </ul> </li> </ul> <p>During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html\">Observation</a> reprompting the user for more information.</p>"
106+
}
107+
},
108+
"ActionGroupSignatureParams": {
109+
"base": null,
110+
"refs": {
111+
"AgentActionGroup$parentActionGroupSignatureParams": "<p>The configuration settings for a computer use action.</p> <important> <p> Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html\">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>. </p> </important>",
112+
"CreateAgentActionGroupRequest$parentActionGroupSignatureParams": "<p>The configuration settings for a computer use action.</p> <important> <p> Computer use is a new Anthropic Claude model capability (in beta) available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html\">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>. </p> </important>",
113+
"UpdateAgentActionGroupRequest$parentActionGroupSignatureParams": "<p>The configuration settings for a computer use action.</p> <important> <p> Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 and Claude 3.5 Sonnet v2 only. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html\">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>. </p> </important>"
114+
}
115+
},
116+
"ActionGroupSignatureParamsKeyString": {
117+
"base": null,
118+
"refs": {
119+
"ActionGroupSignatureParams$key": null
120+
}
121+
},
122+
"ActionGroupSignatureParamsValueString": {
123+
"base": null,
124+
"refs": {
125+
"ActionGroupSignatureParams$value": null
106126
}
107127
},
108128
"ActionGroupState": {
@@ -739,7 +759,7 @@
739759
"CreationMode": {
740760
"base": null,
741761
"refs": {
742-
"PromptConfiguration$parserMode": "<p>Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the <code>promptType</code>. If you set the field as <code>OVERRIDEN</code>, the <code>overrideLambda</code> field in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html\">PromptOverrideConfiguration</a> must be specified with the ARN of a Lambda function.</p>",
762+
"PromptConfiguration$parserMode": "<p>Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the <code>promptType</code>. If you set the field as <code>OVERRIDDEN</code>, the <code>overrideLambda</code> field in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html\">PromptOverrideConfiguration</a> must be specified with the ARN of a Lambda function.</p>",
743763
"PromptConfiguration$promptCreationMode": "<p>Specifies whether to override the default prompt template for this <code>promptType</code>. Set this value to <code>OVERRIDDEN</code> to use the prompt that you provide in the <code>basePromptTemplate</code>. If you leave it as <code>DEFAULT</code>, the agent uses a default prompt template.</p>"
744764
}
745765
},

0 commit comments

Comments
 (0)