Skip to content

Commit 12bdb48

Browse files
author
AWS
committed
Agents for Amazon Bedrock Runtime Update: This release adds support to override search strategy performed by the Retrieve and RetrieveAndGenerate APIs for Amazon Bedrock Agents
1 parent 8dcf3e8 commit 12bdb48

File tree

2 files changed

+29
-7
lines changed

2 files changed

+29
-7
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": "This release adds support to override search strategy performed by the Retrieve and RetrieveAndGenerate APIs for Amazon Bedrock Agents"
6+
}

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

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -465,25 +465,30 @@
465465
],
466466
"members":{
467467
"knowledgeBaseId":{"shape":"KnowledgeBaseId"},
468-
"modelArn":{"shape":"BedrockModelArn"}
468+
"modelArn":{"shape":"BedrockModelArn"},
469+
"retrievalConfiguration":{"shape":"KnowledgeBaseRetrievalConfiguration"}
469470
},
470471
"documentation":"<p>Configurations for retrieval and generation for knowledge base.</p>"
471472
},
472473
"KnowledgeBaseVectorSearchConfiguration":{
473474
"type":"structure",
474-
"required":["numberOfResults"],
475475
"members":{
476476
"numberOfResults":{
477477
"shape":"KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger",
478-
"documentation":"<p>Top-K results to retrieve from knowledge base.</p>"
478+
"documentation":"<p>Top-K results to retrieve from knowledge base.</p>",
479+
"box":true
480+
},
481+
"overrideSearchType":{
482+
"shape":"SearchType",
483+
"documentation":"<p>Override the type of query to be performed on data store</p>"
479484
}
480485
},
481486
"documentation":"<p>Knowledge base vector search configuration</p>"
482487
},
483488
"KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger":{
484489
"type":"integer",
485490
"box":true,
486-
"max":10,
491+
"max":25,
487492
"min":1
488493
},
489494
"LambdaArn":{
@@ -748,7 +753,8 @@
748753
"documentation":"<p>Content of a retrieval result in text</p>"
749754
}
750755
},
751-
"documentation":"<p>Content of a retrieval result.</p>"
756+
"documentation":"<p>Content of a retrieval result.</p>",
757+
"sensitive":true
752758
},
753759
"RetrievalResultLocation":{
754760
"type":"structure",
@@ -757,7 +763,8 @@
757763
"type":{"shape":"RetrievalResultLocationType"},
758764
"s3Location":{"shape":"RetrievalResultS3Location"}
759765
},
760-
"documentation":"<p>The source location of a retrieval result.</p>"
766+
"documentation":"<p>The source location of a retrieval result.</p>",
767+
"sensitive":true
761768
},
762769
"RetrievalResultLocationType":{
763770
"type":"string",
@@ -888,6 +895,14 @@
888895
"member":{"shape":"RetrievedReference"},
889896
"documentation":"<p>list of retrieved references</p>"
890897
},
898+
"SearchType":{
899+
"type":"string",
900+
"documentation":"<p>Query type to be performed on data store.</p>",
901+
"enum":[
902+
"HYBRID",
903+
"SEMANTIC"
904+
]
905+
},
891906
"ServiceQuotaExceededException":{
892907
"type":"structure",
893908
"members":{
@@ -985,7 +1000,8 @@
9851000
},
9861001
"span":{"shape":"Span"}
9871002
},
988-
"documentation":"<p>Text response part</p>"
1003+
"documentation":"<p>Text response part</p>",
1004+
"sensitive":true
9891005
},
9901006
"ThrottlingException":{
9911007
"type":"structure",

0 commit comments

Comments
 (0)