format code

This commit is contained in:
Matteo Rosati
2026-04-22 22:22:49 +02:00
parent 0441bcd911
commit f09e9da9a5
3 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -70,7 +70,8 @@ def add_data(
_, collection = _get_client_and_collection(collection_name)
embeddings: list[Sequence[float]] = [record["embedding"] for record in data]
embeddings: list[Sequence[float]] = [record["embedding"]
for record in data]
collection.add(
ids=[str(uuid4()) for _ in data],