-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add push_documents method to Compass client for asynchronous document processing #15
Conversation
javier-cohere seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
cfba7f1
to
4e3d74f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one nit on documentation - can you DM me when resolved and I'll approve? Approval has to be on most recent push... Then we should be good to merge.
3e0adf6
to
6fa245e
Compare
… processing Introduced the `push_documents` method, allowing the Compass client to push a list of documents for asynchronous processing. Documents will be available for search once the processing is completed.
6fa245e
to
44bb632
Compare
We added a new endpoint to Compass that allows to send file bytes for their parsing and indexing using barckground jobs in the server:
This PR is to add a function to the SDK that allows to send files to that endpoint. Function
parse_and_insert_doc
gets afilename
and opens the document, gets its bytes, generates a file id if necessary, and sends the bytes to Compass.