Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making EpicSplitter persistent? #9

Open
zkx06111 opened this issue Jun 14, 2024 · 1 comment
Open

Making EpicSplitter persistent? #9

zkx06111 opened this issue Jun 14, 2024 · 1 comment

Comments

@zkx06111
Copy link

I really appreciate the notebook for efficiently building the index by using the previously persisted index.

However, this can still be slow as the splitting process still needs to run from scratch for every instance (correct me if I'm wrong).

Do you think the splitting process can also be incremental and utilizing previously split data? I think tree-sitter is incremental in parsing the AST.

@aorwall
Copy link
Owner

aorwall commented Jun 14, 2024

Yes, would make a lot of sense. Right now all files are also parsed/split every time even if they're not changed since the last commit also. So both these changes would be nice to improve performance.

For the embedding part of the ingestion I've also been thinking about ways to detect if there are significant changes and only embed chunks again if there are any. Haven't figured out how though...

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

No branches or pull requests

2 participants