Fix/document rag (#506)

* Fix missing document RAG user/collection params

* Added test
This commit is contained in:
cybermaggedon 2025-09-09 15:30:11 +01:00 committed by GitHub
parent 266454e75f
commit 6ac8a7c2d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 83 additions and 1 deletions

View file

@ -92,7 +92,12 @@ class Processor(FlowProcessor):
else:
doc_limit = self.doc_limit
response = await self.rag.query(v.query, doc_limit=doc_limit)
response = await self.rag.query(
v.query,
user=v.user,
collection=v.collection,
doc_limit=doc_limit
)
await flow("response").send(
DocumentRagResponse(