pipeline-app/pipeline_core/models/pipeline_steps.json
yumoqing 9eccd08ffd feat: pipeline-app独立产线后端服务
3个业务模块:
- pipeline_core: 产线定义(pipelines/steps/versions)
- pipeline_ops: 运营(定价/供应量/使用记录)
- pipeline_dist: 分销(分销商/独立定价/API密钥)

- ahserver独立部署(端口9090)
- 独立数据库pipeline
- 80个文件, 符合module/db-table/crud三规范
2026-06-11 14:49:02 +08:00

111 lines
2.5 KiB
JSON

{
"summary": [
{
"name": "pipeline_steps",
"title": "产线步骤表",
"primary": [
"id"
]
}
],
"fields": [
{
"name": "id",
"title": "id",
"type": "str",
"length": 32,
"nullable": "no"
},
{
"name": "pipeline_id",
"title": "所属产线",
"type": "str",
"length": 32,
"nullable": "no"
},
{
"name": "step_order",
"title": "步骤序号",
"type": "int",
"nullable": "no"
},
{
"name": "step_name",
"title": "步骤名称",
"type": "str",
"length": 100,
"nullable": "no"
},
{
"name": "step_type",
"title": "步骤类型",
"type": "str",
"length": 50,
"nullable": "no"
},
{
"name": "model_name",
"title": "调用模型名称",
"type": "str",
"length": 100
},
{
"name": "step_config",
"title": "步骤配置JSON",
"type": "text"
},
{
"name": "input_schema",
"title": "输入定义JSON",
"type": "text"
},
{
"name": "output_schema",
"title": "输出定义JSON",
"type": "text"
},
{
"name": "timeout_seconds",
"title": "超时秒数",
"type": "int",
"default": "300"
},
{
"name": "retry_count",
"title": "重试次数",
"type": "int",
"default": "0"
},
{
"name": "created_at",
"title": "创建时间",
"type": "timestamp"
}
],
"indexes": [
{
"name": "idx_steps_pipeline",
"idxtype": "index",
"idxfields": [
"pipeline_id"
]
},
{
"name": "idx_steps_order",
"idxtype": "unique",
"idxfields": [
"pipeline_id",
"step_order"
]
}
],
"codes": [
{
"field": "pipeline_id",
"table": "pipelines",
"valuefield": "id",
"textfield": "name"
}
]
}