39 lines
797 B
YAML
39 lines
797 B
YAML
runtime: node
|
||
entrypoint: scripts/index.cjs
|
||
timeout: 300000
|
||
|
||
dependencies:
|
||
system:
|
||
- name: node
|
||
check: "node -e \"process.exit(Number(process.versions.node.split('.')[0])>=18?0:1)\""
|
||
|
||
env:
|
||
- name: VEHICLE_SCRATCH_WORKSPACE_ROOT
|
||
required: false
|
||
- name: RZYX_AI_DATA_DIR
|
||
required: false
|
||
- name: RZYX_AI_WORKSPACE_ROOT
|
||
required: false
|
||
description: AIflow workspace根目录;未包含vehicle-scratch-inspection时会自动追加子目录
|
||
|
||
interface:
|
||
input:
|
||
taskId:
|
||
type: string
|
||
required: true
|
||
output:
|
||
success:
|
||
type: boolean
|
||
reportUrl:
|
||
type: string
|
||
totalDamages:
|
||
type: number
|
||
conditionScore:
|
||
type: number
|
||
summary:
|
||
type: string
|
||
reportMarkdown:
|
||
type: string
|
||
error:
|
||
type: string
|