- 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
21 lines
673 B
YAML
21 lines
673 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "skill-seekers.fullname" . }}
|
|
labels:
|
|
{{- include "skill-seekers.labels" . | nindent 4 }}
|
|
type: Opaque
|
|
data:
|
|
{{- if .Values.secrets.anthropicApiKey }}
|
|
ANTHROPIC_API_KEY: {{ .Values.secrets.anthropicApiKey | b64enc | quote }}
|
|
{{- end }}
|
|
{{- if .Values.secrets.googleApiKey }}
|
|
GOOGLE_API_KEY: {{ .Values.secrets.googleApiKey | b64enc | quote }}
|
|
{{- end }}
|
|
{{- if .Values.secrets.openaiApiKey }}
|
|
OPENAI_API_KEY: {{ .Values.secrets.openaiApiKey | b64enc | quote }}
|
|
{{- end }}
|
|
{{- if .Values.secrets.githubToken }}
|
|
GITHUB_TOKEN: {{ .Values.secrets.githubToken | b64enc | quote }}
|
|
{{- end }}
|