michaelfeil / michaelfeil/infinity
Support late chunking
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.9k
- Forks
- 206
- PR merge metrics
- No merged PRs in 30d
Description
### Feature request
It would be nice to have late chunking supported by the library, optionally activated by a parameter passed in the request.
This feature is available, for example, with the Jina AI API, via the parameter `"late_chunking": True`.
### Motivation
Late chunking allows an efficient usage of large context embedding models, by producing chunks that preserve the context of a larger section of a document.
### Your contribution
I haven't got a good understanding of the whole code yet, but I could work on a PR, after agreeing on a suitable approach.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
No files, tests, or entry points are identified. Start by locating the embedding request path and existing request-parameter handling, then compare the desired optional `late_chunking` behavior with the Jina AI API example. Done means the parameter activates late chunking while preserving larger-document context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100