Skip to content

Commit 8670c1a

Browse files
author
AWS
committed
Agents for Amazon Bedrock Runtime Update: Custom Orchestration and Streaming configurations API release for AWSBedrockAgents.
1 parent 36acf06 commit 8670c1a

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Agents for Amazon Bedrock Runtime",
4+
"contributor": "",
5+
"description": "Custom Orchestration and Streaming configurations API release for AWSBedrockAgents."
6+
}

services/bedrockagentruntime/src/main/resources/codegen-resources/service-2.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,32 @@
681681
"type":"string",
682682
"enum":["RETURN_CONTROL"]
683683
},
684+
"CustomOrchestrationTrace":{
685+
"type":"structure",
686+
"members":{
687+
"event":{
688+
"shape":"CustomOrchestrationTraceEvent",
689+
"documentation":"<p> The trace event details used with the custom orchestration. </p>"
690+
},
691+
"traceId":{
692+
"shape":"TraceId",
693+
"documentation":"<p> The unique identifier of the trace. </p>"
694+
}
695+
},
696+
"documentation":"<p> The trace behavior for the custom orchestration. </p>",
697+
"sensitive":true
698+
},
699+
"CustomOrchestrationTraceEvent":{
700+
"type":"structure",
701+
"members":{
702+
"text":{
703+
"shape":"String",
704+
"documentation":"<p> The text that prompted the event at this step. </p>"
705+
}
706+
},
707+
"documentation":"<p> The event in the custom orchestration sequence. </p>",
708+
"sensitive":true
709+
},
684710
"DateTimestamp":{
685711
"type":"timestamp",
686712
"documentation":"<p>Time Stamp.</p>",
@@ -2279,6 +2305,10 @@
22792305
"sessionState":{
22802306
"shape":"SessionState",
22812307
"documentation":"<p>Contains parameters that specify various attributes of the session. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html\">Control session context</a>.</p> <note> <p>If you include <code>returnControlInvocationResults</code> in the <code>sessionState</code> field, the <code>inputText</code> field will be ignored.</p> </note>"
2308+
},
2309+
"streamingConfigurations":{
2310+
"shape":"StreamingConfigurations",
2311+
"documentation":"<p> Specifies the configurations for streaming. </p>"
22822312
}
22832313
}
22842314
},
@@ -4064,6 +4094,25 @@
40644094
"max":4,
40654095
"min":0
40664096
},
4097+
"StreamingConfigurations":{
4098+
"type":"structure",
4099+
"members":{
4100+
"applyGuardrailInterval":{
4101+
"shape":"StreamingConfigurationsApplyGuardrailIntervalInteger",
4102+
"documentation":"<p> The guardrail interval to apply as response is generated. </p>"
4103+
},
4104+
"streamFinalResponse":{
4105+
"shape":"Boolean",
4106+
"documentation":"<p> Specifies whether to enable streaming for the final response. This is set to <code>false</code> by default. </p>"
4107+
}
4108+
},
4109+
"documentation":"<p> Configurations for streaming. </p>"
4110+
},
4111+
"StreamingConfigurationsApplyGuardrailIntervalInteger":{
4112+
"type":"integer",
4113+
"box":true,
4114+
"min":1
4115+
},
40674116
"String":{"type":"string"},
40684117
"SummaryText":{
40694118
"type":"string",
@@ -4163,6 +4212,10 @@
41634212
"Trace":{
41644213
"type":"structure",
41654214
"members":{
4215+
"customOrchestrationTrace":{
4216+
"shape":"CustomOrchestrationTrace",
4217+
"documentation":"<p> Details about the custom orchestration step in which the agent determines the order in which actions are executed. </p>"
4218+
},
41664219
"failureTrace":{
41674220
"shape":"FailureTrace",
41684221
"documentation":"<p>Contains information about the failure of the interaction.</p>"

0 commit comments

Comments
 (0)