diff --git a/helm/templates/embedding_model/deployment.yaml b/helm/templates/embedding_model/deployment.yaml index 66015c0..ef59fff 100644 --- a/helm/templates/embedding_model/deployment.yaml +++ b/helm/templates/embedding_model/deployment.yaml @@ -58,6 +58,8 @@ spec: value: {{ .Values.embeddingModel.env.EMBEDDING_MODEL_TYPE | quote }} - name: EMBEDDING_MODEL_VECTOR_SIZE value: {{ .Values.embeddingModel.env.EMBEDDING_MODEL_VECTOR_SIZE | quote }} + - name: OPENAI_API_KEY + value: {{ .Values.embeddingModel.env.OPENAI_API_KEY | quote }} volumes: - name: downloaded-models persistentVolumeClaim: diff --git a/helm/values.yaml b/helm/values.yaml index 7b54271..8ea06f7 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -130,6 +130,7 @@ embeddingModel: EMBEDDING_MODEL_NAME: "sentence-transformers/gtr-t5-large" EMBEDDING_MODEL_TYPE: 1 EMBEDDING_MODEL_VECTOR_SIZE: 768 + OPENAI_API_KEY: test env: # APP_ENVIRONMENT: