Chromadb error #18098
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
🔌: chroma
Primarily related to ChromaDB integrations
Ɑ: embeddings
Related to text embedding models module
embeddings = HuggingFaceEmbeddings(model_name='sentence-transformers/all-MiniLM-L6-v2')
to_vectorize = [" ".join(example.values()) for example in few_shots]
vectorstore = Chroma.from_texts(
to_vectorize,
embedding=embeddings,
metadatas=few_shots
)
ValueError: Expected EmbeddingFunction.call to have the following signature: odict_keys(['self', 'input']), got odict_keys(['self', 'args', 'kwargs']) Please see https://docs.trychroma.com/embeddings for details of the EmbeddingFunction interface. Please note the recent change to the EmbeddingFunction interface: https://docs.trychroma.com/migration#migration-to-0416---november-7-2023
Im using chromadb==0.4.15
Originally posted by @varayush007 in #13051 (comment)
The text was updated successfully, but these errors were encountered: