Files
skill-seekers-reference/helm/skill-seekers/templates/configmap.yaml
yusyus 8b3f31409e fix: Enforce min_chunk_size in RAG chunker
- Filter out chunks smaller than min_chunk_size (default 100 tokens)
- Exception: Keep all chunks if entire document is smaller than target size
- All 15 tests passing (100% pass rate)

Fixes edge case where very small chunks (e.g., 'Short.' = 6 chars) were
being created despite min_chunk_size=100 setting.

Test: pytest tests/test_rag_chunker.py -v
2026-02-07 20:59:03 +03:00

13 lines
317 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "skill-seekers.fullname" . }}
labels:
{{- include "skill-seekers.labels" . | nindent 4 }}
data:
{{- range $key, $value := .Values.env }}
{{ $key }}: {{ $value | quote }}
{{- end }}
SKILL_SEEKERS_HOME: "/data"
SKILL_SEEKERS_OUTPUT: "/output"