8000 Add batching on the client by shabani1 · Pull Request #52 · lexy-ai/lexy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add batching on the client #52

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

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Add batching on the client #52

merged 1 commit into from
Feb 2, 2024

Conversation

shabani1
Copy link
Contributor
@shabani1 shabani1 commented Feb 2, 2024

What

The client methods for add_documents and upload_documents now support batching. Also added upload_documents as a method on the Collection model.

There's also an updated example coming in the lexy-examples repo that makes use of client side batching.

Why

Because the people want to add their documents in batches.

Test plan

  • Run pytest sdk-python
  • Run examples/tests.ipynb and verify that there are no errors
  • Run examples/tutorial.ipynb and verify that the tutorial works as expected
  • Run examples/images.ipynb and verify that the tutorial works as expected

@shabani1 shabani1 merged commit 7ba641f into main Feb 2, 2024
@shabani1 shabani1 deleted the rs/batch-add-documents branch February 2, 2024 02:41
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.

1 participant
0