Added entry point

This commit is contained in:
Cyber MacGeddon 2025-09-16 21:36:35 +01:00
parent 2138888865
commit 62a3d0175f
3 changed files with 9 additions and 2 deletions

View file

@ -96,6 +96,7 @@ prompt-template = "trustgraph.prompt.template:run"
rev-gateway = "trustgraph.rev_gateway:run"
run-processing = "trustgraph.processing:run"
structured-query = "trustgraph.retrieval.structured_query:run"
structured-diag = "trustgraph.retrieval.structured_diag:run"
text-completion-azure = "trustgraph.model.text_completion.azure:run"
text-completion-azure-openai = "trustgraph.model.text_completion.azure_openai:run"
text-completion-claude = "trustgraph.model.text_completion.claude:run"

View file

@ -1 +1,2 @@
# Structured data diagnosis service
# Structured data diagnosis service
from .service import *

View file

@ -386,4 +386,9 @@ class Processor(FlowProcessor):
except Exception as e:
logger.error(f"Error calling prompt service: {e}", exc_info=True)
return None
return None
def run():
"""Entry point for structured-diag command"""
Processor.launch(default_ident, __doc__)