Skip to content

Commit 5b7b29c

Browse files
author
AWS
committed
Agents for Amazon Bedrock Update: Add support for specifying embeddingDataType, either FLOAT32 or BINARY
1 parent 7755c45 commit 5b7b29c

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-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": "Add support for specifying embeddingDataType, either FLOAT32 or BINARY"
6+
}

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2043,6 +2043,10 @@
20432043
"dimensions":{
20442044
"shape":"Dimensions",
20452045
"documentation":"<p>The dimensions details for the vector configuration used on the Bedrock embeddings model.</p>"
2046+
},
2047+
"embeddingDataType":{
2048+
"shape":"EmbeddingDataType",
2049+
"documentation":"<p>The data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html\">Supported embeddings models</a> for information on the available models and their vector data types.</p>"
20462050
}
20472051
},
20482052
"documentation":"<p>The vector configuration details for the Bedrock embeddings model.</p>"
@@ -3677,6 +3681,14 @@
36773681
},
36783682
"documentation":"<p>Details about duplicate connections found between two nodes in the flow.</p>"
36793683
},
3684+
"EmbeddingDataType":{
3685+
"type":"string",
3686+
"documentation":"<p>Bedrock models embedding data type. Can be either float32 or binary</p>",
3687+
"enum":[
3688+
"FLOAT32",
3689+
"BINARY"
3690+
]
3691+
},
36803692
"EmbeddingModelConfiguration":{
36813693
"type":"structure",
36823694
"members":{

0 commit comments

Comments
 (0)