From dacdd90ce6696c57930b1cf7cf2a096f351184c6 Mon Sep 17 00:00:00 2001 From: bjwswang Date: Thu, 14 Mar 2024 08:54:10 +0000 Subject: [PATCH] chore: add worker and chunksize config in data-processing charts Signed-off-by: bjwswang --- deploy/charts/arcadia/Chart.yaml | 2 +- deploy/charts/arcadia/templates/config.yaml | 2 ++ deploy/charts/arcadia/values.yaml | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/deploy/charts/arcadia/Chart.yaml b/deploy/charts/arcadia/Chart.yaml index d3c5ac610..34d500d45 100644 --- a/deploy/charts/arcadia/Chart.yaml +++ b/deploy/charts/arcadia/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: arcadia description: A Helm chart(Also a KubeBB Component) for KubeAGI Arcadia type: application -version: 0.3.12 +version: 0.3.13 appVersion: "0.2.0" keywords: diff --git a/deploy/charts/arcadia/templates/config.yaml b/deploy/charts/arcadia/templates/config.yaml index 02752c486..0ec121b5a 100644 --- a/deploy/charts/arcadia/templates/config.yaml +++ b/deploy/charts/arcadia/templates/config.yaml @@ -54,6 +54,8 @@ data: dataprocess: | llm: qa_retry_count: {{ .Values.dataprocess.config.llm.qa_retry_count }} + worker: {{ .Values.dataprocess.config.worker }} + chunkSize: {{ .Values.dataprocess.config.chunkSize }} {{- if .Values.postgresql.enabled }} postgresql: host: {{ .Release.Name }}-postgresql.{{ .Release.Namespace }}.svc.cluster.local diff --git a/deploy/charts/arcadia/values.yaml b/deploy/charts/arcadia/values.yaml index 694459256..ddd3e4bdf 100644 --- a/deploy/charts/arcadia/values.yaml +++ b/deploy/charts/arcadia/values.yaml @@ -134,6 +134,10 @@ dataprocess: config: llm: qa_retry_count: '2' + worker: 1 + chunkSize: 500 + + # @section postgresql is used to configure postgresql service # Posgresql service will be used in two parts: