diff --git a/allegro.py b/allegro.py index bbda682..b6bbba7 100644 --- a/allegro.py +++ b/allegro.py @@ -22,7 +22,7 @@ client.connect() # 2️⃣ Pobranie dokumentów z Weaviate def fetch_documents(): - collection = client.collections.get("Documents") + collection = client.collections.get("Document") response = collection.query.fetch_objects() documents = [] for item in response["data"]["Get"]["Document"]: