Skip to content

Commit 7865b08

Browse files
author
AWS
committed
Agents for Amazon Bedrock Update: Removing support for topK property in PromptModelInferenceConfiguration object, Making PromptTemplateConfiguration property as required, Limiting the maximum PromptVariant to 1
1 parent c63b8f5 commit 7865b08

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
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",
4+
"contributor": "",
5+
"description": "Removing support for topK property in PromptModelInferenceConfiguration object, Making PromptTemplateConfiguration property as required, Limiting the maximum PromptVariant to 1"
6+
}

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@
636636
{"shape":"InternalServerException"},
637637
{"shape":"ResourceNotFoundException"}
638638
],
639-
"documentation":"<p>Gets information about a data ingestion job. Data sources are ingested into your knowledge base so that Large Lanaguage Models (LLMs) can use your data.</p>"
639+
"documentation":"<p>Gets information about a data ingestion job. Data sources are ingested into your knowledge base so that Large Language Models (LLMs) can use your data.</p>"
640640
},
641641
"GetKnowledgeBase":{
642642
"name":"GetKnowledgeBase",
@@ -6469,10 +6469,6 @@
64696469
"shape":"Temperature",
64706470
"documentation":"<p>Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.</p>"
64716471
},
6472-
"topK":{
6473-
"shape":"TopK",
6474-
"documentation":"<p>The number of most-likely candidates that the model considers for the next token during generation.</p>"
6475-
},
64766472
"topP":{
64776473
"shape":"TopP",
64786474
"documentation":"<p>The percentage of most-likely candidates that the model considers for the next token.</p>"
@@ -6583,6 +6579,7 @@
65836579
"type":"structure",
65846580
"required":[
65856581
"name",
6582+
"templateConfiguration",
65866583
"templateType"
65876584
],
65886585
"members":{
@@ -6617,7 +6614,7 @@
66176614
"PromptVariantList":{
66186615
"type":"list",
66196616
"member":{"shape":"PromptVariant"},
6620-
"max":3,
6617+
"max":1,
66216618
"min":0,
66226619
"sensitive":true
66236620
},

0 commit comments

Comments
 (0)