mod allegro
This commit is contained in:
parent
9ef12dc7fd
commit
c5e4fc68c9
|
|
@ -22,7 +22,7 @@ client.connect()
|
||||||
|
|
||||||
# 2️⃣ Pobranie dokumentów z Weaviate
|
# 2️⃣ Pobranie dokumentów z Weaviate
|
||||||
def fetch_documents():
|
def fetch_documents():
|
||||||
collection = client.collections.get("Documents")
|
collection = client.collections.get("Document")
|
||||||
response = collection.query.fetch_objects()
|
response = collection.query.fetch_objects()
|
||||||
documents = []
|
documents = []
|
||||||
for item in response["data"]["Get"]["Document"]:
|
for item in response["data"]["Get"]["Document"]:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue