Skip to content

Commit 898a34b

Browse files
author
AWS
committed
Agents for Amazon Bedrock Update: This release adds support for using MongoDB Atlas as a vector store when creating a knowledge base.
1 parent 8235156 commit 898a34b

File tree

2 files changed

+112
-6
lines changed

2 files changed

+112
-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": "This release adds support for using MongoDB Atlas as a vector store when creating a knowledge base."
6+
}

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

Lines changed: 106 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,7 @@
17621762
},
17631763
"dataDeletionPolicy":{
17641764
"shape":"DataDeletionPolicy",
1765-
"documentation":"<p>The deletion policy for the requested data source</p>"
1765+
"documentation":"<p>The data deletion policy assigned to the data source.</p>"
17661766
},
17671767
"dataSourceConfiguration":{
17681768
"shape":"DataSourceConfiguration",
@@ -1888,7 +1888,7 @@
18881888
},
18891889
"dataDeletionPolicy":{
18901890
"shape":"DataDeletionPolicy",
1891-
"documentation":"<p>The deletion policy for the data source.</p>"
1891+
"documentation":"<p>The data deletion policy for a data source.</p>"
18921892
},
18931893
"dataSourceConfiguration":{
18941894
"shape":"DataSourceConfiguration",
@@ -1904,7 +1904,7 @@
19041904
},
19051905
"failureReasons":{
19061906
"shape":"FailureReasons",
1907-
"documentation":"<p>The details of the failure reasons related to the data source.</p>"
1907+
"documentation":"<p>The detailed reasons on the failure to delete a data source.</p>"
19081908
},
19091909
"knowledgeBaseId":{
19101910
"shape":"Id",
@@ -3004,7 +3004,8 @@
30043004
"OPENSEARCH_SERVERLESS",
30053005
"PINECONE",
30063006
"REDIS_ENTERPRISE_CLOUD",
3007-
"RDS"
3007+
"RDS",
3008+
"MONGO_DB_ATLAS"
30083009
]
30093010
},
30103011
"KnowledgeBaseSummaries":{
@@ -3385,6 +3386,101 @@
33853386
"min":1,
33863387
"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-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)$"
33873388
},
3389+
"MongoDbAtlasCollectionName":{
3390+
"type":"string",
3391+
"max":63,
3392+
"min":0,
3393+
"pattern":"^.*$"
3394+
},
3395+
"MongoDbAtlasConfiguration":{
3396+
"type":"structure",
3397+
"required":[
3398+
"collectionName",
3399+
"credentialsSecretArn",
3400+
"databaseName",
3401+
"endpoint",
3402+
"fieldMapping",
3403+
"vectorIndexName"
3404+
],
3405+
"members":{
3406+
"collectionName":{
3407+
"shape":"MongoDbAtlasCollectionName",
3408+
"documentation":"<p>The collection name of the knowledge base in MongoDB Atlas.</p>"
3409+
},
3410+
"credentialsSecretArn":{
3411+
"shape":"SecretArn",
3412+
"documentation":"<p>The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster.</p>"
3413+
},
3414+
"databaseName":{
3415+
"shape":"MongoDbAtlasDatabaseName",
3416+
"documentation":"<p>The database name in your MongoDB Atlas cluster for your knowledge base.</p>"
3417+
},
3418+
"endpoint":{
3419+
"shape":"MongoDbAtlasEndpoint",
3420+
"documentation":"<p>The endpoint URL of your MongoDB Atlas cluster for your knowledge base.</p>"
3421+
},
3422+
"endpointServiceName":{
3423+
"shape":"MongoDbAtlasEndpointServiceName",
3424+
"documentation":"<p>The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.</p>"
3425+
},
3426+
"fieldMapping":{
3427+
"shape":"MongoDbAtlasFieldMapping",
3428+
"documentation":"<p>Contains the names of the fields to which to map information about the vector store.</p>"
3429+
},
3430+
"vectorIndexName":{
3431+
"shape":"MongoDbAtlasIndexName",
3432+
"documentation":"<p>The name of the MongoDB Atlas vector search index.</p>"
3433+
}
3434+
},
3435+
"documentation":"<p>Contains details about the storage configuration of the knowledge base in MongoDB Atlas. </p>"
3436+
},
3437+
"MongoDbAtlasDatabaseName":{
3438+
"type":"string",
3439+
"max":63,
3440+
"min":0,
3441+
"pattern":"^.*$"
3442+
},
3443+
"MongoDbAtlasEndpoint":{
3444+
"type":"string",
3445+
"max":2048,
3446+
"min":0,
3447+
"pattern":"^.*$"
3448+
},
3449+
"MongoDbAtlasEndpointServiceName":{
3450+
"type":"string",
3451+
"max":255,
3452+
"min":1,
3453+
"pattern":"^(?:arn:aws(?:-us-gov|-cn|-iso|-iso-[a-z])*:.+:.*:\\d+:.+/.+$|[a-zA-Z0-9*]+[a-zA-Z0-9._-]*)$"
3454+
},
3455+
"MongoDbAtlasFieldMapping":{
3456+
"type":"structure",
3457+
"required":[
3458+
"metadataField",
3459+
"textField",
3460+
"vectorField"
3461+
],
3462+
"members":{
3463+
"metadataField":{
3464+
"shape":"FieldName",
3465+
"documentation":"<p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>"
3466+
},
3467+
"textField":{
3468+
"shape":"FieldName",
3469+
"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>"
3470+
},
3471+
"vectorField":{
3472+
"shape":"FieldName",
3473+
"documentation":"<p>The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.</p>"
3474+
}
3475+
},
3476+
"documentation":"<p>Contains the names of the fields to which to map information about the vector store.</p>"
3477+
},
3478+
"MongoDbAtlasIndexName":{
3479+
"type":"string",
3480+
"max":2048,
3481+
"min":0,
3482+
"pattern":"^.*$"
3483+
},
33883484
"Name":{
33893485
"type":"string",
33903486
"pattern":"^([0-9a-zA-Z][_-]?){1,100}$"
@@ -3844,7 +3940,7 @@
38443940
},
38453941
"bucketOwnerAccountId":{
38463942
"shape":"BucketOwnerAccountId",
3847-
"documentation":"<p>The account ID for the owner of the S3 bucket.</p>"
3943+
"documentation":"<p>The bucket account owner ID for the S3 bucket.</p>"
38483944
},
38493945
"inclusionPrefixes":{
38503946
"shape":"S3Prefixes",
@@ -3973,6 +4069,10 @@
39734069
"type":"structure",
39744070
"required":["type"],
39754071
"members":{
4072+
"mongoDbAtlasConfiguration":{
4073+
"shape":"MongoDbAtlasConfiguration",
4074+
"documentation":"<p>Contains the storage configuration of the knowledge base in MongoDB Atlas.</p>"
4075+
},
39764076
"opensearchServerlessConfiguration":{
39774077
"shape":"OpenSearchServerlessConfiguration",
39784078
"documentation":"<p>Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.</p>"
@@ -4343,7 +4443,7 @@
43434443
"members":{
43444444
"dataDeletionPolicy":{
43454445
"shape":"DataDeletionPolicy",
4346-
"documentation":"<p>The data deletion policy of the updated data source.</p>"
4446+
"documentation":"<p>The data deletion policy assigned to the data source.</p>"
43474447
},
43484448
"dataSourceConfiguration":{
43494449
"shape":"DataSourceConfiguration",

0 commit comments

Comments
 (0)