Skip to content

Commit 6367d32

Browse files
author
AWS
committed
Agents for Amazon Bedrock Update: With this release, Knowledge bases for Bedrock adds support for Titan Text Embedding v2.
1 parent d1a1a89 commit 6367d32

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-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",
4+
"contributor": "",
5+
"description": "With this release, Knowledge bases for Bedrock adds support for Titan Text Embedding v2."
6+
}

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,6 +1546,16 @@
15461546
"min":20,
15471547
"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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$"
15481548
},
1549+
"BedrockEmbeddingModelConfiguration":{
1550+
"type":"structure",
1551+
"members":{
1552+
"dimensions":{
1553+
"shape":"Dimensions",
1554+
"documentation":"<p>The dimensions details for the vector configuration used on the Bedrock embeddings model.</p>"
1555+
}
1556+
},
1557+
"documentation":"<p>The vector configuration details for the Bedrock embeddings model.</p>"
1558+
},
15491559
"Boolean":{
15501560
"type":"boolean",
15511561
"box":true
@@ -2275,6 +2285,12 @@
22752285
"max":200,
22762286
"min":1
22772287
},
2288+
"Dimensions":{
2289+
"type":"integer",
2290+
"box":true,
2291+
"max":4096,
2292+
"min":0
2293+
},
22782294
"DisassociateAgentKnowledgeBaseRequest":{
22792295
"type":"structure",
22802296
"required":[
@@ -2314,6 +2330,16 @@
23142330
"min":5,
23152331
"pattern":"^DRAFT$"
23162332
},
2333+
"EmbeddingModelConfiguration":{
2334+
"type":"structure",
2335+
"members":{
2336+
"bedrockEmbeddingModelConfiguration":{
2337+
"shape":"BedrockEmbeddingModelConfiguration",
2338+
"documentation":"<p>The vector configuration details on the Bedrock embeddings model.</p>"
2339+
}
2340+
},
2341+
"documentation":"<p>The configuration details for the embeddings model.</p>"
2342+
},
23172343
"FailureReason":{
23182344
"type":"string",
23192345
"max":2048,
@@ -4653,6 +4679,10 @@
46534679
"embeddingModelArn":{
46544680
"shape":"BedrockEmbeddingModelArn",
46554681
"documentation":"<p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>"
4682+
},
4683+
"embeddingModelConfiguration":{
4684+
"shape":"EmbeddingModelConfiguration",
4685+
"documentation":"<p>The embeddings model configuration details for the vector model used in Knowledge Base.</p>"
46564686
}
46574687
},
46584688
"documentation":"<p>Contains details about the model used to create vector embeddings for the knowledge base.</p>"

0 commit comments

Comments
 (0)