Skip to content

Commit 135b47e

Browse files
committed
Update to version v1.4.0
1 parent 479be5f commit 135b47e

File tree

150 files changed

+2241
-1550
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+2241
-1550
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.4.0] - 2024-04-04
9+
10+
### Added
11+
12+
- Support for newest Bedrock models: Anthropic Claude v3 and Mistral family of models ([#79](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/79))
13+
14+
### Changed
15+
16+
- Significantly increased default prompt and chat input character limits. Should now support ~50% of the model's input prompt limit
17+
18+
### Fixed
19+
20+
- UI input validation misaligned with backend limits ([#80](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/80))
21+
- Missing hyperlink to solution landing page in README ([#65](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/pull/65))
22+
23+
### Security
24+
25+
- Updated package versions to resolve vulnerabilities
26+
27+
828
## [1.3.3] - 2024-03-28
929

1030
### Fixed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Generative AI Application Builder on AWS
22

3-
The Generative AI Application Builder (GAAB) on AWS solution provides a web-based management dashboard to deploy customizable Generative AI (Gen AI) use cases. This Deployment dashboard allows customers to deploy, experiment with, and compare different combinations of Large Language Model (LLM) use cases. Once customers have successfully configured and optimized their use case, they can take their deployment into production and integrate it within their applications.
3+
The [Generative AI Application Builder on AWS](https://aws.amazon.com/solutions/implementations/generative-ai-application-builder-on-aws/) solution (GAAB) provides a web-based management dashboard to deploy customizable Generative AI (Gen AI) use cases. This Deployment dashboard allows customers to deploy, experiment with, and compare different combinations of Large Language Model (LLM) use cases. Once customers have successfully configured and optimized their use case, they can take their deployment into production and integrate it within their applications.
44

55
The Generative AI Application Builder is published under an Apache 2.0 license and is targeted for novice to experienced users who want to experiment and productionize different Gen AI use cases. The solution uses [LangChain](https://www.langchain.com/) open-source software (OSS) to configure connections to your choice of Large Language Models (LLMs) for different use cases. The first release of GAAB allows users to deploy chat use cases which allow the ability to query over users' enterprise data in a chatbot-style User Interface (UI), along with an API to support custom end-user implementations.
66

deployment/build-s3-dist.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ set -e
4040
# Check to see if input has been provided:
4141
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ] || [ -z "$4" ]; then
4242
echo "Please provide all required parameters for the build script"
43-
echo "For example: ./build-s3-dist.sh solutions trademarked-solution-name v1.3.3 template-bucket-name"
43+
echo "For example: ./build-s3-dist.sh solutions trademarked-solution-name v1.4.0 template-bucket-name"
4444
exit 1
4545
fi
4646

source/infrastructure/cdk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@aws-cdk/aws-codepipeline-actions:useNewDefaultBranchForCodeCommitSource": true,
6363
"solution_id": "SO0276",
6464
"solution_name": "generative-ai-application-builder-on-aws",
65-
"solution_version": "v1.3.3",
65+
"solution_version": "v1.4.0",
6666
"app_registry_name": "GAAB",
6767
"application_type": "AWS-Solutions",
6868
"application_trademark_name": "Generative AI Application Builder on AWS"

source/infrastructure/lib/use-case-management/management-stack.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -543,23 +543,26 @@ const buildCfnDeployRole = (scope: Construct): iam.Role => {
543543
effect: iam.Effect.ALLOW,
544544
actions: [
545545
'iam:AttachRolePolicy',
546-
'iam:CreateRole',
547546
'iam:DeleteRole',
548547
'iam:DeleteRolePolicy',
549548
'iam:DetachRolePolicy',
550549
'iam:GetRole',
551550
'iam:GetRolePolicy',
552551
'iam:PutRolePolicy',
553-
'iam:TagRole',
554552
'iam:UpdateAssumeRolePolicy',
555-
'iam:PassRole'
553+
'iam:PassRole',
554+
'iam:CreateRole',
555+
'iam:TagRole',
556+
'iam:ListRoleTags'
556557
],
557558
resources: [
558559
`arn:${cdk.Aws.PARTITION}:iam::${cdk.Aws.ACCOUNT_ID}:role/*`,
559560
`arn:${cdk.Aws.PARTITION}:iam::${cdk.Aws.ACCOUNT_ID}:policy/*`
560561
],
561562
conditions: {
562-
...awsTagKeysCondition
563+
'ForAllValues:StringEquals': {
564+
'aws:TagKeys': ['createdVia', 'userId', 'Name']
565+
}
563566
}
564567
}),
565568
new iam.PolicyStatement({

source/infrastructure/lib/utils/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import * as lambda from 'aws-cdk-lib/aws-lambda';
1717
export const THIRD_PARTY_LEGAL_DISCLAIMER =
1818
'Generative AI Application Builder on AWS allows you to build and deploy generative artificial intelligence (GAI) applications on AWS by engaging the GAI model of your choice, including third-party GAI models that you may choose to use that AWS does not own or otherwise have any control over (“Third-Party GAI Models”). Your use of the Third-Party GAI Models is governed by the terms provided to you by the Third-Party GAI Model providers when you acquired your license to use them (for example, their terms of service, license agreement, acceptable use policy, and privacy policy). You are responsible for ensuring that your use of the Third-Party GAI Models comply with the terms governing them, and any laws, rules, regulations, policies, or standards that apply to you. You are also responsible for making your own independent assessment of the Third-Party GAI Models that you use, including their outputs and how Third-Party GAI Model providers use any data that may be transmitted to them based on your deployment configuration. AWS does not make any representations, warranties, or guarantees regarding the Third-Party GAI Models, which are “Third-Party Content” under your agreement with AWS. Generative AI Application Builder on AWS is offered to you as “AWS Content” under your agreement with AWS.';
1919

20-
export const ANONYMOUS_METRICS_SCHEDULE = 'rate(1 hour)'; // runs every 1 hour
20+
export const ANONYMOUS_METRICS_SCHEDULE = 'rate(1 day)';
2121

2222
export const PLACEHOLDER_EMAIL = '[email protected]';
2323
export const INTERNAL_EMAIL_DOMAIN = 'amazon';

source/infrastructure/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/infrastructure/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gen-ai-app-builder-on-aws-infrastructure",
3-
"version": "1.3.3",
3+
"version": "1.4.0",
44
"bin": {
55
"infrastructure": "bin/gen-ai-app-builder.js"
66
},

source/infrastructure/test/mock-lambda-func/node-lambda/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/infrastructure/test/mock-lambda-func/node-lambda/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-lambda",
3-
"version": "1.3.3",
3+
"version": "1.4.0",
44
"description": "A mock lambda implementation for CDK infrastructure unit",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)