From 1a46d1aeaed89ee327a34f0155ea805dd5f4e38f Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Sun, 20 Apr 2025 09:21:26 +0100 Subject: [PATCH] Fixed typos --- .../trustgraph/storage/doc_embeddings/qdrant/write.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trustgraph-flow/trustgraph/storage/doc_embeddings/qdrant/write.py b/trustgraph-flow/trustgraph/storage/doc_embeddings/qdrant/write.py index f997abb6..d65a75eb 100644 --- a/trustgraph-flow/trustgraph/storage/doc_embeddings/qdrant/write.py +++ b/trustgraph-flow/trustgraph/storage/doc_embeddings/qdrant/write.py @@ -50,10 +50,10 @@ class Processor(DocumentEmbeddingsStoreService): if collection != self.last_collection: - if not self.client.collection_exists(collection): + if not self.qdrant.collection_exists(collection): try: - self.client.create_collection( + self.qdrant.create_collection( collection_name=collection, vectors_config=VectorParams( size=dim, distance=Distance.COSINE @@ -65,7 +65,7 @@ class Processor(DocumentEmbeddingsStoreService): self.last_collection = collection - self.client.upsert( + self.qdrant.upsert( collection_name=collection, points=[ PointStruct(