Fix embedding parameter order in ChromaComponent

constructor
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-12-11 17:03:28 -03:00
commit 6b996e2843

View file

@ -53,9 +53,9 @@ class ChromaComponent(CustomComponent):
self,
collection_name: str,
persist: bool,
embedding: Embeddings,
chroma_server_ssl_enabled: bool,
persist_directory: Optional[str] = None,
embedding: Optional[Embeddings] = None,
documents: Optional[Document] = None,
chroma_server_cors_allow_origins: Optional[str] = None,
chroma_server_host: Optional[str] = None,