mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-19 12:25:13 +02:00
Maint/knowledge load collections (#132)
* Add user/collection support to knowledge loaders * Fix timeouts
This commit is contained in:
parent
bc1b38c998
commit
9ebfe0d94a
4 changed files with 71 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue