diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-chroma/llama_index/vector_stores/chroma/base.py b/llama-index-integrations/vector_stores/llama-index-vector-stores-chroma/llama_index/vector_stores/chroma/base.py index dde3e0c8f5c3732d15ebde7fc505019be0823354..c562c2f5f636e6c6d5bd9ce999af72ce882792d8 100644 --- a/llama-index-integrations/vector_stores/llama-index-vector-stores-chroma/llama_index/vector_stores/chroma/base.py +++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-chroma/llama_index/vector_stores/chroma/base.py @@ -1,4 +1,5 @@ """Chroma vector store.""" + import logging import math from typing import Any, Dict, Generator, List, Optional, cast @@ -143,6 +144,7 @@ class ChromaVectorStore(BasePydanticVectorStore): **kwargs: Any, ) -> None: """Init params.""" + collection_kwargs = collection_kwargs or {} if chroma_collection is None: client = chromadb.HttpClient(host=host, port=port, ssl=ssl, headers=headers) self._collection = client.get_or_create_collection(