Skip to content

Commit

Permalink
update err message
Browse files Browse the repository at this point in the history
  • Loading branch information
spikechroma committed Aug 26, 2024
1 parent 1482166 commit 6053074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chromadb/api/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def __call__(self: EmbeddingFunction[D], input: D) -> Embeddings:

if converted is None:
raise ValueError(
"Expected embeddings to be a list of list of ints or floats, got None"
"Expected embeddings not to be None"
)

return validate_embeddings(converted)
Expand Down

0 comments on commit 6053074

Please sign in to comment.