Skip to content

Commit

Permalink
Helm: Add audioqna UI support
Browse files Browse the repository at this point in the history
Signed-off-by: Lianhao Lu <[email protected]>
  • Loading branch information
lianhao committed Dec 6, 2024
1 parent 7219249 commit b4ced51
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 14 deletions.
9 changes: 4 additions & 5 deletions helm-charts/audioqna/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ dependencies:
- name: llm-uservice
version: 0-latest
repository: "file://../common/llm-uservice"
# Uncomment the following to enable UI when the UI image is ready on DockerHub
# - name: ui
# version: 0-latest
# repository: "file://../common/ui"
# alias: audioqna-ui
- name: ui
version: 0-latest
repository: "file://../common/ui"
alias: audioqna-ui
version: 0-latest
appVersion: "1.1"
2 changes: 0 additions & 2 deletions helm-charts/audioqna/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.ui_image_is_ready_on_dockerhub }}
# Remove the above switch if the audioqna-ui image is ready on dockerhub
apiVersion: v1
data:
Expand Down Expand Up @@ -106,4 +105,3 @@ spec:
{{- include "audioqna.selectorLabels" . | nindent 4 }}
app: {{ include "audioqna.fullname" . }}-nginx
type: {{ .Values.nginx.service.type }}
{{- end }}
13 changes: 6 additions & 7 deletions helm-charts/audioqna/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,12 @@ affinity: {}
tgi:
LLM_MODEL_ID: Intel/neural-chat-7b-v3-3

# Uncomment the following to enable UI when the UI image is ready on DockerHub
# audioqna-ui:
# image:
# repository: opea/audioqna-ui
# tag: "latest"
# BACKEND_SERVICE_ENDPOINT: "/v1/audioqna"
# containerPort: 5173
audioqna-ui:
image:
repository: opea/audioqna-ui
tag: "latest"
BACKEND_SERVICE_ENDPOINT: "/v1/audioqna"
containerPort: 5173

global:
http_proxy: ""
Expand Down
10 changes: 10 additions & 0 deletions helm-charts/common/ui/variant_audioqna_svelte-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

image:
repository: opea/audioqna-ui
tag: "latest"

containerPort: 5173

BACKEND_SERVICE_ENDPOINT: "/v1/audioqna"

0 comments on commit b4ced51

Please sign in to comment.