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