diff --git a/allegro.py b/allegro.py index 65a5580..032f50a 100644 --- a/allegro.py +++ b/allegro.py @@ -25,7 +25,7 @@ def fetch_documents(): collection = client.collections.get("Document") response = collection.query.fetch_objects() documents = [] - for item in response["data"]["Get"]["Document"]: + for item in response: print(item) #file_name = item.get("fileName", "unknown_file") #content = item.get("content", "")