mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-26 17:06:22 +02:00
Renamed default flow from 0000 to default (#395)
This commit is contained in:
parent
3ed9274d84
commit
ef34d951fe
19 changed files with 34 additions and 34 deletions
|
|
@ -24,7 +24,7 @@ class Flow:
|
|||
else:
|
||||
return self.api.request(f"flow", request)
|
||||
|
||||
def id(self, id="0000"):
|
||||
def id(self, id="default"):
|
||||
return FlowInstance(api=self, id=id)
|
||||
|
||||
def list_classes(self):
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class Knowledge:
|
|||
|
||||
self.request(request = input)
|
||||
|
||||
def load_kg_core(self, id, user="trustgraph", flow="0000",
|
||||
def load_kg_core(self, id, user="trustgraph", flow="default",
|
||||
collection="default"):
|
||||
|
||||
# The input consists of system and prompt strings
|
||||
|
|
@ -53,7 +53,7 @@ class Knowledge:
|
|||
|
||||
self.request(request = input)
|
||||
|
||||
def unload_kg_core(self, id, user="trustgraph", flow="0000"):
|
||||
def unload_kg_core(self, id, user="trustgraph", flow="default"):
|
||||
|
||||
# The input consists of system and prompt strings
|
||||
input = {
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ class Library:
|
|||
return {}
|
||||
|
||||
def start_processing(
|
||||
self, id, document_id, flow="0000",
|
||||
self, id, document_id, flow="default",
|
||||
user="trustgraph", collection="default", tags=[],
|
||||
):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue