Skip to content

Commit 245a812

Browse files
author
AWS
committed
Agents for Amazon Bedrock Update: Introduces support for Neptune Analytics as a vector data store and adds Context Enrichment Configurations, enabling use cases such as GraphRAG.
1 parent 7b946c1 commit 245a812

File tree

2 files changed

+112
-1
lines changed

2 files changed

+112
-1
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": "Introduces support for Neptune Analytics as a vector data store and adds Context Enrichment Configurations, enabling use cases such as GraphRAG."
6+
}

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

Lines changed: 106 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2465,6 +2465,24 @@
24652465
},
24662466
"documentation":"<p>Settings for a foundation model used to parse documents for a data source.</p>"
24672467
},
2468+
"BedrockFoundationModelContextEnrichmentConfiguration":{
2469+
"type":"structure",
2470+
"required":[
2471+
"enrichmentStrategyConfiguration",
2472+
"modelArn"
2473+
],
2474+
"members":{
2475+
"enrichmentStrategyConfiguration":{
2476+
"shape":"EnrichmentStrategyConfiguration",
2477+
"documentation":"<p>The enrichment stategy used to provide additional context. For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction.</p>"
2478+
},
2479+
"modelArn":{
2480+
"shape":"BedrockModelArn",
2481+
"documentation":"<p>The Amazon Resource Name (ARN) of the foundation model used for context enrichment.</p>"
2482+
}
2483+
},
2484+
"documentation":"<p>Context enrichment configuration is used to provide additional context to the RAG application using Amazon Bedrock foundation models.</p>"
2485+
},
24682486
"BedrockModelArn":{
24692487
"type":"string",
24702488
"max":2048,
@@ -2718,6 +2736,25 @@
27182736
"S3"
27192737
]
27202738
},
2739+
"ContextEnrichmentConfiguration":{
2740+
"type":"structure",
2741+
"required":["type"],
2742+
"members":{
2743+
"bedrockFoundationModelConfiguration":{
2744+
"shape":"BedrockFoundationModelContextEnrichmentConfiguration",
2745+
"documentation":"<p>The configuration of the Amazon Bedrock foundation model used for context enrichment.</p>"
2746+
},
2747+
"type":{
2748+
"shape":"ContextEnrichmentType",
2749+
"documentation":"<p>The method used for context enrichment. It must be Amazon Bedrock foundation models.</p>"
2750+
}
2751+
},
2752+
"documentation":"<p>Context enrichment configuration is used to provide additional context to the RAG application.</p>"
2753+
},
2754+
"ContextEnrichmentType":{
2755+
"type":"string",
2756+
"enum":["BEDROCK_FOUNDATION_MODEL"]
2757+
},
27212758
"ConversationRole":{
27222759
"type":"string",
27232760
"enum":[
@@ -4427,6 +4464,21 @@
44274464
"max":1,
44284465
"min":1
44294466
},
4467+
"EnrichmentStrategyConfiguration":{
4468+
"type":"structure",
4469+
"required":["method"],
4470+
"members":{
4471+
"method":{
4472+
"shape":"EnrichmentStrategyMethod",
4473+
"documentation":"<p>The method used for the context enrichment strategy.</p>"
4474+
}
4475+
},
4476+
"documentation":"<p>The strategy used for performing context enrichment.</p>"
4477+
},
4478+
"EnrichmentStrategyMethod":{
4479+
"type":"string",
4480+
"enum":["CHUNK_ENTITY_EXTRACTION"]
4481+
},
44304482
"ErrorMessage":{
44314483
"type":"string",
44324484
"max":2048,
@@ -5875,6 +5927,14 @@
58755927
}
58765928
}
58775929
},
5930+
"GraphArn":{
5931+
"type":"string",
5932+
"documentation":"<p>ARN for Neptune Analytics graph database</p>",
5933+
"max":255,
5934+
"min":1,
5935+
"pattern":"^arn:aws(|-cn|-us-gov):neptune-graph:[a-zA-Z0-9-]*:[0-9]{12}:graph/g-[a-zA-Z0-9]{10}$",
5936+
"sensitive":true
5937+
},
58785938
"GuardrailConfiguration":{
58795939
"type":"structure",
58805940
"members":{
@@ -6560,7 +6620,8 @@
65606620
"PINECONE",
65616621
"REDIS_ENTERPRISE_CLOUD",
65626622
"RDS",
6563-
"MONGO_DB_ATLAS"
6623+
"MONGO_DB_ATLAS",
6624+
"NEPTUNE_ANALYTICS"
65646625
]
65656626
},
65666627
"KnowledgeBaseSummaries":{
@@ -7632,6 +7693,42 @@
76327693
"max":1000,
76337694
"min":1
76347695
},
7696+
"NeptuneAnalyticsConfiguration":{
7697+
"type":"structure",
7698+
"required":[
7699+
"fieldMapping",
7700+
"graphArn"
7701+
],
7702+
"members":{
7703+
"fieldMapping":{
7704+
"shape":"NeptuneAnalyticsFieldMapping",
7705+
"documentation":"<p>Contains the names of the fields to which to map information about the vector store.</p>"
7706+
},
7707+
"graphArn":{
7708+
"shape":"GraphArn",
7709+
"documentation":"<p>The Amazon Resource Name (ARN) of the Neptune Analytics vector store.</p>"
7710+
}
7711+
},
7712+
"documentation":"<p>Contains details about the storage configuration of the knowledge base in Amazon Neptune Analytics. 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>"
7713+
},
7714+
"NeptuneAnalyticsFieldMapping":{
7715+
"type":"structure",
7716+
"required":[
7717+
"metadataField",
7718+
"textField"
7719+
],
7720+
"members":{
7721+
"metadataField":{
7722+
"shape":"FieldName",
7723+
"documentation":"<p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>"
7724+
},
7725+
"textField":{
7726+
"shape":"FieldName",
7727+
"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>"
7728+
}
7729+
},
7730+
"documentation":"<p>Contains the names of the fields to which to map information about the vector store.</p>"
7731+
},
76357732
"NextToken":{
76367733
"type":"string",
76377734
"max":2048,
@@ -9376,6 +9473,10 @@
93769473
"shape":"MongoDbAtlasConfiguration",
93779474
"documentation":"<p>Contains the storage configuration of the knowledge base in MongoDB Atlas.</p>"
93789475
},
9476+
"neptuneAnalyticsConfiguration":{
9477+
"shape":"NeptuneAnalyticsConfiguration",
9478+
"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>"
9479+
},
93799480
"opensearchServerlessConfiguration":{
93809481
"shape":"OpenSearchServerlessConfiguration",
93819482
"documentation":"<p>Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.</p>"
@@ -10686,6 +10787,10 @@
1068610787
"shape":"ChunkingConfiguration",
1068710788
"documentation":"<p>Details about how to chunk the documents in the data source. A <i>chunk</i> refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.</p>"
1068810789
},
10790+
"contextEnrichmentConfiguration":{
10791+
"shape":"ContextEnrichmentConfiguration",
10792+
"documentation":"<p>The context enrichment configuration used for ingestion of the data into the vector store.</p>"
10793+
},
1068910794
"customTransformationConfiguration":{
1069010795
"shape":"CustomTransformationConfiguration",
1069110796
"documentation":"<p>A custom document transformer for parsed data source documents.</p>"

0 commit comments

Comments
 (0)