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