-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathvalues.yaml
More file actions
831 lines (767 loc) · 21.8 KB
/
values.yaml
File metadata and controls
831 lines (767 loc) · 21.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
global:
security:
# -- Allow insecure images to use bitnami legacy repository. Can be set to false if secure images are being used (Paid).
allowInsecureImages: true
features:
ollama:
enabled: false
minio:
enabled: false
langfuse:
enabled: true
qdrant:
enabled: true
frontend:
enabled: true
keydb:
enabled: true
mcp:
enabled: true
backend:
mcp:
name: "mcp"
port: "8000"
host: "0.0.0.0"
# Chat simple tool configuration
# The following configuration for the chat_simple tool will render as follows:
# """Send a message to the RAG system and get a simple text response.
# This is the simplest way to interact with the RAG system - just provide a message and get back the answer as plain text.
#
# Parameters
# ----------
# session_id : str
# Unique identifier for the chat session.
# message : str
# The message/question to ask the RAG system.
#
# Returns
# -------
# str
# The answer from the RAG system as plain text.
# """
chatSimpleDescription: "Send a message to the RAG system and get a simple text response.\n\nThis is the simplest way to interact with the RAG system - just provide a message and get back the answer as plain text."
chatSimpleParameterDescriptions:
session_id: "Unique identifier for the chat session."
message: "The message/question to ask the RAG system."
chatSimpleReturns: "The answer from the RAG system as plain text."
chatSimpleNotes: ""
# If you add a Value to chatSimpleNotes e.g. "This tool is best for simple questions that don't require conversation context."
# it will render to:
# Notes
# -----
# This tool is best for simple questions that don't require conversation context.
chatSimpleExamples: ""
# If you add a Value to chatSimpleExamples e.g. "chat_simple(session_id='my-session', message='What is the main topic of the document?')"
# it will render to:
# Examples
# --------
# chat_simple(session_id='my-session', message='What is the main topic of the document?')
# Chat with history tool configuration
chatWithHistoryDescription: "Send a message with conversation history and get structured response.\n\nProvide conversation history as a simple list of dictionaries.\nEach history item should have 'role' (either 'user' or 'assistant') and 'message' keys."
chatWithHistoryParameterDescriptions:
session_id: "Unique identifier for the chat session."
message: "The current message/question to ask."
history: "Previous conversation history. Each item should be:\n {\"role\": \"user\" or \"assistant\", \"message\": \"the message text\"}"
chatWithHistoryReturns: "Response containing:\n - answer: The response text\n - finish_reason: Why the response ended\n - citations: List of source documents used (simplified)"
chatWithHistoryNotes: ""
chatWithHistoryExamples: ""
image:
repository: ghcr.io/stackitcloud/rag-template/mcp-server
pullPolicy: Always
tag: ""
name: backend
replicaCount: 1
image:
repository: ghcr.io/stackitcloud/rag-template/rag-backend
pullPolicy: Always
tag: ""
command:
- "poetry"
- "run"
args:
- "python"
- "-m"
- "uvicorn"
- "main:perfect_rag_app"
- "--host"
- "0.0.0.0"
- "--port"
- "8080"
- "--loop"
- "asyncio"
# Note: Each uvicorn worker is a separate Python process and can significantly
# increase memory usage.
workers: 3
wsMaxQueue: 6
debugArgs:
- "python"
- "-Xfrozen_modules=off"
- "-m"
- "debugpy"
- "--wait-for-client"
- "--listen"
- "0.0.0.0:31415"
- "-m"
- "uvicorn"
- "main:perfect_rag_app"
- "--host"
- "0.0.0.0"
- "--port"
- "8080"
- "--reload"
- "--reload-dir"
- "/app/services/rag-backend"
- "--reload-dir"
- "/app/libs/rag-core-api"
- "--reload-dir"
- "/app/libs/rag-core-lib"
- "--loop"
- "asyncio"
service:
type: ClusterIP
port: 8080
annotations: {}
pythonPathEnv:
PYTHONPATH: src
ingress:
enabled: true
host:
name: rag.localhost
path: /api/chat(/|$)(.*)
pathType: ImplementationSpecific
port: 8080
secrets:
langfuse:
publicKey:
value: "pk-lf"
secretKeyRef:
name: ""
key: "LANGFUSE_PUBLIC_KEY"
secretKey:
value: "sk-lf"
secretKeyRef:
name: ""
key: "LANGFUSE_SECRET_KEY"
stackitEmbedder:
apiKey:
value: ""
secretKeyRef:
name: ""
key: "STACKIT_EMBEDDER_API_KEY"
stackitVllm:
apiKey:
value: "sk-123"
secretKeyRef:
name: ""
key: "STACKIT_VLLM_API_KEY"
ragas:
openaiApikey:
value: ""
secretKeyRef:
name: ""
key: "RAGAS_OPENAI_API_KEY"
envs:
stackitVllm:
STACKIT_VLLM_MODEL: cortecs/Llama-3.3-70B-Instruct-FP8-Dynamic
STACKIT_VLLM_BASE_URL: https://api.openai-compat.model-serving.eu01.onstackit.cloud/v1
database:
VECTOR_DB_COLLECTION_NAME: rag-db
VECTOR_DB_LOCATION: http://rag-qdrant:6333
VECTOR_DB_VALIDATE_COLLECTION_CONFIG: false
retriever:
RETRIEVER_THRESHOLD: 0.3
RETRIEVER_K_DOCUMENTS: 10
# Canonical global cap across all retrievers. Replaces legacy RETRIEVER_TOTAL_K / RETRIEVER_OVERALL_K_DOCUMENTS
RETRIEVER_TOTAL_K_DOCUMENTS: 7
RETRIEVER_SUMMARY_THRESHOLD: 0.3
RETRIEVER_SUMMARY_K_DOCUMENTS: 10
RETRIEVER_TABLE_THRESHOLD: 0.3
RETRIEVER_TABLE_K_DOCUMENTS: 10
RETRIEVER_IMAGE_THRESHOLD: 0.7
RETRIEVER_IMAGE_K_DOCUMENTS: 10
errorMessages:
ERROR_MESSAGES_NO_DOCUMENTS_MESSAGE: "I'm sorry, my responses are limited. You must ask the right questions."
ERROR_MESSAGES_NO_OR_EMPTY_COLLECTION: "No documents were provided for searching."
ERROR_MESSAGES_HARMFUL_QUESTION: "I'm sorry, but harmful requests cannot be processed."
ERROR_MESSAGES_NO_ANSWER_FOUND: "I'm sorry, I couldn't find an answer with the context provided."
ERROR_MESSAGE_EMPTY_MESSAGE: "I'm sorry, but I can't answer an empty question."
langfuse:
LANGFUSE_DATASET_NAME: "rag_test_ds"
LANGFUSE_DATASET_FILENAME: "/app/test_data.json"
LANGFUSE_HOST: "http://rag-langfuse-web:3000" #NOTE: http protocol needs to be defined!
ragClassTypes:
RAG_CLASS_TYPE_LLM_TYPE: "stackit"
ragas:
RAGAS_IS_DEBUG: false
RAGAS_MODEL: "gpt-4o-mini"
RAGAS_USE_OPENAI: true
RAGAS_TIMEOUT: 60
RAGAS_EVALUATION_DATASET_NAME: "eval-data"
RAGAS_MAX_CONCURRENCY: "5"
embedderClassTypes:
EMBEDDER_CLASS_TYPE_EMBEDDER_TYPE: "stackit"
stackitEmbedder:
STACKIT_EMBEDDER_MODEL: "intfloat/e5-mistral-7b-instruct"
STACKIT_EMBEDDER_BASE_URL: https://api.openai-compat.model-serving.eu01.onstackit.cloud/v1
# Retry settings (optional). If omitted, fall back to shared RETRY_DECORATOR_* values.
STACKIT_EMBEDDER_MAX_RETRIES: "5"
STACKIT_EMBEDDER_RETRY_BASE_DELAY: "0.5"
STACKIT_EMBEDDER_RETRY_MAX_DELAY: "600"
STACKIT_EMBEDDER_BACKOFF_FACTOR: "2"
STACKIT_EMBEDDER_ATTEMPT_CAP: "6"
STACKIT_EMBEDDER_JITTER_MIN: "0.05"
STACKIT_EMBEDDER_JITTER_MAX: "0.25"
ollama:
OLLAMA_MODEL: "llama3.2:3b-instruct-fp16"
OLLAMA_BASE_URL: "http://rag-ollama:11434"
OLLAMA_TOP_K: 0
OLLAMA_TOP_P: 0
OLLAMA_TEMPERATURE: 0
ollamaEmbedder:
OLLAMA_EMBEDDER_MODEL: "bge-m3"
OLLAMA_EMBEDDER_BASE_URL: "http://rag-ollama:11434"
fakeEmbedder:
FAKE_EMBEDDER_SIZE: 386
reranker:
RERANKER_K_DOCUMENTS: 5
RERANKER_MIN_RELEVANCE_SCORE: 0.001
RERANKER_ENABLED: true
RERANKER_MODEL: "ms-marco-MultiBERT-L-12"
chatHistory:
CHAT_HISTORY_LIMIT: 4
CHAT_HISTORY_REVERSE: true
frontend:
name: frontend
replicaCount: 1
image:
repository: ghcr.io/stackitcloud/rag-template/frontend
pullPolicy: Always
tag: ""
service:
type: ClusterIP
port: 8080
ingress:
enabled: true
host:
name: rag.localhost
path: /
pathType: ImplementationSpecific
port: 8080
envs:
vite:
VITE_CHAT_AUTH_ENABLED: true
VITE_API_URL: "http://rag.localhost/api"
VITE_CHAT_URL: "http://rag.localhost"
VITE_ADMIN_URL: "http://admin.rag.localhost"
VITE_ADMIN_API_URL: "http://admin.rag.localhost/api"
adminBackend:
replicaCount: 1
name: admin-backend
image:
repository: ghcr.io/stackitcloud/rag-template/admin-backend
pullPolicy: Always
tag: ""
command:
- "poetry"
- "run"
args:
- "python"
- "-m"
- "uvicorn"
- "main:perfect_admin_app"
- "--host"
- "0.0.0.0"
- "--port"
- "8080"
- "--root-path"
- "/api"
debugArgs:
- "python"
- "-Xfrozen_modules=off"
- "-m"
- "debugpy"
- "--wait-for-client"
- "--listen"
- "0.0.0.0:31415"
- "-m"
- "uvicorn"
- "main:perfect_admin_app"
- "--host"
- "0.0.0.0"
- "--port"
- "8080"
- "--reload"
- "--reload-dir"
- "/app/services/admin-backend"
- "--reload-dir"
- "/app/libs/rag-core-lib"
- "--reload-dir"
- "/app/libs/admin-api-lib"
- "--root-path"
- "/api"
service:
type: ClusterIP
port: 8080
pythonPathEnv:
PYTHONPATH: src
ingress:
enabled: true
host:
name: admin.rag.localhost
path: /api(/|$)(.*)
pathType: ImplementationSpecific
port: 8080
secrets:
keyValueStore:
username:
value: ""
secretKeyRef:
name: ""
key: "USECASE_KEYVALUE_USERNAME"
password:
value: ""
secretKeyRef:
name: ""
key: "USECASE_KEYVALUE_PASSWORD"
envs:
summarizer:
SUMMARIZER_MAXIMUM_INPUT_SIZE: "8000"
SUMMARIZER_MAXIMUM_CONCURRENCY: "10"
# Retry settings (optional). If omitted, fall back to shared RETRY_DECORATOR_* values.
SUMMARIZER_MAX_RETRIES: "5"
SUMMARIZER_RETRY_BASE_DELAY: "0.5"
SUMMARIZER_RETRY_MAX_DELAY: "600"
SUMMARIZER_BACKOFF_FACTOR: "2"
SUMMARIZER_ATTEMPT_CAP: "6"
SUMMARIZER_JITTER_MIN: "0.05"
SUMMARIZER_JITTER_MAX: "0.25"
ragapi:
RAG_API_HOST: "http://backend:8080"
chunker:
# Select which chunker implementation to use. Supported values: "semantic", "recursive"
# Defaults to "semantic" which leverages sentence-aware rebalancing.
CHUNKER_CLASS_TYPE_CHUNKER_TYPE: "recursive"
CHUNKER_MAX_SIZE: 1000
CHUNKER_OVERLAP: 100
# The following settings for the Chunker are only used when CHUNKER_CLASS_TYPE_CHUNKER_TYPE is set to "semantic".
CHUNKER_BREAKPOINT_THRESHOLD_TYPE: "percentile"
CHUNKER_BREAKPOINT_THRESHOLD_AMOUNT: 95
CHUNKER_BUFFER_SIZE: 1
CHUNKER_MIN_SIZE: 200
keyValueStore:
USECASE_KEYVALUE_PORT: 6379
USECASE_KEYVALUE_HOST: "rag-keydb"
USECASE_KEYVALUE_USE_SSL: true
USECASE_KEYVALUE_SSL_CERT_REQS: ""
USECASE_KEYVALUE_SSL_CA_CERTS: ""
USECASE_KEYVALUE_SSL_CERTFILE: ""
USECASE_KEYVALUE_SSL_KEYFILE: ""
USECASE_KEYVALUE_SSL_CHECK_HOSTNAME: true
sourceUploader:
# Large sitemap ingestions (per-page summaries) can take > 1 hour.
SOURCE_UPLOADER_TIMEOUT: 3600
extractor:
replicaCount: 1
name: extractor
image:
repository: ghcr.io/stackitcloud/rag-template/document-extractor
pullPolicy: Always
tag: ""
command:
- "poetry"
- "run"
args:
- "python"
- "-m"
- "uvicorn"
- "main:perfect_extractor_app"
- "--host"
- "0.0.0.0"
- "--port"
- "8080"
debugArgs:
- "python"
- "-Xfrozen_modules=off"
- "-m"
- "debugpy"
- "--wait-for-client"
- "--listen"
- "0.0.0.0:31415"
- "-m"
- "uvicorn"
- "main:perfect_extractor_app"
- "--host"
- "0.0.0.0"
- "--port"
- "8080"
- "--reload"
- "--reload-dir"
- "/app/services/document-extractor"
- "--reload-dir"
- "/app/libs/extractor-api-lib"
service:
type: ClusterIP
port: 8080
pythonPathEnv:
PYTHONPATH: src
huggingfaceCacheDir: /tmp/hf-cache
# Directory inside the container to use as writable cache for ModelScope / OCR models
modelscopeCacheDir: /var/modelscope
envs:
sitemap:
# Controls how HTML pages are parsed when loading from an XML sitemap.
# Options: "docusaurus" (default), "astro", "generic"
# Note: https://docs.stackit.cloud is built with Astro/Starlight -> use "astro".
SITEMAP_PARSER: docusaurus
adminFrontend:
name: admin-frontend
replicaCount: 1
image:
repository: ghcr.io/stackitcloud/rag-template/admin-frontend
pullPolicy: Always
tag: ""
service:
type: ClusterIP
port: 8080
exports:
chart_name:
adminFrontendChartName: admin-frontend
ingress:
enabled: true
host:
name: admin.rag.localhost
path: /
pathType: ImplementationSpecific
port: 8080
shared:
# These values are used across all templates
ssl: true
debug:
backend:
enabled: false
imagePullSecret:
# create: false
# name: cr-credentials
# auths:
# username: github-username # replace with your github username
# pat: github-pat # replace with your github personal access token
# email: email-address@domain.de # replace with your email address
# registry: ghcr.io
config:
dns:
- rag.localhost
- admin.rag.localhost
basicAuth:
enabled: true
tls:
enabled: true
host: rag.localhost
secretName: tls-certificate
issuerName: letsencrypt-cluster-issuer
issuerKind: ClusterIssuer
secrets:
basicAuth:
auth:
value: "" # Optional: precomputed htpasswd line (e.g., "user:$apr1$..."); overrides inline user/pass hashing.
secretKeyRef:
name: ""
key: "auth"
user:
value: ""
secretKeyRef:
name: ""
key: "BASIC_AUTH_USER"
password:
value: ""
secretKeyRef:
name: ""
key: "BASIC_AUTH_PASSWORD"
s3:
accessKey:
value: "admin"
secretKeyRef:
name: ""
key: "S3_ACCESS_KEY_ID"
secretKey:
value: "adminpassword"
secretKeyRef:
name: ""
key: "S3_SECRET_ACCESS_KEY"
usecaseExistingSecretName: "" # Optional: existing Secret name (e.g., from ESO). If set, chart will not create usecase secret.
usecase: {}
envs:
s3:
S3_ENDPOINT: http://rag-minio:9000
S3_BUCKET: documents
retryDecorator:
RETRY_DECORATOR_MAX_RETRIES: "5"
RETRY_DECORATOR_RETRY_BASE_DELAY: "0.5"
RETRY_DECORATOR_RETRY_MAX_DELAY: "600"
RETRY_DECORATOR_BACKOFF_FACTOR: "2"
RETRY_DECORATOR_ATTEMPT_CAP: "6"
RETRY_DECORATOR_JITTER_MIN: "0.05"
RETRY_DECORATOR_JITTER_MAX: "0.25"
usecase:
langfuse:
# Core Langfuse Configuration
langfuse:
# Used to hash API keys
salt:
value: "changeme"
secretKeyRef:
name: ""
key: ""
# Authentication settings
features:
telemetryEnabled: true
signUpDisabled: false
# Web deployment configuration
web:
image:
repository: langfuse/langfuse
tag: "3.152.0"
pullPolicy: Always
# Worker deployment configuration
worker:
image:
repository: langfuse/langfuse-worker
tag: "3.152.0"
pullPolicy: Always
port: 3030
# NextAuth configuration
nextauth:
url: http://localhost:3000
secret:
value: "changeme"
secretKeyRef:
name: ""
key: ""
# Additional environment variables (only for init values)
additionalEnv:
- name: LANGFUSE_INIT_ORG_ID
valueFrom:
secretKeyRef:
name: "langfuse-init-secrets"
key: "LANGFUSE_INIT_ORG_ID"
- name: LANGFUSE_INIT_PROJECT_ID
valueFrom:
secretKeyRef:
name: "langfuse-init-secrets"
key: "LANGFUSE_INIT_PROJECT_ID"
- name: LANGFUSE_INIT_PROJECT_PUBLIC_KEY
valueFrom:
secretKeyRef:
name: "langfuse-init-secrets"
key: "LANGFUSE_INIT_PROJECT_PUBLIC_KEY"
- name: LANGFUSE_INIT_PROJECT_SECRET_KEY
valueFrom:
secretKeyRef:
name: "langfuse-init-secrets"
key: "LANGFUSE_INIT_PROJECT_SECRET_KEY"
- name: LANGFUSE_INIT_USER_EMAIL
valueFrom:
secretKeyRef:
name: "langfuse-init-secrets"
key: "LANGFUSE_INIT_USER_EMAIL"
- name: LANGFUSE_INIT_USER_NAME
valueFrom:
secretKeyRef:
name: "langfuse-init-secrets"
key: "LANGFUSE_INIT_USER_NAME"
- name: LANGFUSE_INIT_USER_PASSWORD
valueFrom:
secretKeyRef:
name: "langfuse-init-secrets"
key: "LANGFUSE_INIT_USER_PASSWORD"
# Additional init containers
# NOTE: for production deployment use the host uri of the external PostgreSQL instance here
extraInitContainers:
- name: wait-for-postgres
image: busybox
command:
- sh
- -c
- |
timeout 300 sh -c '
until nc -z rag-postgresql 5432; do
echo "Waiting for PostgreSQL to be ready..."
sleep 2
done
'
# Stop waiting after 5 minutes if PostgreSQL never comes up.
# PostgreSQL Configuration (use external PostgreSQL)
postgresql:
deploy: true
host: "rag-postgresql"
port: 5432
auth:
username: postgres
password: postgres
database: langfuse
existingSecret: "" # NOTE: for production use existing secret to fetch password
secretKeys:
userPasswordKey: password
# Redis Configuration (external KeyDB)
redis:
deploy: false
host: "rag-keydb"
port: 6379
auth:
username: "default"
password: ""
existingSecret: "" # NOTE: for production use existing secret to fetch password
existingSecretPasswordKey: ""
# ClickHouse Configuration (external ClickHouse)
clickhouse:
deploy: true
host: "rag-clickhouse"
httpPort: 8123
nativePort: 9000
auth:
username: "default"
password: "changeme"
existingSecret: "" # NOTE: for production use existing secret to fetch password
existingSecretKey: ""
migration:
url: "clickhouse://rag-clickhouse:9000"
ssl: false
autoMigrate: true
resources:
limits:
cpu: "2"
memory: "8Gi"
requests:
cpu: "2"
memory: "4Gi"
zookeeper:
resources:
limits:
cpu: "2"
memory: "2Gi"
requests:
cpu: "1"
memory: "1Gi"
# S3/MinIO Configuration (external MinIO)
s3:
deploy: false
bucket: "langfuse"
region: "auto"
endpoint: "http://rag-minio:9000"
forcePathStyle: true
accessKeyId:
value: "admin"
secretKeyRef:
name: ""
key: ""
secretAccessKey:
value: "adminpassword"
secretKeyRef:
name: ""
key: ""
eventUpload:
enabled: true
bucket: "langfuse"
region: "auto"
endpoint: "http://rag-minio:9000"
forcePathStyle: true
accessKeyId:
value: "admin"
secretKeyRef:
name: ""
key: ""
secretAccessKey:
value: "adminpassword"
secretKeyRef:
name: ""
key: ""
# Optional: enforce a ClickHouse TTL for Langfuse traces without Enterprise data retention management.
# This runs as a CronJob and applies idempotent ALTER TABLE ... MODIFY TTL commands.
langfuseRetention:
enabled: false
retentionDays: 365
schedule: "15 */6 * * *"
podSecurityContext:
runAsUser: 1001
runAsNonRoot: true
securityContext:
allowPrivilegeEscalation: false
# Optional resources for both retention CronJobs.
# Example:
# resources:
# requests:
# cpu: 100m
# memory: 128Mi
# limits:
# cpu: 500m
# memory: 512Mi
resources: {}
# Optional deterministic deletion in addition to TTL.
# Uses ALTER TABLE ... DELETE WHERE ... and can run nightly.
hardDelete:
enabled: false
schedule: "30 3 * * *"
# ClickHouse mutations_sync setting:
# 0 = async (default), 1 = wait for local completion, 2 = wait for all replicas.
mutationSync: 0
image:
repository: "bitnamilegacy/clickhouse"
tag: "25.7.5-debian-12-r0"
pullPolicy: IfNotPresent
clickhouse:
# Connection/auth are taken from langfuse.clickhouse.*.
# Align this with the database Langfuse actually uses in ClickHouse.
database: "default"
# Set to true only for clustered ClickHouse deployments where clusterName exists.
# Keep false for single-node/non-clustered deployments.
onCluster: false
clusterName: "default"
tables:
# timestampColumn should be a Date/DateTime/DateTime64 column in the target table.
- name: "traces"
timestampColumn: "timestamp"
- name: "observations"
timestampColumn: "event_ts"
- name: "scores"
timestampColumn: "timestamp"
minio:
image:
repository: bitnamilegacy/minio
auth:
## @param auth.rootUser MinIO® root username
##
rootUser: admin
## @param auth.rootPassword Password for MinIO® root user
##
rootPassword: "adminpassword"
## @param defaultBuckets Comma, semi-colon or space separated list of buckets to create at initialization (only in standalone mode)
## e.g:
## defaultBuckets: "my-bucket, my-second-bucket"
##
defaultBuckets: "documents,langfuse"
networkPolicy:
enabled: false
mode: standalone
ollama:
image:
tag: 0.12.3
ollama:
models:
pull:
- llama3.2:3b-instruct-fp16
- bge-m3
runs:
- llama3.2:3b-instruct-fp16
- bge-m3
qdrant:
image:
tag: v1.15.4
keydb:
multiMaster: "no"
activeReplicas: "no"
nodes: 1
# Authentication for the bundled KeyDB chart and the admin backend client.
password: "" # Inline password for development. Leave empty to disable auth or prefer existingSecret for production.
existingSecret: "" # Optional existing secret containing the KeyDB password.
existingSecretPasswordKey: "password"
auth:
username: "default"