RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Add service_conf and llm_factories options to Helm chart (#8607)
Scott Davidson9dd3dfaab014
diff --git a/helm/templates/ragflow.yaml b/helm/templates/ragflow.yamlindex b1f8d1ea15..57a5d224b9 100644--- a/helm/templates/ragflow.yaml+++ b/helm/templates/ragflow.yaml@@ -43,6 +43,16 @@ spec:- mountPath: /etc/nginx/nginx.confsubPath: nginx.confname: nginx-config-volume+ {{- with .Values.ragflow.service_conf }}+ - mountPath: /ragflow/conf/local.service_conf.yaml+ subPath: local.service_conf.yaml+ name: service-conf-volume+ {{- end }}+ {{- with .Values.ragflow.llm_factories }}+ - mountPath: /ragflow/conf/llm_factories.json+ subPath: llm_factories.json+ name: service-conf-volume+ {{- end }}envFrom:- secretRef:name: {{ include "ragflow.fullname" . }}-env-config@@ -54,6 +64,9 @@ spec:- name: nginx-config-volumeconfigMap:name: nginx-config+ - name: service-conf-volume+ configMap:+ name: ragflow-service-config---apiVersion: v1kind: Servicediff --git a/helm/templates/ragflow_config.yaml b/helm/templates/ragflow_config.yamlindex 6967ecca57..533bd3df9a 100644--- a/helm/templates/ragflow_config.yaml+++ b/helm/templates/ragflow_config.yaml@@ -1,6 +1,20 @@---apiVersion: v1kind: ConfigMap+metadata:+ name: ragflow-service-config+data:+ {{- with .Values.ragflow.service_conf }}+ local.service_conf.yaml: |+ {{- . | toYaml | nindent 4 }}+ {{- end }}+ {{- with .Values.ragflow.llm_factories }}+ llm_factories.json: |+ {{- . | toPrettyJson | nindent 4 }}+ {{- end }}+---+apiVersion: v1+kind: ConfigMapmetadata:name: nginx-configdata:diff --git a/helm/values.yaml b/helm/values.yamlindex 396466deb9..4756586f04 100644--- a/helm/values.yaml+++ b/helm/values.yaml@@ -69,6 +69,30 @@ env:EMBEDDING_BATCH_SIZE: 16ragflow:++ # Optional service configuration overrides+ # to be written to local.service_conf.yaml+ # inside the RAGFlow container+ # https://ragflow.io/docs/dev/configurations#service-configuration+ service_conf:++ # Optional yaml formatted override for the+ # llm_factories.json file inside the RAGFlow+ # container.+ llm_factories:+ # factory_llm_infos:+ # - name: OpenAI-API-Compatible+ # logo: ""+ # tags: "LLM,TEXT EMBEDDING,SPEECH2TEXT,MODERATION"+ # status: "1"+ # llm:+ # - llm_name: my-custom-llm+ # tags: "LLM,CHAT,"+ # max_tokens: 100000+ # model_type: chat+ # is_tools: false++ # Kubernetes configurationdeployment:strategy:resources: