Skip to content

Commit 88bf60b

Browse files
This release introduces the PromptCreationConfigurations input parameter, which includes fields to control prompt population for InvokeAgent or InvokeInlineAgent requests.
1 parent df0d268 commit 88bf60b

File tree

45 files changed

+672
-385
lines changed

Some content is hidden

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

45 files changed

+672
-385
lines changed

generator/ServiceModels/bedrock-agent-runtime/bedrock-agent-runtime-2023-07-26.api.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2925,6 +2925,7 @@
29252925
"endSession":{"shape":"Boolean"},
29262926
"inputText":{"shape":"InputText"},
29272927
"memoryId":{"shape":"MemoryId"},
2928+
"promptCreationConfigurations":{"shape":"PromptCreationConfigurations"},
29282929
"sessionId":{
29292930
"shape":"SessionId",
29302931
"location":"uri",
@@ -3029,6 +3030,7 @@
30293030
"instruction":{"shape":"Instruction"},
30303031
"knowledgeBases":{"shape":"KnowledgeBases"},
30313032
"orchestrationType":{"shape":"OrchestrationType"},
3033+
"promptCreationConfigurations":{"shape":"PromptCreationConfigurations"},
30323034
"promptOverrideConfiguration":{"shape":"PromptOverrideConfiguration"},
30333035
"sessionId":{
30343036
"shape":"SessionId",
@@ -3974,6 +3976,18 @@
39743976
"max":10,
39753977
"min":0
39763978
},
3979+
"PromptCreationConfigurations":{
3980+
"type":"structure",
3981+
"members":{
3982+
"excludePreviousThinkingSteps":{"shape":"Boolean"},
3983+
"previousConversationTurnsToInclude":{"shape":"PromptCreationConfigurationsPreviousConversationTurnsToIncludeInteger"}
3984+
}
3985+
},
3986+
"PromptCreationConfigurationsPreviousConversationTurnsToIncludeInteger":{
3987+
"type":"integer",
3988+
"box":true,
3989+
"min":0
3990+
},
39773991
"PromptOverrideConfiguration":{
39783992
"type":"structure",
39793993
"required":["promptConfigurations"],

generator/ServiceModels/bedrock-agent-runtime/bedrock-agent-runtime-2023-07-26.docs.json

Lines changed: 66 additions & 52 deletions
Large diffs are not rendered by default.

generator/ServiceModels/bedrock-agent-runtime/bedrock-agent-runtime-2023-07-26.normal.json

Lines changed: 79 additions & 52 deletions
Large diffs are not rendered by default.

sdk/code-analysis/ServiceAnalysis/BedrockAgentRuntime/Generated/PropertyValueRules.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,10 @@
11341134
<max>2048</max>
11351135
<pattern>(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+))$|(^arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)$</pattern>
11361136
</property-value-rule>
1137+
<property-value-rule>
1138+
<property>Amazon.BedrockAgentRuntime.Model.PromptCreationConfigurations.PreviousConversationTurnsToInclude</property>
1139+
<min>0</min>
1140+
</property-value-rule>
11371141
<property-value-rule>
11381142
<property>Amazon.BedrockAgentRuntime.Model.PromptOverrideConfiguration.OverrideLambda</property>
11391143
<min>0</min>

sdk/src/Services/BedrockAgentRuntime/Generated/Model/ConditionResultEvent.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
namespace Amazon.BedrockAgentRuntime.Model
3131
{
3232
/// <summary>
33-
/// Contains information about a condition evaluation result during an async execution.
33+
/// Contains information about a condition evaluation result during a flow execution.
3434
/// This event is generated when a condition node in the flow evaluates its conditions.
3535
///
3636
/// <note>
3737
/// <para>
38-
/// Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.
38+
/// Flow executions is in preview release for Amazon Bedrock and is subject to change.
3939
/// </para>
4040
/// </note>
4141
/// </summary>

sdk/src/Services/BedrockAgentRuntime/Generated/Model/FlowExecutionContent.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
namespace Amazon.BedrockAgentRuntime.Model
3131
{
3232
/// <summary>
33-
/// Contains the content of an async execution input or output field.
33+
/// Contains the content of an flow execution input or output field.
3434
///
3535
/// <note>
3636
/// <para>
37-
/// Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.
37+
/// Flow executions is in preview release for Amazon Bedrock and is subject to change.
3838
/// </para>
3939
/// </note>
4040
/// </summary>

sdk/src/Services/BedrockAgentRuntime/Generated/Model/FlowExecutionError.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
namespace Amazon.BedrockAgentRuntime.Model
3131
{
3232
/// <summary>
33-
/// Contains information about an error that occurred during an async execution.
33+
/// Contains information about an error that occurred during an flow execution.
3434
///
3535
/// <note>
3636
/// <para>
37-
/// Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.
37+
/// Flow executions is in preview release for Amazon Bedrock and is subject to change.
3838
/// </para>
3939
/// </note>
4040
/// </summary>

sdk/src/Services/BedrockAgentRuntime/Generated/Model/FlowExecutionEvent.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
namespace Amazon.BedrockAgentRuntime.Model
3131
{
3232
/// <summary>
33-
/// Represents an event that occurred during an async execution. This is a union type
34-
/// that can contain one of several event types, such as node input and output events;
35-
/// flow input and output events; condition node result events, or failure events.
33+
/// Represents an event that occurred during an flow execution. This is a union type that
34+
/// can contain one of several event types, such as node input and output events; flow
35+
/// input and output events; condition node result events, or failure events.
3636
///
3737
/// <note>
3838
/// <para>
39-
/// Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.
39+
/// Flow executions is in preview release for Amazon Bedrock and is subject to change.
4040
/// </para>
4141
/// </note>
4242
/// </summary>
@@ -53,7 +53,7 @@ public partial class FlowExecutionEvent
5353
/// <summary>
5454
/// Gets and sets the property ConditionResultEvent.
5555
/// <para>
56-
/// Contains information about a condition evaluation result during the async execution.
56+
/// Contains information about a condition evaluation result during the flow execution.
5757
/// This event is generated when a condition node in the flow evaluates its conditions.
5858
/// </para>
5959
/// </summary>

sdk/src/Services/BedrockAgentRuntime/Generated/Model/FlowExecutionInputEvent.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@
3030
namespace Amazon.BedrockAgentRuntime.Model
3131
{
3232
/// <summary>
33-
/// Contains information about the inputs provided to the flow at the start of async execution.
33+
/// Contains information about the inputs provided to the flow at the start of a flow
34+
/// execution.
3435
///
3536
/// <note>
3637
/// <para>
37-
/// Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.
38+
/// Flow executions is in preview release for Amazon Bedrock and is subject to change.
3839
/// </para>
3940
/// </note>
4041
/// </summary>

sdk/src/Services/BedrockAgentRuntime/Generated/Model/FlowExecutionOutputEvent.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
namespace Amazon.BedrockAgentRuntime.Model
3131
{
3232
/// <summary>
33-
/// Contains information about the outputs produced by the flow during an async execution.
33+
/// Contains information about the outputs produced by the flow during a flow execution.
3434
///
3535
/// <note>
3636
/// <para>
37-
/// Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.
37+
/// Flow executions is in preview release for Amazon Bedrock and is subject to change.
3838
/// </para>
3939
/// </note>
4040
/// </summary>

0 commit comments

Comments
 (0)