trustgraph-cli 2.8.4__tar.gz → 2.8.6__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.
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/PKG-INFO +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/_iam.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/add_library_document.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/bootstrap_iam.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/delete_collection.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/delete_config_item.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/delete_flow_blueprint.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/delete_kg_core.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/delete_mcp_tool.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/delete_tool.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/describe_image.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/dump_queues.py +20 -9
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/export_workspace.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/export_workspace_config.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/get_config_item.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/get_de_core.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/get_document_content.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/get_flow_blueprint.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/get_kg_core.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/graph_to_turtle.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/import_workspace.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/import_workspace_config.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_agent.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_document_embeddings.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_document_rag.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_embeddings.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_graph_embeddings.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_graph_rag.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_llm.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_mcp_tool.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_nlp_query.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_prompt.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_reranker.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_row_embeddings.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_rows_query.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_sparql_query.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/invoke_structured_query.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/list_collections.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/list_config_items.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/list_explain_traces.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/load_doc_embeds.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/load_kg_core.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/load_knowledge.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/load_sample_documents.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/load_structured_data.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/load_turtle.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/put_config_item.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/put_de_core.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/put_flow_blueprint.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/put_kg_core.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/query_graph.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/remove_library_document.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/save_doc_embeds.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/set_collection.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/set_mcp_tool.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/set_prompt.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/set_token_costs.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/set_tool.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_config.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_explain_trace.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_extraction_provenance.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_flow_blueprints.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_flow_state.py +2 -2
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_flows.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_graph.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_kg_cores.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_library_documents.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_library_processing.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_mcp_tools.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_parameter_types.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_processor_state.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_prompts.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_token_costs.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_token_rate.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/show_tools.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/start_flow.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/start_library_processing.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/stop_flow.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/stop_library_processing.py +1 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/unload_kg_core.py +1 -1
- trustgraph_cli-2.8.6/trustgraph/cli_version.py +1 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph_cli.egg-info/PKG-INFO +1 -1
- trustgraph_cli-2.8.4/trustgraph/cli_version.py +0 -1
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/README.md +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/pyproject.toml +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/setup.cfg +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/__init__.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/change_password.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/create_api_key.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/create_user.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/create_workspace.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/delete_user.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/disable_user.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/dump_msgpack.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/enable_user.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/init_pulsar_manager.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/list_api_keys.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/list_my_workspaces.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/list_users.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/list_workspaces.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/login.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/monitor_prompts.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/nquads.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/reset_password.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/revoke_api_key.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/sample_documents/__init__.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/sample_documents/belgian-beer.md +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/sample_documents/bronze-age-collapse.pdf +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/sample_documents/corporate-scandals.pdf +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/sample_documents/history-of-pets.md +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/sample_documents/metadata.json +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/sample_documents/mil-fortifications-america-19th-c.md +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/sample_documents/recipes.md +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/sample_documents/trade-routes-europe.md +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/update_user.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/verify_system_status.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/whoami.py +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph_cli.egg-info/SOURCES.txt +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph_cli.egg-info/dependency_links.txt +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph_cli.egg-info/entry_points.txt +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph_cli.egg-info/requires.txt +0 -0
- {trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/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: 2.8.
|
|
3
|
+
Version: 2.8.6
|
|
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
|
|
@@ -14,7 +14,7 @@ from trustgraph.knowledge import PREF_PUBEV, PREF_DOC, PREF_ORG
|
|
|
14
14
|
from trustgraph.knowledge import Organization, PublicationEvent
|
|
15
15
|
from trustgraph.knowledge import DigitalDocument
|
|
16
16
|
|
|
17
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
17
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
18
18
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
19
19
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
20
20
|
|
|
@@ -6,7 +6,7 @@ import argparse
|
|
|
6
6
|
import os
|
|
7
7
|
from trustgraph.api import Api
|
|
8
8
|
|
|
9
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
9
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
10
10
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
11
11
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
12
12
|
|
|
@@ -7,7 +7,7 @@ import os
|
|
|
7
7
|
from trustgraph.api import Api
|
|
8
8
|
from trustgraph.api.types import ConfigKey
|
|
9
9
|
|
|
10
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
11
11
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
12
12
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
13
13
|
|
|
@@ -8,7 +8,7 @@ import tabulate
|
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
import json
|
|
10
10
|
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
13
13
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
14
14
|
|
|
@@ -6,7 +6,7 @@ import argparse
|
|
|
6
6
|
import os
|
|
7
7
|
from trustgraph.api import Api
|
|
8
8
|
|
|
9
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
9
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
10
10
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
11
11
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
12
12
|
|
|
@@ -8,7 +8,7 @@ import os
|
|
|
8
8
|
from trustgraph.api import Api, ConfigKey
|
|
9
9
|
import textwrap
|
|
10
10
|
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
|
|
13
13
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
14
14
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
@@ -10,7 +10,7 @@ from trustgraph.api import Api, ConfigKey, ConfigValue
|
|
|
10
10
|
import json
|
|
11
11
|
import textwrap
|
|
12
12
|
|
|
13
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
13
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
14
14
|
|
|
15
15
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
16
16
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
@@ -9,7 +9,7 @@ import mimetypes
|
|
|
9
9
|
import os
|
|
10
10
|
from trustgraph.api import Api, TrustGraphException
|
|
11
11
|
|
|
12
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
12
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
13
13
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
14
14
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
15
15
|
|
|
@@ -99,17 +99,28 @@ async def monitor_queue(consumer, queue_name, central_queue, shutdown_event):
|
|
|
99
99
|
try:
|
|
100
100
|
while not shutdown_event.is_set():
|
|
101
101
|
try:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
formatted = format_message(queue_name, msg)
|
|
102
|
+
receive_task = asyncio.ensure_future(consumer.receive())
|
|
103
|
+
shutdown_task = asyncio.ensure_future(shutdown_event.wait())
|
|
105
104
|
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
done, pending = await asyncio.wait(
|
|
106
|
+
[receive_task, shutdown_task],
|
|
107
|
+
return_when=asyncio.FIRST_COMPLETED,
|
|
108
|
+
)
|
|
108
109
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
if shutdown_task in done:
|
|
111
|
+
receive_task.cancel()
|
|
112
|
+
break
|
|
113
|
+
|
|
114
|
+
if receive_task in done:
|
|
115
|
+
shutdown_task.cancel()
|
|
116
|
+
msg = receive_task.result()
|
|
117
|
+
timestamp = datetime.now()
|
|
118
|
+
formatted = format_message(queue_name, msg)
|
|
119
|
+
await central_queue.put((timestamp, queue_name, formatted))
|
|
120
|
+
await consumer.acknowledge(msg)
|
|
121
|
+
|
|
122
|
+
except asyncio.CancelledError:
|
|
123
|
+
break
|
|
113
124
|
|
|
114
125
|
except Exception as e:
|
|
115
126
|
if not shutdown_event.is_set():
|
|
@@ -25,7 +25,7 @@ from trustgraph.api import Api
|
|
|
25
25
|
|
|
26
26
|
from . nquads import serialize_nquads
|
|
27
27
|
|
|
28
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
28
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
29
29
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
30
30
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
31
31
|
|
|
@@ -13,7 +13,7 @@ import json
|
|
|
13
13
|
import sys
|
|
14
14
|
from trustgraph.api import Api
|
|
15
15
|
|
|
16
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
16
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
17
17
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
18
18
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
19
19
|
|
|
@@ -8,7 +8,7 @@ import json
|
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
from trustgraph.api.types import ConfigKey
|
|
10
10
|
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
13
13
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
14
14
|
|
|
@@ -9,7 +9,7 @@ import msgpack
|
|
|
9
9
|
|
|
10
10
|
from trustgraph.api import Api
|
|
11
11
|
|
|
12
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
12
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
13
13
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
14
14
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
15
15
|
|
|
@@ -7,7 +7,7 @@ import os
|
|
|
7
7
|
import sys
|
|
8
8
|
import requests
|
|
9
9
|
|
|
10
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
11
11
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
12
12
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
13
13
|
|
|
@@ -8,7 +8,7 @@ import tabulate
|
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
import json
|
|
10
10
|
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
13
13
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
14
14
|
|
|
@@ -9,7 +9,7 @@ import msgpack
|
|
|
9
9
|
|
|
10
10
|
from trustgraph.api import Api
|
|
11
11
|
|
|
12
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
12
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
13
13
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
14
14
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
15
15
|
|
|
@@ -12,7 +12,7 @@ import os
|
|
|
12
12
|
|
|
13
13
|
from trustgraph.api import Api
|
|
14
14
|
|
|
15
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
15
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
16
16
|
default_collection = 'default'
|
|
17
17
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
18
18
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
@@ -27,7 +27,7 @@ from trustgraph.api import Api
|
|
|
27
27
|
from trustgraph.api.types import ConfigValue, Triple
|
|
28
28
|
from trustgraph.cli.nquads import parse_nquads
|
|
29
29
|
|
|
30
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
30
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
31
31
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
32
32
|
|
|
33
33
|
SUPPORTED_FORMAT = "tgx"
|
|
@@ -14,7 +14,7 @@ import sys
|
|
|
14
14
|
from trustgraph.api import Api
|
|
15
15
|
from trustgraph.api.types import ConfigValue
|
|
16
16
|
|
|
17
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
17
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
18
18
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
19
19
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
20
20
|
|
|
@@ -24,7 +24,7 @@ from trustgraph.api import (
|
|
|
24
24
|
AgentAnswer,
|
|
25
25
|
)
|
|
26
26
|
|
|
27
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
27
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
28
28
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
29
29
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
30
30
|
default_collection = 'default'
|
|
@@ -7,7 +7,7 @@ import argparse
|
|
|
7
7
|
import os
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
|
|
10
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
11
11
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
12
12
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ from trustgraph.api import (
|
|
|
16
16
|
Synthesis,
|
|
17
17
|
)
|
|
18
18
|
|
|
19
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
19
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
20
20
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
21
21
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
22
22
|
default_collection = 'default'
|
|
@@ -7,7 +7,7 @@ import argparse
|
|
|
7
7
|
import os
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
|
|
10
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
11
11
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
12
12
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ import argparse
|
|
|
7
7
|
import os
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
|
|
10
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
11
11
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
12
12
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
13
13
|
|
|
@@ -17,7 +17,7 @@ from trustgraph.api import (
|
|
|
17
17
|
Synthesis,
|
|
18
18
|
)
|
|
19
19
|
|
|
20
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
20
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
21
21
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
22
22
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
23
23
|
default_collection = 'default'
|
|
@@ -7,7 +7,7 @@ import argparse
|
|
|
7
7
|
import os
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
|
|
10
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
11
11
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
12
12
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
13
13
|
|
|
@@ -10,7 +10,7 @@ import os
|
|
|
10
10
|
import json
|
|
11
11
|
from trustgraph.api import Api
|
|
12
12
|
|
|
13
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
13
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
14
14
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
15
15
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
16
16
|
|
|
@@ -8,7 +8,7 @@ import json
|
|
|
8
8
|
import sys
|
|
9
9
|
from trustgraph.api import Api
|
|
10
10
|
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
|
|
13
13
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
14
14
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
@@ -12,7 +12,7 @@ import os
|
|
|
12
12
|
import json
|
|
13
13
|
from trustgraph.api import Api
|
|
14
14
|
|
|
15
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
15
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
16
16
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
17
17
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
18
18
|
|
|
@@ -8,7 +8,7 @@ import json
|
|
|
8
8
|
import os
|
|
9
9
|
from trustgraph.api import Api
|
|
10
10
|
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
13
13
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
14
14
|
|
|
@@ -7,7 +7,7 @@ import argparse
|
|
|
7
7
|
import os
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
|
|
10
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
11
11
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
12
12
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
13
13
|
|
|
@@ -11,7 +11,7 @@ import io
|
|
|
11
11
|
from trustgraph.api import Api
|
|
12
12
|
from tabulate import tabulate
|
|
13
13
|
|
|
14
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
14
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
15
15
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
16
16
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
17
17
|
default_collection = 'default'
|
|
@@ -8,7 +8,7 @@ import json
|
|
|
8
8
|
import sys
|
|
9
9
|
from trustgraph.api import Api
|
|
10
10
|
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
13
13
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
14
14
|
default_collection = 'default'
|
|
@@ -11,7 +11,7 @@ import io
|
|
|
11
11
|
from trustgraph.api import Api
|
|
12
12
|
from tabulate import tabulate
|
|
13
13
|
|
|
14
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
14
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
15
15
|
|
|
16
16
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
17
17
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
@@ -7,7 +7,7 @@ import os
|
|
|
7
7
|
import tabulate
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
|
|
10
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
11
11
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
12
12
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ import os
|
|
|
7
7
|
import json
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
|
|
10
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
11
11
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
12
12
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ import sys
|
|
|
16
16
|
from tabulate import tabulate
|
|
17
17
|
from trustgraph.api import Api, ExplainabilityClient
|
|
18
18
|
|
|
19
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
19
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
20
20
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
21
21
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
22
22
|
default_collection = 'default'
|
|
@@ -173,7 +173,7 @@ async def main(running):
|
|
|
173
173
|
description=__doc__,
|
|
174
174
|
)
|
|
175
175
|
|
|
176
|
-
default_url = os.getenv("TRUSTGRAPH_API", "http://localhost:
|
|
176
|
+
default_url = os.getenv("TRUSTGRAPH_API", "http://localhost:8888/")
|
|
177
177
|
collection = "default"
|
|
178
178
|
|
|
179
179
|
parser.add_argument(
|
|
@@ -8,7 +8,7 @@ import argparse
|
|
|
8
8
|
import os
|
|
9
9
|
from trustgraph.api import Api
|
|
10
10
|
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
13
13
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
14
14
|
default_flow = "default"
|
|
@@ -11,7 +11,7 @@ from typing import Iterator, Tuple
|
|
|
11
11
|
from trustgraph.api import Api, Triple
|
|
12
12
|
from trustgraph.log_level import LogLevel
|
|
13
13
|
|
|
14
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
14
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
15
15
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
16
16
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
17
17
|
default_collection = 'default'
|
|
@@ -10,7 +10,7 @@ from importlib import resources
|
|
|
10
10
|
from trustgraph.api import Api
|
|
11
11
|
from trustgraph.api.types import Uri, Literal, Triple
|
|
12
12
|
|
|
13
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
13
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
14
14
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
15
15
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
16
16
|
|
|
@@ -21,7 +21,7 @@ import logging
|
|
|
21
21
|
# Module logger
|
|
22
22
|
logger = logging.getLogger(__name__)
|
|
23
23
|
|
|
24
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
24
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
25
25
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
26
26
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
27
27
|
|
|
@@ -11,7 +11,7 @@ from typing import Iterator
|
|
|
11
11
|
from trustgraph.api import Api, Triple
|
|
12
12
|
from trustgraph.log_level import LogLevel
|
|
13
13
|
|
|
14
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
14
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
15
15
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
16
16
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
17
17
|
default_collection = 'default'
|
|
@@ -8,7 +8,7 @@ import sys
|
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
from trustgraph.api.types import ConfigValue
|
|
10
10
|
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
13
13
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
14
14
|
|
|
@@ -9,7 +9,7 @@ import msgpack
|
|
|
9
9
|
|
|
10
10
|
from trustgraph.api import Api
|
|
11
11
|
|
|
12
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
12
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
13
13
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
14
14
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
15
15
|
|
|
@@ -8,7 +8,7 @@ import os
|
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
import json
|
|
10
10
|
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
13
13
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ import msgpack
|
|
|
8
8
|
|
|
9
9
|
from trustgraph.api import Api
|
|
10
10
|
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
13
13
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
14
14
|
|
|
@@ -22,7 +22,7 @@ import os
|
|
|
22
22
|
import sys
|
|
23
23
|
from trustgraph.api import Api
|
|
24
24
|
|
|
25
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
25
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
26
26
|
default_collection = 'default'
|
|
27
27
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
28
28
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
@@ -7,7 +7,7 @@ import os
|
|
|
7
7
|
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
|
|
10
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
11
11
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
12
12
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
13
13
|
|
|
@@ -142,7 +142,7 @@ async def main(running):
|
|
|
142
142
|
description=__doc__,
|
|
143
143
|
)
|
|
144
144
|
|
|
145
|
-
default_url = os.getenv("TRUSTGRAPH_API", "http://localhost:
|
|
145
|
+
default_url = os.getenv("TRUSTGRAPH_API", "http://localhost:8888/")
|
|
146
146
|
collection = "default"
|
|
147
147
|
|
|
148
148
|
parser.add_argument(
|
|
@@ -7,7 +7,7 @@ import os
|
|
|
7
7
|
import tabulate
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
|
|
10
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
11
11
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
12
12
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
13
13
|
|
|
@@ -19,7 +19,7 @@ from trustgraph.api import Api, ConfigValue
|
|
|
19
19
|
import textwrap
|
|
20
20
|
import json
|
|
21
21
|
|
|
22
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
22
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
23
23
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
24
24
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
25
25
|
|
|
@@ -9,7 +9,7 @@ import json
|
|
|
9
9
|
import tabulate
|
|
10
10
|
import textwrap
|
|
11
11
|
|
|
12
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
12
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
13
13
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
14
14
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ import json
|
|
|
9
9
|
import tabulate
|
|
10
10
|
import textwrap
|
|
11
11
|
|
|
12
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
12
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
13
13
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
14
14
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
15
15
|
|
|
@@ -26,7 +26,7 @@ import tabulate
|
|
|
26
26
|
import textwrap
|
|
27
27
|
import dataclasses
|
|
28
28
|
|
|
29
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
29
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
30
30
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
31
31
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
32
32
|
|
|
@@ -7,7 +7,7 @@ import os
|
|
|
7
7
|
from trustgraph.api import Api
|
|
8
8
|
import json
|
|
9
9
|
|
|
10
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
11
11
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
12
12
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
13
13
|
|
|
@@ -34,7 +34,7 @@ from trustgraph.api import (
|
|
|
34
34
|
StepResult,
|
|
35
35
|
)
|
|
36
36
|
|
|
37
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
37
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
38
38
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
39
39
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
40
40
|
default_collection = 'default'
|
|
@@ -15,7 +15,7 @@ import os
|
|
|
15
15
|
import sys
|
|
16
16
|
from trustgraph.api import Api
|
|
17
17
|
|
|
18
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
18
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
19
19
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
20
20
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
21
21
|
default_collection = 'default'
|
|
@@ -9,7 +9,7 @@ import tabulate
|
|
|
9
9
|
from trustgraph.api import AsyncSocketClient
|
|
10
10
|
import json
|
|
11
11
|
|
|
12
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
12
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
13
13
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
14
14
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
15
15
|
|
|
@@ -7,8 +7,8 @@ import argparse
|
|
|
7
7
|
from trustgraph.api import Api
|
|
8
8
|
import os
|
|
9
9
|
|
|
10
|
-
default_metrics_url = "http://localhost:
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_metrics_url = "http://localhost:8888/api/metrics"
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
13
13
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
14
14
|
|
|
@@ -9,7 +9,7 @@ import tabulate
|
|
|
9
9
|
from trustgraph.api import Api, AsyncSocketClient
|
|
10
10
|
import json
|
|
11
11
|
|
|
12
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
12
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
13
13
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
14
14
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
15
15
|
|
|
@@ -12,7 +12,7 @@ import argparse
|
|
|
12
12
|
import os
|
|
13
13
|
from trustgraph.api import Api
|
|
14
14
|
|
|
15
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
15
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
16
16
|
default_collection = 'default'
|
|
17
17
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
18
18
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
@@ -6,7 +6,7 @@ import argparse
|
|
|
6
6
|
import os
|
|
7
7
|
from trustgraph.api import Api
|
|
8
8
|
|
|
9
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
9
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
10
10
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
11
11
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
12
12
|
|
|
@@ -8,7 +8,7 @@ import tabulate
|
|
|
8
8
|
from trustgraph.api import Api, ConfigKey
|
|
9
9
|
import json
|
|
10
10
|
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
13
13
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
14
14
|
|
|
@@ -6,7 +6,7 @@ import os
|
|
|
6
6
|
import tabulate
|
|
7
7
|
from trustgraph.api import Api
|
|
8
8
|
|
|
9
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
9
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
10
10
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
11
11
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
12
12
|
|
|
@@ -9,7 +9,7 @@ import json
|
|
|
9
9
|
import tabulate
|
|
10
10
|
import textwrap
|
|
11
11
|
|
|
12
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
12
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
13
13
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
14
14
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
15
15
|
|
|
@@ -13,7 +13,7 @@ import tabulate
|
|
|
13
13
|
from trustgraph.api import AsyncSocketClient
|
|
14
14
|
import json
|
|
15
15
|
|
|
16
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
16
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
17
17
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
18
18
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
19
19
|
|
|
@@ -6,7 +6,7 @@ import os
|
|
|
6
6
|
import requests
|
|
7
7
|
import argparse
|
|
8
8
|
|
|
9
|
-
default_metrics_url = "http://localhost:
|
|
9
|
+
default_metrics_url = "http://localhost:8888/api/metrics"
|
|
10
10
|
DEFAULT_TOKEN = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
11
11
|
|
|
12
12
|
def dump_status(metrics_url, token=None):
|
|
@@ -9,7 +9,7 @@ import json
|
|
|
9
9
|
import tabulate
|
|
10
10
|
import textwrap
|
|
11
11
|
|
|
12
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
12
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
13
13
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
14
14
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
15
15
|
|
|
@@ -11,7 +11,7 @@ import textwrap
|
|
|
11
11
|
|
|
12
12
|
tabulate.PRESERVE_WHITESPACE = True
|
|
13
13
|
|
|
14
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
14
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
15
15
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
16
16
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
17
17
|
|
|
@@ -17,7 +17,7 @@ import json
|
|
|
17
17
|
import tabulate
|
|
18
18
|
import textwrap
|
|
19
19
|
|
|
20
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
20
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
21
21
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
22
22
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
23
23
|
|
|
@@ -16,7 +16,7 @@ import tabulate
|
|
|
16
16
|
from trustgraph.api import Api
|
|
17
17
|
import json
|
|
18
18
|
|
|
19
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
19
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
20
20
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
21
21
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
22
22
|
|
|
@@ -6,7 +6,7 @@ import argparse
|
|
|
6
6
|
import os
|
|
7
7
|
from trustgraph.api import Api
|
|
8
8
|
|
|
9
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
9
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
10
10
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
11
11
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
12
12
|
|
|
@@ -8,7 +8,7 @@ import tabulate
|
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
import json
|
|
10
10
|
|
|
11
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
11
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
12
12
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
13
13
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
14
14
|
|
|
@@ -7,7 +7,7 @@ import argparse
|
|
|
7
7
|
import os
|
|
8
8
|
from trustgraph.api import Api
|
|
9
9
|
|
|
10
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
10
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
11
11
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
12
12
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
13
13
|
|
|
@@ -6,7 +6,7 @@ import argparse
|
|
|
6
6
|
import os
|
|
7
7
|
from trustgraph.api import Api
|
|
8
8
|
|
|
9
|
-
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:
|
|
9
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
10
10
|
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
11
11
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
12
12
|
default_flow = "default"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.8.6"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: trustgraph-cli
|
|
3
|
-
Version: 2.8.
|
|
3
|
+
Version: 2.8.6
|
|
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__ = "2.8.4"
|
|
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
|
{trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/sample_documents/belgian-beer.md
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/sample_documents/corporate-scandals.pdf
RENAMED
|
File without changes
|
{trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/sample_documents/history-of-pets.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-2.8.4 → trustgraph_cli-2.8.6}/trustgraph/cli/sample_documents/trade-routes-europe.md
RENAMED
|
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
|