chroma icon indicating copy to clipboard operation
chroma copied to clipboard

Bug: querying collection when no data added causes crash

Open swyxio opened this issue 2 years ago • 3 comments

trivial example is

  1. https://colab.research.google.com/drive/1QEzFyqnoFxq7LUGyP1vzR4iLt9PpCDXv?usp=sharing#scrollTo=64dWyeEdKAX9
  2. comment out collection.add
  3. run all cells

image

swyxio avatar Apr 13 '23 00:04 swyxio

could be close cousin/combined with #342

swyxio avatar Apr 13 '23 01:04 swyxio

I wrote a test for querying empty collection and it fails in the same exact way

grishick avatar Apr 24 '23 05:04 grishick

Here is a PR with a simple fix: https://github.com/chroma-core/chroma/pull/416

grishick avatar Apr 24 '23 06:04 grishick

Closed by #576

HammadB avatar May 19 '23 06:05 HammadB