From 3463a57c97c11ae9631f3d125f2df69eb801e162 Mon Sep 17 00:00:00 2001 From: Maysun J Faisal Date: Thu, 26 Jun 2025 15:42:35 -0400 Subject: [PATCH] Add RHDH RAG to RCS for LS Signed-off-by: Maysun J Faisal --- developer-hub/backstage.yaml | 8 -------- developer-hub/rcsconfig.yaml | 4 ++++ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/developer-hub/backstage.yaml b/developer-hub/backstage.yaml index e615159..761ec3d 100644 --- a/developer-hub/backstage.yaml +++ b/developer-hub/backstage.yaml @@ -35,8 +35,6 @@ spec: - name: RHDH_CONFIG_FILE value: /app-root/config/app-config-rhdh.yaml envFrom: - - secretRef: - name: team-cluster-key - secretRef: name: secrets-rhdh image: 'quay.io/redhat-ai-dev/road-core-service:latest' @@ -49,9 +47,6 @@ spec: - mountPath: /app-root/config/rcsconfig.yaml name: rcsconfig subPath: rcsconfig.yaml - - mountPath: /app-root/config/team-cluster-key/team_cluster_key.txt - name: openai - subPath: team_cluster_key.txt - mountPath: /app-root/config/app-config-rhdh.yaml name: app-config-rhdh subPath: app-config-rhdh.yaml @@ -59,6 +54,3 @@ spec: - configMap: name: rcsconfig name: rcsconfig - - name: openai - secret: - secretName: team-cluster-key \ No newline at end of file diff --git a/developer-hub/rcsconfig.yaml b/developer-hub/rcsconfig.yaml index 903ba6a..c3f722e 100644 --- a/developer-hub/rcsconfig.yaml +++ b/developer-hub/rcsconfig.yaml @@ -12,6 +12,10 @@ data: models: - name: dummymodel ols_config: + reference_content: + product_docs_index_path: "./vector_db/rhdh_product_docs/1.6" + product_docs_index_id: rhdh-product-docs-1_6 + embeddings_model_path: "./embeddings_model" conversation_cache: type: memory memory: