chroma
chroma copied to clipboard
[Bug]: Type mismatch for embedding function
What happened?
Versions
Relevant log output
No response
@dglazkov @jschachter @ibratoev @levand
should i open a PR refactoring the type fix? this seems to work
After
it will help my github profile if i contribute such a great open source. it will take max 15 mins. thanks and regards.
this seems more safe what you think? and throws no error. i think adding or type, will prevent any conflicts with image embedding. Embeddable seems some Abstract type, which is of ndarray i suppose image. pls correct if im wrong.
thanks and regards.
@nikhil-swamix this was done for multimodal support. See https://docs.trychroma.com/deployment/migration#migration-to-0.4.16---november-7,-2023
https://docs.trychroma.com/integrations/openai -- this gives an overview of how to use open AI embeddings
I can't repro this on chromadb version 0.5.0. Can you try upgrading and see if this issue persists?
yes im on chroma 0.5.0 after upgrading, and used same steps to create an embedding function. the issue of typechecking reported by pylance still persists