Graph RAG and document RAG working and configurable

This commit is contained in:
Cyber MacGeddon 2025-03-12 23:46:14 +00:00
parent 5160d5bf2f
commit c8df9a4fa2
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ class DocumentRagRequestor(ServiceRequestor):
query=body["query"],
user=body.get("user", "trustgraph"),
collection=body.get("collection", "default"),
doc_limit=body.get("doc-limit", 20),
doc_limit=int(body.get("doc-limit", 20)),
)
def from_response(self, message):