fix: value error in metadata(#110)
This commit is contained in:
@@ -153,7 +153,7 @@ class EmbedChain:
|
|||||||
|
|
||||||
self.collection.add(
|
self.collection.add(
|
||||||
documents=documents,
|
documents=documents,
|
||||||
metadatas=metadatas,
|
metadatas=list(metadatas),
|
||||||
ids=ids
|
ids=ids
|
||||||
)
|
)
|
||||||
print(f"Successfully saved {url}. Total chunks count: {self.collection.count()}")
|
print(f"Successfully saved {url}. Total chunks count: {self.collection.count()}")
|
||||||
|
|||||||
Reference in New Issue
Block a user