Skip to content

Commit

Permalink
feat(bedrock): add application and system defined inference profiles (#…
Browse files Browse the repository at this point in the history
…800)

* feat(bedrock): add application and system defined inference profiles

---------

Co-authored-by: Rafael Mosca <[email protected]>
  • Loading branch information
krokoko and aws-rafams authored Nov 20, 2024
1 parent 51c3bf1 commit 48daf18
Show file tree
Hide file tree
Showing 50 changed files with 3,646 additions and 188 deletions.
9 changes: 9 additions & 0 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .npmignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

69 changes: 69 additions & 0 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
const GITHUB_USER = 'awslabs';
const PUBLICATION_NAMESPACE = 'cdklabs';
const PROJECT_NAME = 'generative-ai-cdk-constructs';
const CDK_VERSION: string = '2.162.1';
const CDK_VERSION: string = '2.166.0';

function camelCaseIt(input: string): string {
// Hypens and dashes to spaces and then CamelCase...
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# CDK Generative AI Constructs V0.1.283 (2024-11-20)

Based on CDK library version 2.166.0

# CDK Generative AI Constructs V0.1.273 (2024-10-15)

Based on CDK library version 2.162.1
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Default output format [None]: json
```

- [Node](https://nodejs.org/en) >= v20.9.0
- [AWS CDK](https://github.com/aws/aws-cdk/releases/tag/v2.162.1) >= 2.162.1
- [AWS CDK](https://github.com/aws/aws-cdk/releases/tag/v2.166.0) >= 2.166.0
- [Python](https://www.python.org/downloads/) >=3.9
- [Projen](https://github.com/projen/projen) >= 0.78.8
- [Yarn](https://classic.yarnpkg.com/lang/en/docs/cli/install/) >= 1.22.19
Expand Down
2 changes: 1 addition & 1 deletion apidocs/interfaces/DockerLambdaCustomProps.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ stable
> `readonly` `optional` **recursiveLoop**: `RecursiveLoop`
Sets the Recursive Loop Protection for Lambda Function.
It lets Lambda detect and terminate unintended recusrive loops.
It lets Lambda detect and terminate unintended recursive loops.

#### Default

Expand Down
10 changes: 10 additions & 0 deletions apidocs/namespaces/bedrock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
- [ContentFilterType](enumerations/ContentFilterType.md)
- [ContextualGroundingFilterType](enumerations/ContextualGroundingFilterType.md)
- [CrawlingScope](enumerations/CrawlingScope.md)
- [CrossRegionInferenceProfileRegion](enumerations/CrossRegionInferenceProfileRegion.md)
- [DataDeletionPolicy](enumerations/DataDeletionPolicy.md)
- [DataSourceType](enumerations/DataSourceType.md)
- [GuardrailAction](enumerations/GuardrailAction.md)
- [InferenceProfileType](enumerations/InferenceProfileType.md)
- [ManagedWordFilterType](enumerations/ManagedWordFilterType.md)
- [ParserMode](enumerations/ParserMode.md)
- [PromptCreationMode](enumerations/PromptCreationMode.md)
Expand All @@ -41,15 +43,18 @@
- [AgentActionGroup](classes/AgentActionGroup.md)
- [AgentAlias](classes/AgentAlias.md)
- [ApiSchema](classes/ApiSchema.md)
- [ApplicationInferenceProfile](classes/ApplicationInferenceProfile.md)
- [BedrockFoundationModel](classes/BedrockFoundationModel.md)
- [ChunkingStrategy](classes/ChunkingStrategy.md)
- [ConfluenceDataSource](classes/ConfluenceDataSource.md)
- [CrossRegionInferenceProfile](classes/CrossRegionInferenceProfile.md)
- [CustomTransformation](classes/CustomTransformation.md)
- [DataSource](classes/DataSource.md)
- [DataSourceBase](classes/DataSourceBase.md)
- [DataSourceNew](classes/DataSourceNew.md)
- [Guardrail](classes/Guardrail.md)
- [GuardrailBase](classes/GuardrailBase.md)
- [InferenceProfileBase](classes/InferenceProfileBase.md)
- [InlineApiSchema](classes/InlineApiSchema.md)
- [KnowledgeBase](classes/KnowledgeBase.md)
- [ParsingStategy](classes/ParsingStategy.md)
Expand All @@ -72,6 +77,8 @@
- [AgentAliasProps](interfaces/AgentAliasProps.md)
- [AgentProps](interfaces/AgentProps.md)
- [ApiSchemaConfig](interfaces/ApiSchemaConfig.md)
- [ApplicationInferenceProfileAttributes](interfaces/ApplicationInferenceProfileAttributes.md)
- [ApplicationInferenceProfileProps](interfaces/ApplicationInferenceProfileProps.md)
- [BedrockFoundationModelProps](interfaces/BedrockFoundationModelProps.md)
- [CommonPromptVariantProps](interfaces/CommonPromptVariantProps.md)
- [ConfluenceCrawlingFilters](interfaces/ConfluenceCrawlingFilters.md)
Expand All @@ -80,6 +87,7 @@
- [ContentFilter](interfaces/ContentFilter.md)
- [ContextualGroundingFilter](interfaces/ContextualGroundingFilter.md)
- [CrawlingFilters](interfaces/CrawlingFilters.md)
- [CrossRegionInferenceProfileProps](interfaces/CrossRegionInferenceProfileProps.md)
- [CustomTopicProps](interfaces/CustomTopicProps.md)
- [DataSourceAssociationProps](interfaces/DataSourceAssociationProps.md)
- [FoundationModelParsingStategyProps](interfaces/FoundationModelParsingStategyProps.md)
Expand All @@ -90,6 +98,8 @@
- [IAgentAlias](interfaces/IAgentAlias.md)
- [IDataSource](interfaces/IDataSource.md)
- [IGuardrail](interfaces/IGuardrail.md)
- [IInferenceProfile](interfaces/IInferenceProfile.md)
- [IInvokable](interfaces/IInvokable.md)
- [IKnowledgeBase](interfaces/IKnowledgeBase.md)
- [InferenceConfiguration](interfaces/InferenceConfiguration.md)
- [IPrompt](interfaces/IPrompt.md)
Expand Down
8 changes: 8 additions & 0 deletions apidocs/namespaces/bedrock/classes/Agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ The name for the agent alias.

***

### foundationModel

> `readonly` **foundationModel**: [`IInvokable`](../interfaces/IInvokable.md)
The model used by the agent.

***

### knowledgeBases

> **knowledgeBases**: `AgentKnowledgeBaseProperty`[] = `[]`
Expand Down
Loading

0 comments on commit 48daf18

Please sign in to comment.