35 lines
1.0 KiB
Markdown
35 lines
1.0 KiB
Markdown
|
|
# TYCM / AIflow 环车检测上下文
|
|||
|
|
|
|||
|
|
## TYCM 后端
|
|||
|
|
|
|||
|
|
- 后端是 Spring Boot 3 + RuoYi 单体服务,AIflow 调用入口为 `POST {aiflow.baseUrl}/open/netaclaw/chat`。
|
|||
|
|
- 订单和理赔回调都解析 `orderNo/status/reason/reportMarkdown`:
|
|||
|
|
- 订单:`/system/order/agent-invoke-callback`
|
|||
|
|
- 理赔:`/system/repair/agent-invoke-callback`
|
|||
|
|
- 环车视频字段常见来源:
|
|||
|
|
- 订单:`carVedio`。
|
|||
|
|
- 理赔:`vehicleVideo`、`expandVideo`。
|
|||
|
|
- 赛力斯多请求工作流:`surroundVideoUrl`。
|
|||
|
|
|
|||
|
|
## AIflow Skill Runtime
|
|||
|
|
|
|||
|
|
- compute-entry skill 通过 stdin 读取 JSON,stdout 必须只输出 JSON。
|
|||
|
|
- 进度事件写 stderr,格式为 JSON 行:`{"type":"process_event","stage":"...","message":"...","status":"running"}`。
|
|||
|
|
- 共享目录建议使用 `RZYX_AI_DATA_DIR/workspace/vehicle-scratch-inspection/{taskId}`。
|
|||
|
|
|
|||
|
|
## 产物约定
|
|||
|
|
|
|||
|
|
```text
|
|||
|
|
{workspace}/{taskId}/
|
|||
|
|
source/
|
|||
|
|
frames/
|
|||
|
|
marked_frames/
|
|||
|
|
best_frames/
|
|||
|
|
report/
|
|||
|
|
video_info.json
|
|||
|
|
damages.json
|
|||
|
|
grounding.json
|
|||
|
|
best_frames.json
|
|||
|
|
report/index.html
|
|||
|
|
```
|