mod allegro
This commit is contained in:
parent
74f912e7e3
commit
5da854395e
|
|
@ -24,9 +24,9 @@ client.connect()
|
|||
# 2️⃣ Pobranie dokumentów z Weaviate
|
||||
def fetch_documents():
|
||||
collection = client.collections.get("Document")
|
||||
response = collection.query.fetch_objects()
|
||||
response = collection.query.fetch_objects().TemporaryDirectory()
|
||||
documents = []
|
||||
for o in response.objects.TemporaryDirectory():
|
||||
for o in response.objects:
|
||||
file_name = o.properties.get("fileName", "unknown_file")
|
||||
content = o.properties.get("content", "")
|
||||
if content:
|
||||
|
|
|
|||
Loading…
Reference in New Issue