mirror of https://github.com/hwchase17/langchain
Don't pass EF to chroma (#13085)
- **Description:** Recently Chroma rolled out a breaking change on the way we handle embedding functions, in order to support multi-modal collections. This broke the way LangChain's `Chroma` objects get created, because we were passing the EF down into the Chroma collection: https://docs.trychroma.com/migration#migration-to-0416---november-7-2023 However, internally, we are never actually using embeddings on the chroma collection - LangChain's `Chroma` object calls it instead. Thus we just don't pass an `embedding_function` to Chroma itself, which fixes the issue.pull/13089/head
parent
f15f8e01cf
commit
9f077270c8
Loading…
Reference in New Issue