trustgraph-cli 1.4.8__tar.gz → 1.4.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of trustgraph-cli might be problematic. Click here for more details.
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/PKG-INFO +1 -1
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_flows.py +7 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/start_flow.py +21 -1
- trustgraph_cli-1.4.10/trustgraph/cli_version.py +1 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph_cli.egg-info/PKG-INFO +1 -1
- trustgraph_cli-1.4.8/trustgraph/cli_version.py +0 -1
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/README.md +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/pyproject.toml +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/setup.cfg +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/__init__.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/add_library_document.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/delete_collection.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/delete_config_item.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/delete_flow_class.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/delete_kg_core.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/delete_mcp_tool.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/delete_tool.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/dump_msgpack.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/get_config_item.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/get_flow_class.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/get_kg_core.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/graph_to_turtle.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/init_pulsar_manager.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/init_trustgraph.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/invoke_agent.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/invoke_document_rag.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/invoke_graph_rag.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/invoke_llm.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/invoke_mcp_tool.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/invoke_nlp_query.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/invoke_objects_query.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/invoke_prompt.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/invoke_structured_query.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/list_collections.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/list_config_items.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/load_doc_embeds.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/load_kg_core.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/load_knowledge.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/load_pdf.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/load_sample_documents.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/load_structured_data.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/load_text.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/load_turtle.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/put_config_item.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/put_flow_class.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/put_kg_core.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/remove_library_document.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/save_doc_embeds.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/set_collection.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/set_mcp_tool.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/set_prompt.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/set_token_costs.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/set_tool.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_config.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_flow_classes.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_flow_state.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_graph.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_kg_cores.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_library_documents.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_library_processing.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_mcp_tools.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_processor_state.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_prompts.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_token_costs.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_token_rate.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/show_tools.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/start_library_processing.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/stop_flow.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/stop_library_processing.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph/cli/unload_kg_core.py +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph_cli.egg-info/SOURCES.txt +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph_cli.egg-info/dependency_links.txt +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph_cli.egg-info/entry_points.txt +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph_cli.egg-info/requires.txt +0 -0
- {trustgraph_cli-1.4.8 → trustgraph_cli-1.4.10}/trustgraph_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: trustgraph-cli
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.10
|
|
4
4
|
Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
|
|
5
5
|
Author-email: "trustgraph.ai" <security@trustgraph.ai>
|
|
6
6
|
Project-URL: Homepage, https://github.com/trustgraph-ai/trustgraph
|
|
@@ -74,6 +74,13 @@ def show_flows(url):
|
|
|
74
74
|
table.append(("id", id))
|
|
75
75
|
table.append(("class", flow.get("class-name", "")))
|
|
76
76
|
table.append(("desc", flow.get("description", "")))
|
|
77
|
+
|
|
78
|
+
# Display parameters if they exist
|
|
79
|
+
parameters = flow.get("parameters", {})
|
|
80
|
+
if parameters:
|
|
81
|
+
param_str = json.dumps(parameters, indent=2)
|
|
82
|
+
table.append(("parameters", param_str))
|
|
83
|
+
|
|
77
84
|
table.append(("queue", describe_interfaces(interface_defs, flow)))
|
|
78
85
|
|
|
79
86
|
print(tabulate.tabulate(
|
|
@@ -10,7 +10,7 @@ import json
|
|
|
10
10
|
|
|
11
11
|
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8088/')
|
|
12
12
|
|
|
13
|
-
def start_flow(url, class_name, flow_id, description):
|
|
13
|
+
def start_flow(url, class_name, flow_id, description, parameters=None):
|
|
14
14
|
|
|
15
15
|
api = Api(url).flow()
|
|
16
16
|
|
|
@@ -18,6 +18,7 @@ def start_flow(url, class_name, flow_id, description):
|
|
|
18
18
|
class_name = class_name,
|
|
19
19
|
id = flow_id,
|
|
20
20
|
description = description,
|
|
21
|
+
parameters = parameters,
|
|
21
22
|
)
|
|
22
23
|
|
|
23
24
|
def main():
|
|
@@ -51,15 +52,34 @@ def main():
|
|
|
51
52
|
help=f'Flow description',
|
|
52
53
|
)
|
|
53
54
|
|
|
55
|
+
parser.add_argument(
|
|
56
|
+
'-p', '--parameters',
|
|
57
|
+
help=f'Flow parameters as JSON string (e.g., \'{"model": "gpt-4", "temp": 0.7}\')',
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
parser.add_argument(
|
|
61
|
+
'--parameters-file',
|
|
62
|
+
help=f'Path to JSON file containing flow parameters',
|
|
63
|
+
)
|
|
64
|
+
|
|
54
65
|
args = parser.parse_args()
|
|
55
66
|
|
|
56
67
|
try:
|
|
68
|
+
# Parse parameters from command line arguments
|
|
69
|
+
parameters = None
|
|
70
|
+
|
|
71
|
+
if args.parameters_file:
|
|
72
|
+
with open(args.parameters_file, 'r') as f:
|
|
73
|
+
parameters = json.load(f)
|
|
74
|
+
elif args.parameters:
|
|
75
|
+
parameters = json.loads(args.parameters)
|
|
57
76
|
|
|
58
77
|
start_flow(
|
|
59
78
|
url = args.api_url,
|
|
60
79
|
class_name = args.class_name,
|
|
61
80
|
flow_id = args.flow_id,
|
|
62
81
|
description = args.description,
|
|
82
|
+
parameters = parameters,
|
|
63
83
|
)
|
|
64
84
|
|
|
65
85
|
except Exception as e:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.4.10"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: trustgraph-cli
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.10
|
|
4
4
|
Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
|
|
5
5
|
Author-email: "trustgraph.ai" <security@trustgraph.ai>
|
|
6
6
|
Project-URL: Homepage, https://github.com/trustgraph-ai/trustgraph
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.4.8"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|