Issues pipeline chunk_size (1500) exceeds the TEI embedding limit (1000) — tail of long chunks is unsearchable
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- data-engineering, search
Research direction
Start in docs-agent-mcp/pipelines/issues-pipeline.py at lines 301 and 481, tracing how chunk_size and max_tei_chars flow through ingestion. Verify that the resulting chunk content and TEI input cover the same text, then run the pipeline's available validation or ingestion checks to confirm long issue chunks are fully searchable.
Written by the indexing model from the issue text.
Description
Problem
The GitHub issues ingestion pipeline chunks issue content up to 1500 characters, but truncates every chunk to 1000 characters before sending it to the TEI embeddings service:
docs-agent-mcp/pipelines/issues-pipeline.py#L481—chunk_size: int = 1500docs-agent-mcp/pipelines/issues-pipeline.py#L301—max_tei_chars = 1000, applied asr["content_text"][:max_tei_chars]
So for any chunk longer than 1000 chars, the last ~500 characters are stored in Milvus and shown to users, but were never embedded — that text is invisible to semantic search.
- Dominant language
- Python
- Stars
- 42
- Forks
- 111
- Avg merge
- 6d 23m
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from kubeflow/docs-agent
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
kubeflow/docs-agent#251 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
kubeflow/docs-agent#247 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
kubeflow/docs-agent#225 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
kubeflow/docs-agent#189 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubeflow/docs-agent#178 · 2 comments ·
All issues in kubeflow/docs-agent
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100