Skip to content

Commit

Permalink
feat(client-bedrock-agent): Amazon Bedrock Knowledge Bases now suppor…
Browse files Browse the repository at this point in the history
…ts using application inference profiles to increase throughput and improve resilience.
  • Loading branch information
awstools committed Nov 1, 2024
1 parent 3bbb1c5 commit 2601df4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion clients/client-bedrock-agent/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6644,7 +6644,7 @@ export interface EmbeddingModelConfiguration {
*/
export interface VectorKnowledgeBaseConfiguration {
/**
* <p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>
* <p>The Amazon Resource Name (ARN) of the model or inference profile used to create vector embeddings for the knowledge base.</p>
* @public
*/
embeddingModelArn: string | undefined;
Expand Down
6 changes: 3 additions & 3 deletions codegen/sdk-codegen/aws-models/bedrock-agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -1999,7 +1999,7 @@
"min": 20,
"max": 2048
},
"smithy.api#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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$"
"smithy.api#pattern": "^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$"
}
},
"com.amazonaws.bedrockagent#BedrockEmbeddingModelConfiguration": {
Expand Down Expand Up @@ -2044,7 +2044,7 @@
"min": 1,
"max": 2048
},
"smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::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})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)$"
"smithy.api#pattern": "^(arn:aws(-[^:]{1,12})?:(bedrock):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$"
}
},
"com.amazonaws.bedrockagent#BucketOwnerAccountId": {
Expand Down Expand Up @@ -13499,7 +13499,7 @@
"embeddingModelArn": {
"target": "com.amazonaws.bedrockagent#BedrockEmbeddingModelArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>",
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the model or inference profile used to create vector embeddings for the knowledge base.</p>",
"smithy.api#required": {}
}
},
Expand Down

0 comments on commit 2601df4

Please sign in to comment.