trustgraph-cli 1.3.8__tar.gz → 1.3.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.3.8 → trustgraph_cli-1.3.10}/PKG-INFO +1 -1
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/set_tool.py +19 -10
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_tools.py +4 -2
- trustgraph_cli-1.3.10/trustgraph/cli_version.py +1 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph_cli.egg-info/PKG-INFO +1 -1
- trustgraph_cli-1.3.8/trustgraph/cli_version.py +0 -1
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/README.md +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/pyproject.toml +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/setup.cfg +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/__init__.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/add_library_document.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/delete_config_item.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/delete_flow_class.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/delete_kg_core.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/delete_mcp_tool.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/delete_tool.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/dump_msgpack.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/get_config_item.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/get_flow_class.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/get_kg_core.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/graph_to_turtle.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/init_pulsar_manager.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/init_trustgraph.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/invoke_agent.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/invoke_document_rag.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/invoke_graph_rag.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/invoke_llm.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/invoke_mcp_tool.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/invoke_nlp_query.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/invoke_objects_query.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/invoke_prompt.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/invoke_structured_query.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/list_config_items.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/load_doc_embeds.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/load_kg_core.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/load_knowledge.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/load_pdf.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/load_sample_documents.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/load_text.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/load_turtle.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/put_config_item.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/put_flow_class.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/put_kg_core.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/remove_library_document.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/save_doc_embeds.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/set_mcp_tool.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/set_prompt.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/set_token_costs.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_config.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_flow_classes.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_flow_state.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_flows.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_graph.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_kg_cores.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_library_documents.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_library_processing.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_mcp_tools.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_processor_state.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_prompts.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_token_costs.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/show_token_rate.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/start_flow.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/start_library_processing.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/stop_flow.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/stop_library_processing.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph/cli/unload_kg_core.py +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph_cli.egg-info/SOURCES.txt +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph_cli.egg-info/dependency_links.txt +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph_cli.egg-info/entry_points.txt +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.10}/trustgraph_cli.egg-info/requires.txt +0 -0
- {trustgraph_cli-1.3.8 → trustgraph_cli-1.3.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.3.
|
|
3
|
+
Version: 1.3.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
|
|
@@ -3,6 +3,7 @@ Configures and registers tools in the TrustGraph system.
|
|
|
3
3
|
|
|
4
4
|
This script allows you to define agent tools with various types including:
|
|
5
5
|
- knowledge-query: Query knowledge bases
|
|
6
|
+
- structured-query: Query structured data using natural language
|
|
6
7
|
- text-completion: Text generation
|
|
7
8
|
- mcp-tool: Reference to MCP (Model Context Protocol) tools
|
|
8
9
|
- prompt: Prompt template execution
|
|
@@ -117,21 +118,29 @@ def main():
|
|
|
117
118
|
description=__doc__,
|
|
118
119
|
epilog=textwrap.dedent('''
|
|
119
120
|
Valid tool types:
|
|
120
|
-
knowledge-query - Query knowledge bases
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
knowledge-query - Query knowledge bases (fixed args)
|
|
122
|
+
structured-query - Query structured data using natural language (fixed args)
|
|
123
|
+
text-completion - Text completion/generation (fixed args)
|
|
124
|
+
mcp-tool - Model Control Protocol tool (configurable args)
|
|
125
|
+
prompt - Prompt template query (configurable args)
|
|
126
|
+
|
|
127
|
+
Note: Tools marked "(fixed args)" have predefined arguments and don't need
|
|
128
|
+
--argument specified. Tools marked "(configurable args)" require --argument.
|
|
124
129
|
|
|
125
130
|
Valid argument types:
|
|
126
|
-
string - String/text parameter
|
|
131
|
+
string - String/text parameter
|
|
127
132
|
number - Numeric parameter
|
|
128
133
|
|
|
129
134
|
Examples:
|
|
130
135
|
%(prog)s --id weather_tool --name get_weather \\
|
|
131
136
|
--type knowledge-query \\
|
|
132
137
|
--description "Get weather information for a location" \\
|
|
133
|
-
--
|
|
134
|
-
|
|
138
|
+
--collection weather_data
|
|
139
|
+
|
|
140
|
+
%(prog)s --id data_query_tool --name query_data \\
|
|
141
|
+
--type structured-query \\
|
|
142
|
+
--description "Query structured data using natural language" \\
|
|
143
|
+
--collection sales_data
|
|
135
144
|
|
|
136
145
|
%(prog)s --id calc_tool --name calculate --type mcp-tool \\
|
|
137
146
|
--description "Perform mathematical calculations" \\
|
|
@@ -164,7 +173,7 @@ def main():
|
|
|
164
173
|
|
|
165
174
|
parser.add_argument(
|
|
166
175
|
'--type',
|
|
167
|
-
help=f'Tool type, one of: knowledge-query, text-completion, mcp-tool, prompt',
|
|
176
|
+
help=f'Tool type, one of: knowledge-query, structured-query, text-completion, mcp-tool, prompt',
|
|
168
177
|
)
|
|
169
178
|
|
|
170
179
|
parser.add_argument(
|
|
@@ -174,7 +183,7 @@ def main():
|
|
|
174
183
|
|
|
175
184
|
parser.add_argument(
|
|
176
185
|
'--collection',
|
|
177
|
-
help=f'For knowledge-query
|
|
186
|
+
help=f'For knowledge-query and structured-query types: collection to query',
|
|
178
187
|
)
|
|
179
188
|
|
|
180
189
|
parser.add_argument(
|
|
@@ -210,7 +219,7 @@ def main():
|
|
|
210
219
|
try:
|
|
211
220
|
|
|
212
221
|
valid_types = [
|
|
213
|
-
"knowledge-query", "text-completion", "mcp-tool", "prompt"
|
|
222
|
+
"knowledge-query", "structured-query", "text-completion", "mcp-tool", "prompt"
|
|
214
223
|
]
|
|
215
224
|
|
|
216
225
|
if args.id is None:
|
|
@@ -3,6 +3,7 @@ Displays the current agent tool configurations
|
|
|
3
3
|
|
|
4
4
|
Shows all configured tools including their types:
|
|
5
5
|
- knowledge-query: Tools that query knowledge bases
|
|
6
|
+
- structured-query: Tools that query structured data using natural language
|
|
6
7
|
- text-completion: Tools for text generation
|
|
7
8
|
- mcp-tool: References to MCP (Model Context Protocol) tools
|
|
8
9
|
- prompt: Tools that execute prompt templates
|
|
@@ -40,8 +41,9 @@ def show_config(url):
|
|
|
40
41
|
if tp == "mcp-tool":
|
|
41
42
|
table.append(("mcp-tool", data["mcp-tool"]))
|
|
42
43
|
|
|
43
|
-
if tp == "knowledge-query":
|
|
44
|
-
|
|
44
|
+
if tp == "knowledge-query" or tp == "structured-query":
|
|
45
|
+
if "collection" in data:
|
|
46
|
+
table.append(("collection", data["collection"]))
|
|
45
47
|
|
|
46
48
|
if tp == "prompt":
|
|
47
49
|
table.append(("template", data["template"]))
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.3.10"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: trustgraph-cli
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.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.3.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
|