Maint/knowledge load collections (#132)

* Add user/collection support to knowledge loaders

* Fix timeouts
This commit is contained in:
cybermaggedon 2024-10-31 16:28:03 +00:00 committed by GitHub
parent bc1b38c998
commit 9ebfe0d94a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 71 additions and 10 deletions

View file

@ -38,7 +38,7 @@ class DocumentRagClient(BaseClient):
output_schema=DocumentRagResponse,
)
def request(self, query, timeout=500):
def request(self, query, timeout=300):
return self.call(
query=query, timeout=timeout

View file

@ -52,7 +52,7 @@ class TriplesQueryClient(BaseClient):
self,
s, p, o,
user="trustgraph", collection="default",
limit=10, timeout=60,
limit=10, timeout=120,
):
return self.call(
s=self.create_value(s),