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

Display indexing progress #478

Closed
alouafi opened this issue May 25, 2023 · 1 comment
Closed

Display indexing progress #478

alouafi opened this issue May 25, 2023 · 1 comment

Comments

@alouafi
Copy link

alouafi commented May 25, 2023

Hi, is there any way to display the indexing progress? it could be super useful especially when indexing lots of documents to know how many have been treated already (and maybe get an ETA)

@davidmezzetti
Copy link
Member

One easy way to add this is to wrap the data you're passing to embeddings.index.

from tqdm import tqdm

embeddings.index(tqdm(data(), total=total))

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