mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 20:51:02 +02:00
Fix qdrant collection names
This commit is contained in:
parent
8b5062dfaf
commit
65d089be12
2 changed files with 2 additions and 4 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue