mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 12:41:02 +02:00
Fix missing document RAG user/collection params
This commit is contained in:
parent
266454e75f
commit
64cfdbddcb
1 changed files with 6 additions and 1 deletions
|
|
@ -92,7 +92,12 @@ class Processor(FlowProcessor):
|
||||||
else:
|
else:
|
||||||
doc_limit = self.doc_limit
|
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(
|
await flow("response").send(
|
||||||
DocumentRagResponse(
|
DocumentRagResponse(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue