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

Support adding multiple docs at once #208

Open
jhohrath opened this issue Nov 17, 2023 · 0 comments
Open

Support adding multiple docs at once #208

jhohrath opened this issue Nov 17, 2023 · 0 comments

Comments

@jhohrath
Copy link

jhohrath commented Nov 17, 2023

Currently, each document uploaded requires an API call to get embeddings. Due to API rate-limits, this really slows the document adding process for large corpus.

This process could be parallelized better by implementing a multiple document adding method, which aggregates texts across documents and sends them all to get embeddings in one API call.

@jhohrath jhohrath changed the title Support parallelizing adding docs Support adding multiple docs at once Nov 17, 2023
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

1 participant