redis / redis-vl-python

Redis Vector Library (RedisVL) interfaces with Redis' vector database for realtime semantic search, RAG, and recommendation systems.
https://www.redisvl.com/
MIT License
234 stars 39 forks source link

Fix index loading empty array #173

Closed tylerhutcherson closed 4 months ago

tylerhutcherson commented 4 months ago

This PR fixes the case when a user tries to load an empty array using index.load([], ...). Currently, this borks and throws an exception for something that should have been captured in one of our tests.

Test conditions added, and big fixed.