Feature/fix milvus (#507)

- Remove object embeddings, were currently broken and not used
- Fixed Milvus collection names

* Updating tests

* Remove unused entrypoint
This commit is contained in:
cybermaggedon 2025-09-09 21:44:55 +01:00 committed by GitHub
parent 6ac8a7c2d9
commit 314ce76b81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 256 additions and 303 deletions

View file

@ -43,7 +43,12 @@ class Processor(DocumentEmbeddingsQueryService):
for vec in msg.vectors:
resp = self.vecstore.search(vec, limit=msg.limit)
resp = self.vecstore.search(
vec,
msg.user,
msg.collection,
limit=msg.limit
)
for r in resp:
chunk = r["entity"]["doc"]

View file

@ -50,7 +50,12 @@ class Processor(GraphEmbeddingsQueryService):
for vec in msg.vectors:
resp = self.vecstore.search(vec, limit=msg.limit * 2)
resp = self.vecstore.search(
vec,
msg.user,
msg.collection,
limit=msg.limit * 2
)
for r in resp:
ent = r["entity"]["entity"]