activeloopai / deeplake

Database for AI. Store Vectors, Images, Texts, Videos, etc. Use with LLMs/LangChain. Store, query, version, & visualize any AI data. Stream data in real-time to PyTorch/TensorFlow. https://activeloop.ai
https://activeloop.ai
Mozilla Public License 2.0
7.88k stars 607 forks source link

Improved message for GetChunkError #2844

Closed nvoxland-al closed 2 months ago

nvoxland-al commented 2 months ago

🚀 🚀 Pull Request

Impact

Description

Includes the "root cause" reason for a GetChunkError in the error message.

Things to be aware of

If the root cause is a GetChunkError also, it goes further up the chain

Things to worry about

The string versions of exceptions are not always good and may not be helpful. For example, the KeyError I tested with only listed the key with no other information. Other random causes for GetChunkError may be more helpful, or not

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud