diff --git a/langchain/vectorstores/chroma.py b/langchain/vectorstores/chroma.py index b1927e41d3..3c8e8239d8 100644 --- a/langchain/vectorstores/chroma.py +++ b/langchain/vectorstores/chroma.py @@ -50,7 +50,7 @@ class Chroma(VectorStore): from langchain.embeddings.openai import OpenAIEmbeddings embeddings = OpenAIEmbeddings() - vectorstore = Chroma("langchain_store", embeddings.embed_query) + vectorstore = Chroma("langchain_store", embeddings) """ _LANGCHAIN_DEFAULT_COLLECTION_NAME = "langchain"