Skip to content

Commit

Permalink
Update to latest models
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-python-automation committed Mar 7, 2025
1 parent 262d682 commit d4a43fe
Show file tree
Hide file tree
Showing 12 changed files with 377 additions and 19 deletions.
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-bedrockagent-48189.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``bedrock-agent``",
"description": "Introduces support for Neptune Analytics as a vector data store and adds Context Enrichment Configurations, enabling use cases such as GraphRAG."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``bedrock-agent-runtime``",
"description": "Support Multi Agent Collaboration within Inline Agents"
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-cloudfront-62937.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``cloudfront``",
"description": "Documentation updates for Amazon CloudFront."
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-ec2-35909.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``ec2``",
"description": "Add serviceManaged field to DescribeAddresses API response."
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-elbv2-75734.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``elbv2``",
"description": "This release adds support for assigning IP addresses to Application Load Balancers from VPC IP Address Manager pools."
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-neptunegraph-13429.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``neptune-graph``",
"description": "Several small updates to resolve customer requests."
}
137 changes: 137 additions & 0 deletions botocore/data/bedrock-agent-runtime/2023-07-26/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,14 @@
"min":0,
"pattern":"^[0-9a-zA-Z]+$"
},
"AgentCollaboration":{
"type":"string",
"enum":[
"SUPERVISOR",
"SUPERVISOR_ROUTER",
"DISABLED"
]
},
"AgentCollaboratorInputPayload":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -1189,6 +1197,100 @@
},
"documentation":"<p>Contains the JSON-formatted string returned by the API invoked by the code interpreter.</p>"
},
"CollaborationInstruction":{
"type":"string",
"max":4000,
"min":1,
"sensitive":true
},
"Collaborator":{
"type":"structure",
"required":[
"foundationModel",
"instruction"
],
"members":{
"actionGroups":{
"shape":"AgentActionGroups",
"documentation":"<p> List of action groups with each action group defining tasks the inline collaborator agent needs to carry out. </p>"
},
"agentCollaboration":{
"shape":"AgentCollaboration",
"documentation":"<p> Defines how the inline supervisor agent handles information across multiple collaborator agents to coordinate a final response. </p>"
},
"agentName":{
"shape":"Name",
"documentation":"<p> Name of the inline collaborator agent which must be the same name as specified for <code>collaboratorName</code>. </p>"
},
"collaboratorConfigurations":{
"shape":"CollaboratorConfigurations",
"documentation":"<p> Settings of the collaborator agent. </p>"
},
"customerEncryptionKeyArn":{
"shape":"KmsKeyArn",
"documentation":"<p> The Amazon Resource Name (ARN) of the AWS KMS key that encrypts the inline collaborator. </p>"
},
"foundationModel":{
"shape":"ModelIdentifier",
"documentation":"<p> The foundation model used by the inline collaborator agent. </p>"
},
"guardrailConfiguration":{
"shape":"GuardrailConfigurationWithArn",
"documentation":"<p> Details of the guardwrail associated with the inline collaborator. </p>"
},
"idleSessionTTLInSeconds":{
"shape":"SessionTTL",
"documentation":"<p> The number of seconds for which the Amazon Bedrock keeps information about the user's conversation with the inline collaborator agent.</p> <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout. </p>"
},
"instruction":{
"shape":"Instruction",
"documentation":"<p> Instruction that tell the inline collaborator agent what it should do and how it should interact with users. </p>"
},
"knowledgeBases":{
"shape":"KnowledgeBases",
"documentation":"<p> Knowledge base associated with the inline collaborator agent. </p>"
},
"promptOverrideConfiguration":{
"shape":"PromptOverrideConfiguration",
"documentation":"<p> Contains configurations to override prompt templates in different parts of an inline collaborator sequence. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html\">Advanced prompts</a>. </p>"
}
},
"documentation":"<p> List of inline collaborators. </p>"
},
"CollaboratorConfiguration":{
"type":"structure",
"required":[
"collaboratorInstruction",
"collaboratorName"
],
"members":{
"agentAliasArn":{
"shape":"AgentAliasArn",
"documentation":"<p> The Amazon Resource Name (ARN) of the inline collaborator agent. </p>"
},
"collaboratorInstruction":{
"shape":"CollaborationInstruction",
"documentation":"<p> Instructions that tell the inline collaborator agent what it should do and how it should interact with users. </p>"
},
"collaboratorName":{
"shape":"Name",
"documentation":"<p> Name of the inline collaborator agent which must be the same name as specified for <code>agentName</code>. </p>"
},
"relayConversationHistory":{
"shape":"RelayConversationHistory",
"documentation":"<p> A relay conversation history for the inline collaborator agent. </p>"
}
},
"documentation":"<p> Settings of an inline collaborator agent. </p>"
},
"CollaboratorConfigurations":{
"type":"list",
"member":{"shape":"CollaboratorConfiguration"}
},
"Collaborators":{
"type":"list",
"member":{"shape":"Collaborator"}
},
"ConfirmationState":{
"type":"string",
"enum":[
Expand Down Expand Up @@ -3157,6 +3259,10 @@
"InlineSessionState":{
"type":"structure",
"members":{
"conversationHistory":{
"shape":"ConversationHistory",
"documentation":"<p> Contains the conversation history that persist across sessions. </p>"
},
"files":{
"shape":"InputFiles",
"documentation":"<p> Contains information about the files used by code interpreter. </p>"
Expand Down Expand Up @@ -3602,10 +3708,22 @@
"shape":"AgentActionGroups",
"documentation":"<p> A list of action groups with each action group defining the action the inline agent needs to carry out. </p>"
},
"agentCollaboration":{
"shape":"AgentCollaboration",
"documentation":"<p> Defines how the inline collaborator agent handles information across multiple collaborator agents to coordinate a final response. The inline collaborator agent can also be the supervisor. </p>"
},
"bedrockModelConfigurations":{
"shape":"InlineBedrockModelConfigurations",
"documentation":"<p>Model settings for the request.</p>"
},
"collaboratorConfigurations":{
"shape":"CollaboratorConfigurations",
"documentation":"<p> Settings for an inline agent collaborator called with <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeInlineAgent.html\">InvokeInlineAgent</a>. </p>"
},
"collaborators":{
"shape":"Collaborators",
"documentation":"<p> List of collaborator inline agents. </p>"
},
"customerEncryptionKeyArn":{
"shape":"KmsKeyArn",
"documentation":"<p> The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to use to encrypt your inline agent. </p>"
Expand Down Expand Up @@ -4792,6 +4910,10 @@
"shape":"BasePromptTemplate",
"documentation":"<p>Defines the prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html\">Prompt template placeholder variables</a>. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts-configure.html\">Configure the prompt templates</a>.</p>"
},
"foundationModel":{
"shape":"ModelIdentifier",
"documentation":"<p> The foundation model to use. </p>"
},
"inferenceConfiguration":{
"shape":"InferenceConfiguration",
"documentation":"<p>Contains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the <code>promptType</code>. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference parameters for foundation models</a>.</p>"
Expand Down Expand Up @@ -5042,6 +5164,13 @@
"documentation":"<p>Contains information about the reasoning that the model used to return the content in the content block.</p>",
"sensitive":true
},
"RelayConversationHistory":{
"type":"string",
"enum":[
"TO_COLLABORATOR",
"DISABLED"
]
},
"RepromptResponse":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -6320,6 +6449,10 @@
"max":25000000,
"min":0
},
"SyntheticTimestamp_date_time":{
"type":"timestamp",
"timestampFormat":"iso8601"
},
"TagKey":{
"type":"string",
"documentation":"<p>Key of a tag</p>",
Expand Down Expand Up @@ -6568,6 +6701,10 @@
"shape":"Name",
"documentation":"<p>The part's collaborator name.</p>"
},
"eventTime":{
"shape":"SyntheticTimestamp_date_time",
"documentation":"<p> The time of the trace. </p>"
},
"sessionId":{
"shape":"SessionId",
"documentation":"<p>The unique identifier of the session with the agent.</p>"
Expand Down
107 changes: 106 additions & 1 deletion botocore/data/bedrock-agent/2023-06-05/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2465,6 +2465,24 @@
},
"documentation":"<p>Settings for a foundation model used to parse documents for a data source.</p>"
},
"BedrockFoundationModelContextEnrichmentConfiguration":{
"type":"structure",
"required":[
"enrichmentStrategyConfiguration",
"modelArn"
],
"members":{
"enrichmentStrategyConfiguration":{
"shape":"EnrichmentStrategyConfiguration",
"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>"
},
"modelArn":{
"shape":"BedrockModelArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the foundation model used for context enrichment.</p>"
}
},
"documentation":"<p>Context enrichment configuration is used to provide additional context to the RAG application using Amazon Bedrock foundation models.</p>"
},
"BedrockModelArn":{
"type":"string",
"max":2048,
Expand Down Expand Up @@ -2718,6 +2736,25 @@
"S3"
]
},
"ContextEnrichmentConfiguration":{
"type":"structure",
"required":["type"],
"members":{
"bedrockFoundationModelConfiguration":{
"shape":"BedrockFoundationModelContextEnrichmentConfiguration",
"documentation":"<p>The configuration of the Amazon Bedrock foundation model used for context enrichment.</p>"
},
"type":{
"shape":"ContextEnrichmentType",
"documentation":"<p>The method used for context enrichment. It must be Amazon Bedrock foundation models.</p>"
}
},
"documentation":"<p>Context enrichment configuration is used to provide additional context to the RAG application.</p>"
},
"ContextEnrichmentType":{
"type":"string",
"enum":["BEDROCK_FOUNDATION_MODEL"]
},
"ConversationRole":{
"type":"string",
"enum":[
Expand Down Expand Up @@ -4427,6 +4464,21 @@
"max":1,
"min":1
},
"EnrichmentStrategyConfiguration":{
"type":"structure",
"required":["method"],
"members":{
"method":{
"shape":"EnrichmentStrategyMethod",
"documentation":"<p>The method used for the context enrichment strategy.</p>"
}
},
"documentation":"<p>The strategy used for performing context enrichment.</p>"
},
"EnrichmentStrategyMethod":{
"type":"string",
"enum":["CHUNK_ENTITY_EXTRACTION"]
},
"ErrorMessage":{
"type":"string",
"max":2048,
Expand Down Expand Up @@ -5875,6 +5927,14 @@
}
}
},
"GraphArn":{
"type":"string",
"documentation":"<p>ARN for Neptune Analytics graph database</p>",
"max":255,
"min":1,
"pattern":"^arn:aws(|-cn|-us-gov):neptune-graph:[a-zA-Z0-9-]*:[0-9]{12}:graph/g-[a-zA-Z0-9]{10}$",
"sensitive":true
},
"GuardrailConfiguration":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -6560,7 +6620,8 @@
"PINECONE",
"REDIS_ENTERPRISE_CLOUD",
"RDS",
"MONGO_DB_ATLAS"
"MONGO_DB_ATLAS",
"NEPTUNE_ANALYTICS"
]
},
"KnowledgeBaseSummaries":{
Expand Down Expand Up @@ -7632,6 +7693,42 @@
"max":1000,
"min":1
},
"NeptuneAnalyticsConfiguration":{
"type":"structure",
"required":[
"fieldMapping",
"graphArn"
],
"members":{
"fieldMapping":{
"shape":"NeptuneAnalyticsFieldMapping",
"documentation":"<p>Contains the names of the fields to which to map information about the vector store.</p>"
},
"graphArn":{
"shape":"GraphArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the Neptune Analytics vector store.</p>"
}
},
"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>"
},
"NeptuneAnalyticsFieldMapping":{
"type":"structure",
"required":[
"metadataField",
"textField"
],
"members":{
"metadataField":{
"shape":"FieldName",
"documentation":"<p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>"
},
"textField":{
"shape":"FieldName",
"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>"
}
},
"documentation":"<p>Contains the names of the fields to which to map information about the vector store.</p>"
},
"NextToken":{
"type":"string",
"max":2048,
Expand Down Expand Up @@ -9376,6 +9473,10 @@
"shape":"MongoDbAtlasConfiguration",
"documentation":"<p>Contains the storage configuration of the knowledge base in MongoDB Atlas.</p>"
},
"neptuneAnalyticsConfiguration":{
"shape":"NeptuneAnalyticsConfiguration",
"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>"
},
"opensearchServerlessConfiguration":{
"shape":"OpenSearchServerlessConfiguration",
"documentation":"<p>Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.</p>"
Expand Down Expand Up @@ -10686,6 +10787,10 @@
"shape":"ChunkingConfiguration",
"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>"
},
"contextEnrichmentConfiguration":{
"shape":"ContextEnrichmentConfiguration",
"documentation":"<p>The context enrichment configuration used for ingestion of the data into the vector store.</p>"
},
"customTransformationConfiguration":{
"shape":"CustomTransformationConfiguration",
"documentation":"<p>A custom document transformer for parsed data source documents.</p>"
Expand Down
Loading

0 comments on commit d4a43fe

Please sign in to comment.