Skip to content

Commit a98890c

Browse files
author
AWS
committed
Agents for Amazon Bedrock Update: Adding support for Amazon OpenSearch Managed clusters as a vector database in Knowledge Bases for Amazon Bedrock
1 parent bf858df commit a98890c

File tree

2 files changed

+84
-3
lines changed

2 files changed

+84
-3
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": "Adding support for Amazon OpenSearch Managed clusters as a vector database in Knowledge Bases for Amazon Bedrock"
6+
}

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

Lines changed: 78 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2500,7 +2500,7 @@
25002500
},
25012501
"modelArn":{
25022502
"shape":"BedrockModelArn",
2503-
"documentation":"<p>The Amazon Resource Name (ARN) of the foundation model used for context enrichment.</p>"
2503+
"documentation":"<p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>"
25042504
}
25052505
},
25062506
"documentation":"<p>Context enrichment configuration is used to provide additional context to the RAG application using Amazon Bedrock foundation models.</p>"
@@ -6647,7 +6647,8 @@
66476647
"REDIS_ENTERPRISE_CLOUD",
66486648
"RDS",
66496649
"MONGO_DB_ATLAS",
6650-
"NEPTUNE_ANALYTICS"
6650+
"NEPTUNE_ANALYTICS",
6651+
"OPENSEARCH_MANAGED_CLUSTER"
66516652
]
66526653
},
66536654
"KnowledgeBaseSummaries":{
@@ -7778,6 +7779,76 @@
77787779
"type":"string",
77797780
"pattern":"^[0-9]{1,5}$"
77807781
},
7782+
"OpenSearchManagedClusterConfiguration":{
7783+
"type":"structure",
7784+
"required":[
7785+
"domainArn",
7786+
"domainEndpoint",
7787+
"fieldMapping",
7788+
"vectorIndexName"
7789+
],
7790+
"members":{
7791+
"domainArn":{
7792+
"shape":"OpenSearchManagedClusterDomainArn",
7793+
"documentation":"<p>The Amazon Resource Name (ARN) of the OpenSearch domain.</p>"
7794+
},
7795+
"domainEndpoint":{
7796+
"shape":"OpenSearchManagedClusterDomainEndpoint",
7797+
"documentation":"<p>The endpoint URL the OpenSearch domain.</p>"
7798+
},
7799+
"fieldMapping":{
7800+
"shape":"OpenSearchManagedClusterFieldMapping",
7801+
"documentation":"<p>Contains the names of the fields to which to map information about the vector store.</p>"
7802+
},
7803+
"vectorIndexName":{
7804+
"shape":"OpenSearchManagedClusterIndexName",
7805+
"documentation":"<p>The name of the vector store.</p>"
7806+
}
7807+
},
7808+
"documentation":"<p>Contains details about the Managed Cluster configuration of the knowledge base in Amazon OpenSearch Service. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html\">Create a vector index in OpenSearch Managed Cluster</a>.</p>"
7809+
},
7810+
"OpenSearchManagedClusterDomainArn":{
7811+
"type":"string",
7812+
"max":2048,
7813+
"min":0,
7814+
"pattern":"^arn:aws(|-cn|-us-gov|-iso):es:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:domain/[a-z][a-z0-9-]{3,28}$"
7815+
},
7816+
"OpenSearchManagedClusterDomainEndpoint":{
7817+
"type":"string",
7818+
"max":2048,
7819+
"min":0,
7820+
"pattern":"^https://.*$"
7821+
},
7822+
"OpenSearchManagedClusterFieldMapping":{
7823+
"type":"structure",
7824+
"required":[
7825+
"metadataField",
7826+
"textField",
7827+
"vectorField"
7828+
],
7829+
"members":{
7830+
"metadataField":{
7831+
"shape":"FieldName",
7832+
"documentation":"<p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>"
7833+
},
7834+
"textField":{
7835+
"shape":"FieldName",
7836+
"documentation":"<p>The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.</p>"
7837+
},
7838+
"vectorField":{
7839+
"shape":"FieldName",
7840+
"documentation":"<p>The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.</p>"
7841+
}
7842+
},
7843+
"documentation":"<p>Contains the names of the fields to which to map information about the vector store.</p>"
7844+
},
7845+
"OpenSearchManagedClusterIndexName":{
7846+
"type":"string",
7847+
"max":2048,
7848+
"min":1,
7849+
"pattern":"^(?![\\-_+.])[a-z0-9][a-z0-9\\-_\\.]*$",
7850+
"sensitive":true
7851+
},
77817852
"OpenSearchServerlessCollectionArn":{
77827853
"type":"string",
77837854
"max":2048,
@@ -9503,6 +9574,10 @@
95039574
"shape":"NeptuneAnalyticsConfiguration",
95049575
"documentation":"<p>Contains details about the Neptune Analytics configuration of the knowledge base in Amazon Neptune. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html\">Create a vector index in Amazon Neptune Analytics.</a>.</p>"
95059576
},
9577+
"opensearchManagedClusterConfiguration":{
9578+
"shape":"OpenSearchManagedClusterConfiguration",
9579+
"documentation":"<p>Contains details about the storage configuration of the knowledge base in OpenSearch Managed Cluster. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html\">Create a vector index in Amazon OpenSearch Service</a>.</p>"
9580+
},
95069581
"opensearchServerlessConfiguration":{
95079582
"shape":"OpenSearchServerlessConfiguration",
95089583
"documentation":"<p>Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.</p>"
@@ -10118,7 +10193,7 @@
1011810193
},
1011910194
"parentActionGroupSignatureParams":{
1012010195
"shape":"ActionGroupSignatureParams",
10121-
"documentation":"<p>The configuration settings for a computer use action.</p> <important> <p> Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 and Claude 3.5 Sonnet v2 only. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html\">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>. </p> </important>"
10196+
"documentation":"<p>The configuration settings for a computer use action.</p> <important> <p> Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html\">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>. </p> </important>"
1012210197
}
1012310198
}
1012410199
},

0 commit comments

Comments
 (0)