diff --git a/embedchain/embedchain.py b/embedchain/embedchain.py index 15f0c5b6..5cf833eb 100644 --- a/embedchain/embedchain.py +++ b/embedchain/embedchain.py @@ -153,7 +153,7 @@ class EmbedChain: self.collection.add( documents=documents, - metadatas=metadatas, + metadatas=list(metadatas), ids=ids ) print(f"Successfully saved {url}. Total chunks count: {self.collection.count()}")