Skip to content

Commit 1542b9b

Browse files
authored
0.0.9 (#44)
* feat: bump submodule * feat: bump versions * feat: update stack reference architecture * docs: remove documentation around manual steps * fix: fix issue causing clashes in code engine names * feat: bump to rag app da v1.5.0 * chore: bump to Secret Manager to version v1.12.0 Security Compliance Center to version v1.6.3 * feat: allow to pass crn to existing secret manager instance * feat: add input wrt platform metrics and logging * chore: bump DA versions * chore: bump DA versions * fix: obs to use resource group * fix: missing secret manager region * fix: reverse sm config
1 parent e3fc71d commit 1542b9b

File tree

6 files changed

+483
-442
lines changed

6 files changed

+483
-442
lines changed

.gitmodules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[submodule "common-dev-assets"]
22
path = common-dev-assets
33
url = https://github.com/terraform-ibm-modules/common-dev-assets
4+
branch = main

.secrets.baseline

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "go.sum|^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2024-04-24T10:49:30Z",
6+
"generated_at": "2024-04-29T15:33:54Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -82,23 +82,23 @@
8282
"hashed_secret": "bbc4e9d52252171a3a306be55086c65b126189e8",
8383
"is_secret": false,
8484
"is_verified": false,
85-
"line_number": 30,
85+
"line_number": 32,
8686
"type": "Secret Keyword",
8787
"verified_result": null
8888
},
8989
{
9090
"hashed_secret": "d9e9019d9eb455a3d72a3bc252c26927bb148a10",
9191
"is_secret": false,
9292
"is_verified": false,
93-
"line_number": 45,
93+
"line_number": 47,
9494
"type": "Secret Keyword",
9595
"verified_result": null
9696
},
9797
{
9898
"hashed_secret": "b13d7622394e85c3b2694f426bc096b093764462",
9999
"is_secret": false,
100100
"is_verified": false,
101-
"line_number": 49,
101+
"line_number": 51,
102102
"type": "Secret Keyword",
103103
"verified_result": null
104104
}

README.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Retrieval Augmented Generation (RAG) stack
22

3-
To run the full stack. These steps will be updated as development progresses on the stack and underlaying DAs.
3+
To run the full stack, follow these steps. These steps will be updated as development progresses on the stack and underlying DAs.
44

55
## 1. Deploy the stack in a new project from catalog
66

@@ -10,7 +10,9 @@ Click the "Add to project" button, and select create in new project.
1010

1111
## 2. Prereqs in target account
1212

13-
- Create an API key in the target account. Keep note of it. Give it admin privilege for now. Exact permissions will be narrowed down in future version.
13+
Before deploying the stack, ensure you have:
14+
- Created an API key in the target account with sufficient permissions. Note the API key, as it will be used later.
15+
- For now, grant it admin privileges. The exact permissions required will be refined in future versions.
1416

1517

1618
## 3. Set the input configuration for the stack
@@ -29,7 +31,7 @@ Click the "Add to project" button, and select create in new project.
2931
"prefix": "<prefix for resources name - ensure unique>",
3032
"ibmcloud_api_key": "<API Key of the target account with sufficient permissions>",
3133
"resource_group_name": "<target resource group - name of a new resource group that the stack will creates>",
32-
"region": "<region where resources are deployed>",
34+
"region": "<region where all resources are deployed>",
3335
"sample_app_git_url": "https://github.com/IBM/gen-ai-rag-watsonx-sample-application",
3436
"watsonx_admin_api_key": "<optional - admin key to use for watson if different from ibmcloud_api_key>",
3537
"signing_key": "signing key used to sign build artifacts"
@@ -73,15 +75,4 @@ Example 2 - simulate updating stack inputs and validating some configurations in
7375
DRY_RUN=true ./deploy-many.sh my-test-project RAG 'RAG-1|RAG-4|RAG-5'
7476
```
7577

76-
Tips: If deployment fail in one of the DA, you may need to remove the configuration name of the deployment that already passes from the pattern before re-running the script.
77-
78-
Tips: to accelerate iteration you may deploy only a subset of the configurations: the bare minimum are key management, security manager, watson saas, alm and rag configuration da. Base account, observability and SCC are not on the critical path to get the app running.
79-
80-
81-
# 5. Deploy the sample app
82-
83-
A few manual steps are required in the alpha version to trigger the deployment of the app:
84-
1. In the secret manager instance, in the default group, create an arbitrary secret named "ibmcloud-api-key". Put the used api key as secret.
85-
2. Follow the steps at https://cloud.ibm.com/docs/devsecops?topic=devsecops-devsecops-image-signing to generate a gpg key
86-
3. In the secret manager instance, in the default group, create an arbitrary secret named "signing_key". Put the signing key. See https://cloud.ibm.com/docs/devsecops?topic=devsecops-devsecops-image-signing#cd-devsecops-gpg-store-secretsmgr
87-
4. Navigate to the "Generative AI Sample App-CI-Toolchain" CD instance, click "ci-pipeline" and execute the "Manual Trigger".
78+
Tips: If deployment fail in one of the DA, you may re-run the script as is. It will skip existing installed configuration.

ibm_catalog.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"watson",
1515
"ai"
1616
],
17-
"short_description": "A sample application that illustrates how to implement the RAG Pattern with watsonx.ai and IBM Cloud services.",
17+
"short_description": "An automated solution that deploys a sample application illustrating how to implement the RAG Pattern with watsonx.ai and IBM Cloud services.",
1818
"offering_icon_url": "https://globalcatalog.cloud.ibm.com/api/v1/1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc/artifacts/solution.svg",
1919
"flavors": [
2020
{
@@ -105,7 +105,7 @@
105105
"features": [
106106
{
107107
"title": "Deploy a customer care generative AI app to Code Engine using Continous Delivery",
108-
"description": "TBD"
108+
"description": ""
109109
}
110110
],
111111
"diagrams": [
@@ -120,10 +120,10 @@
120120
},
121121
{
122122
"diagram": {
123-
"url": "https://raw.githubusercontent.com/terraform-ibm-modules/terraform-ibm-rag-sample-da/main/reference-architecture/stack.svg",
123+
"url": "https://raw.githubusercontent.com/terraform-ibm-modules/stack-retrieval-augmented-generation/main/reference-architecture/rag-stack.svg",
124124
"caption": "Solution components",
125125
"type": "image/svg+xml",
126-
"thumbnail_url": "https://raw.githubusercontent.com/terraform-ibm-modules/terraform-ibm-rag-sample-da/main/reference-architecture/stack.svg"
126+
"thumbnail_url": "https://raw.githubusercontent.com/terraform-ibm-modules/stack-retrieval-augmented-generation/main/reference-architecture/rag-stack.svg"
127127
},
128128
"description": "Solution components"
129129
}
@@ -174,6 +174,13 @@
174174
"type": "password",
175175
"hidden": false,
176176
"default_value": "replace"
177+
},
178+
{
179+
"name": "enable_platform_logs_metrics",
180+
"required": false,
181+
"type": "boolean",
182+
"hidden": false,
183+
"default_value": true
177184
}
178185
],
179186
"install_type": "fullstack"

reference-architecture/rag-stack.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)