Skip to content

feature: allow custom chunking method#40

Merged
gusye1234 merged 3 commits intogusye1234:mainfrom
rangehow:main
Sep 17, 2024
Merged

feature: allow custom chunking method#40
gusye1234 merged 3 commits intogusye1234:mainfrom
rangehow:main

Conversation

@rangehow
Copy link
Collaborator

In mature RAG frameworks, providing custom chunking methods is a very common choice. Fixed-length splitting brings many disadvantages, such as causing incomplete grammatical inputs, which challenges small models to produce normal outputs. Therefore, we have added an optional feature, allowing users to customize the chunking method, just like they can provide custom LLMs and embedding functions. At the same time, we have provided a separator-based splitting method that can ensure each chunk is grammatically complete.

@gusye1234
Copy link
Owner

LGTM

@gusye1234 gusye1234 merged commit 5e5c62c into gusye1234:main Sep 17, 2024
AhmaddAbbass pushed a commit to AhmaddAbbass/nano-graphrag that referenced this pull request Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants