Semantic Chunking Chunk Size Bug

Open
#11 3 comments 0 reactions 1 assignee View on GitHub

@seankim658 is already working on this.

Since Jul 8, 2024.

Assessment

This issue has not been assessed yet.

Description

bug

Llamaindex's SemanticSplitterNodeParser can sometimes produce chunks that are too large for the embedding model. Unfortunately there is no max length option for the semantic chunking to avoid this issue.

Will have to eventually subclass the SemanticSplitterNodeParser and create a two level safety net that will naively split large chunks into sub-chunks in order to stay under the embedding model input token limits.

Reference:
https://github.com/run-llama/llama_index/issues/12270

Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from biocompute-objects/bco-rag

All issues in biocompute-objects/bco-rag

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.