mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 20:51:02 +02:00
Added entry point
This commit is contained in:
parent
2138888865
commit
62a3d0175f
3 changed files with 9 additions and 2 deletions
|
|
@ -96,6 +96,7 @@ prompt-template = "trustgraph.prompt.template:run"
|
||||||
rev-gateway = "trustgraph.rev_gateway:run"
|
rev-gateway = "trustgraph.rev_gateway:run"
|
||||||
run-processing = "trustgraph.processing:run"
|
run-processing = "trustgraph.processing:run"
|
||||||
structured-query = "trustgraph.retrieval.structured_query: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 = "trustgraph.model.text_completion.azure:run"
|
||||||
text-completion-azure-openai = "trustgraph.model.text_completion.azure_openai:run"
|
text-completion-azure-openai = "trustgraph.model.text_completion.azure_openai:run"
|
||||||
text-completion-claude = "trustgraph.model.text_completion.claude:run"
|
text-completion-claude = "trustgraph.model.text_completion.claude:run"
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
# Structured data diagnosis service
|
# Structured data diagnosis service
|
||||||
|
from .service import *
|
||||||
|
|
@ -387,3 +387,8 @@ class Processor(FlowProcessor):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Error calling prompt service: {e}", exc_info=True)
|
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__)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue