data-attribute-recommendation-python-sdk
data-attribute-recommendation-python-sdk copied to clipboard
InferenceClient: provide generator-based bulk inference
The current implementation will try to perform inference for all chunks. If an exception occurs, the progress is lost.
By yielding the individual chunks, the caller can be in charge of error handling.
We can either change the existing API or introduce a separate method (and implement do_bulk_inference using the new method).
See also #62