marqo-ai / py-marqo

Python client for Marqo
https://marqo.pages.dev/
Apache License 2.0
30 stars 5 forks source link

Debugging mode: 0-div error #169

Open pandu-k opened 1 year ago

pandu-k commented 1 year ago

If running py-marqo in debug mode, there is a div by 0 error if adding an empty set of docs ([]) https://github.com/marqo-ai/py-marqo/blob/mainline/src/marqo/index.py#L414

vicilliar commented 1 year ago

PR up for this issue: https://github.com/marqo-ai/py-marqo/pull/170