Skip to content

Commit

Permalink
Lifting the maximum length on Bedrock KnowledgeBase RetrievalFilter a…
Browse files Browse the repository at this point in the history
…rray
  • Loading branch information
aws-sdk-dotnet-automation committed Aug 29, 2024
1 parent 211705c commit 96f2581
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"endpointPrefix":"bedrock-agent-runtime",
"jsonVersion":"1.1",
"protocol":"rest-json",
"protocols":["rest-json"],
"serviceFullName":"Agents for Amazon Bedrock Runtime",
"serviceId":"Bedrock Agent Runtime",
"signatureVersion":"v4",
"signingName":"bedrock",
"uid":"bedrock-agent-runtime-2023-07-26"
"uid":"bedrock-agent-runtime-2023-07-26",
"auth":["aws.auth#sigv4"]
},
"operations":{
"DeleteAgentMemory":{
Expand Down Expand Up @@ -1722,7 +1724,6 @@
"RetrievalFilterList":{
"type":"list",
"member":{"shape":"RetrievalFilter"},
"max":5,
"min":2
},
"RetrievalResultConfluenceLocation":{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"base": null,
"refs": {
"ByteContentDoc$data": "<p>The byte value of the file to upload, encoded as a Base-64 string.</p>",
"ByteContentFile$data": "<p>The byte value of the file to attach, encoded as Base-64 string. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files. </p>"
"ByteContentFile$data": "<p>The raw bytes of the file to attach. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files. </p>"
}
},
"ByteContentDoc": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"endpointPrefix":"bedrock-agent-runtime",
"jsonVersion":"1.1",
"protocol":"rest-json",
"protocols":["rest-json"],
"serviceFullName":"Agents for Amazon Bedrock Runtime",
"serviceId":"Bedrock Agent Runtime",
"signatureVersion":"v4",
"signingName":"bedrock",
"uid":"bedrock-agent-runtime-2023-07-26"
"uid":"bedrock-agent-runtime-2023-07-26",
"auth":["aws.auth#sigv4"]
},
"operations":{
"DeleteAgentMemory":{
Expand Down Expand Up @@ -436,7 +438,7 @@
"members":{
"data":{
"shape":"ByteContentBlob",
"documentation":"<p>The byte value of the file to attach, encoded as Base-64 string. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files. </p>"
"documentation":"<p>The raw bytes of the file to attach. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files. </p>"
},
"mediaType":{
"shape":"MimeType",
Expand Down Expand Up @@ -2628,7 +2630,6 @@
"RetrievalFilterList":{
"type":"list",
"member":{"shape":"RetrievalFilter"},
"max":5,
"min":2
},
"RetrievalResultConfluenceLocation":{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public partial class ByteContentFile
/// <summary>
/// Gets and sets the property Data.
/// <para>
/// The byte value of the file to attach, encoded as Base-64 string. The maximum size
/// of all files that is attached is 10MB. You can attach a maximum of 5 files.
/// The raw bytes of the file to attach. The maximum size of all files that is attached
/// is 10MB. You can attach a maximum of 5 files.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=10485760)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public partial class RetrievalFilter
/// the filter conditions inside this list.
/// </para>
/// </summary>
[AWSProperty(Min=2, Max=5)]
[AWSProperty(Min=2)]
public List<RetrievalFilter> AndAll
{
get { return this._andAll; }
Expand Down Expand Up @@ -352,7 +352,7 @@ internal bool IsSetNotIn()
/// one of the filter conditions inside this list.
/// </para>
/// </summary>
[AWSProperty(Min=2, Max=5)]
[AWSProperty(Min=2)]
public List<RetrievalFilter> OrAll
{
get { return this._orAll; }
Expand Down

0 comments on commit 96f2581

Please sign in to comment.