Fix qdrant collection names

This commit is contained in:
Cyber MacGeddon 2025-09-19 15:35:42 +01:00
parent 8b5062dfaf
commit 65d089be12
2 changed files with 2 additions and 4 deletions

View file

@ -67,8 +67,7 @@ class Processor(DocumentEmbeddingsQueryService):
dim = len(vec) dim = len(vec)
collection = ( collection = (
"d_" + msg.user + "_" + msg.collection + "_" + "d_" + msg.user + "_" + msg.collection
str(dim)
) )
self.ensure_collection_exists(collection, dim) self.ensure_collection_exists(collection, dim)

View file

@ -74,8 +74,7 @@ class Processor(GraphEmbeddingsQueryService):
dim = len(vec) dim = len(vec)
collection = ( collection = (
"t_" + msg.user + "_" + msg.collection + "_" + "t_" + msg.user + "_" + msg.collection
str(dim)
) )
self.ensure_collection_exists(collection, dim) self.ensure_collection_exists(collection, dim)