-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new seedfarmer module for Question and Answering Gen AI constru…
…ct (#81) * seedformer module for qaRagUsingAppSync * Added deployspec and integrated llm-rag modules in deployment yaml * Added IAC for Question and Answering module * removed unwanted comments from the code * added READ ME and other minor corrections to paths * Added change description to CHANGELOG.md * Updated repository README.md with qna-rag module details * Corrected type in repository readme * updated urlib version * Added tests and upgdated read me * removed print statement and added open search security group as input parameter * updated example to include open search security group id * Fixed unit test failure * Moved qna-rag manifest to examples * Updated Q&A Rag ingestion module to include ingestion modules as well * deleted storage yaml from examples * updated readme and added mypy validation fixes * Updated read me to include ingestion construct and add existing S3 bucket as optional input to RAG module * Added Optional type for input asset bucket * removed the unnecessary comment * Addressed review comments - Updated IDF open search module version, Added Port as configurable parameter --------- Co-authored-by: kukushking <[email protected]>
- Loading branch information
1 parent
565b6a4
commit cb9844f
Showing
21 changed files
with
791 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: mlops-qna-rag | ||
toolchainRegion: us-east-1 | ||
forceDependencyRedeploy: true | ||
groups: | ||
- name: networking | ||
path: manifests/fmops-qna-rag/networking-modules.yaml | ||
- name: storage | ||
path: manifests/fmops-qna-rag/storage-modules.yaml | ||
- name: qna-rag | ||
path: manifests/fmops-qna-rag/qna-rag-modules.yaml | ||
|
||
targetAccountMappings: | ||
- alias: primary | ||
accountId: | ||
valueFrom: | ||
envVariable: PRIMARY_ACCOUNT | ||
default: true | ||
regionMappings: | ||
- region: us-east-1 | ||
default: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
name: networking | ||
path: git::https://github.com/awslabs/idf-modules.git//modules/network/basic-cdk?ref=release/1.3.0&depth=1 | ||
targetAccount: primary | ||
parameters: | ||
- name: internet-accessible | ||
value: True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: qna-rag | ||
path: modules/fmops/qna-rag | ||
parameters: | ||
- name: cognito-pool-id | ||
#Replace below value with valid congnito pool id | ||
value: us-east-1_XXXXX | ||
- name: os-domain-endpoint | ||
valueFrom: | ||
moduleMetadata: | ||
group: storage | ||
name: opensearch | ||
key: OpenSearchDomainEndpoint | ||
- name: os-security-group-id | ||
valueFrom: | ||
moduleMetadata: | ||
group: storage | ||
name: opensearch | ||
key: OpenSearchSecurityGroupId | ||
- name: vpc-id | ||
valueFrom: | ||
moduleMetadata: | ||
group: networking | ||
name: networking | ||
key: VpcId |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: opensearch | ||
path: git::https://github.com/awslabs/idf-modules.git//modules/storage/opensearch?ref=release/1.7.0&depth=1 | ||
targetAccount: primary | ||
targetRegion: us-east-1 | ||
parameters: | ||
- name: encryption-type | ||
value: SSE | ||
- name: retention-type | ||
value: RETAIN | ||
- name: vpc-id | ||
valueFrom: | ||
moduleMetadata: | ||
group: networking | ||
name: networking | ||
key: VpcId | ||
- name: private-subnet-ids | ||
valueFrom: | ||
moduleMetadata: | ||
group: networking | ||
name: networking | ||
key: PrivateSubnetIds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: qna-rag | ||
path: modules/fmops/qna-rag | ||
parameters: | ||
- name: cognito-pool-id | ||
#Replace below value with valid congnito pool id | ||
value: us-east-1_XXXXX | ||
- name: os-domain-endpoint | ||
valueFrom: | ||
moduleMetadata: | ||
group: storage | ||
name: opensearch | ||
key: OpenSearchDomainEndpoint | ||
- name: os-security-group-id | ||
valueFrom: | ||
moduleMetadata: | ||
group: storage | ||
name: opensearch | ||
key: OpenSearchSecurityGroupId | ||
- name: vpc-id | ||
valueFrom: | ||
moduleMetadata: | ||
group: networking | ||
name: networking | ||
key: VpcId |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.