File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,29 @@ metadata:
55 name : {{ include "ui.configMapName" . }}
66data :
77 RETAIL_UI_THEME : {{ .Values.app.theme }}
8+ {{- if .Values.app.chat.enabled }}
89 RETAIL_UI_CHAT_ENABLED : " {{ .Values.app.chat.enabled }}"
910 RETAIL_UI_CHAT_PROVIDER : {{ .Values.app.chat.provider }}
1011 RETAIL_UI_CHAT_MODEL : {{ .Values.app.chat.model }}
12+ {{- if .Values.app.chat.temperature }}
13+ RETAIL_UI_CHAT_TEMPERATURE : {{ .Values.app.chat.temperature }}
14+ {{- end }}
15+ {{- if .Values.app.chat.maxTokens }}
16+ RETAIL_UI_CHAT_MAX_TOKENS : {{ .Values.app.chat.maxTokens }}
17+ {{- end }}
18+ {{- if .Values.app.chat.prompt }}
19+ RETAIL_UI_CHAT_PROMPT : {{ .Values.app.chat.prompt }}
20+ {{- end }}
21+ {{- if (eq "openai" .Values.app.chat.provider) }}
22+ RETAIL_UI_CHAT_OPENAI_BASE_URL : {{ .Values.app.chat.openai.baseUrl }}
23+ {{- if .Values.app.chat.openai.apiKey }}
24+ RETAIL_UI_CHAT_OPENAI_API_KEY : {{ .Values.app.chat.openai.apiKey }}
25+ {{- end }}
26+ {{- end }}
27+ {{- if (eq "bedrock" .Values.app.chat.provider) }}
28+ RETAIL_UI_CHAT_BEDROCK_REGION : {{ .Values.app.chat.bedrock.region }}
29+ {{- end }}
30+ {{- end }}
1131 {{- if .Values.app.endpoints.catalog }}
1232 RETAIL_UI_ENDPOINTS_CATALOG : {{ .Values.app.endpoints.catalog }}
1333 {{- end -}}
Original file line number Diff line number Diff line change 8787 enabled : false
8888 provider : " "
8989 model : " "
90+ # temperature: 0.7
91+ # maxTokens: 300
92+ # prompt: |
93+ # This will override the default system prompt
94+ bedrock :
95+ region : " "
96+ openai :
97+ baseUrl : " "
98+ # apiKey: ""
9099
91100# # Ingress for load balancer
92101ingress :
You can’t perform that action at this time.
0 commit comments