Resolve path for index directory in ChromaSearchComponent

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-16 18:12:32 -03:00
commit 1f832d0a01

View file

@ -99,7 +99,7 @@ class ChromaSearchComponent(CustomComponent):
chroma_server_grpc_port=chroma_server_grpc_port or None,
chroma_server_ssl_enabled=chroma_server_ssl_enabled,
)
index_directory = self.resolve_path(index_directory)
chroma = Chroma(
embedding_function=embedding,
collection_name=collection_name,