2026-05-20 21:39:12 +08:00

64 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

runtime: node
entrypoint: scripts/index.cjs
timeout: 120000
interface:
input:
rawText:
type: string
required: false
description: 上游 OCR 原文
lines:
type: array
required: false
description: OCR 行文本数组
imageUrl:
type: string
required: false
description: 保单图片 URL仅用于链路追踪当前脚本不直接 OCR 图片
expectedVin:
type: string
required: false
description: 订单 VIN用于置信度和告警
expectedOwnerName:
type: string
required: false
description: 订单车主姓名,用于置信度和告警
expectedPolicyNo:
type: string
required: false
description: 订单已填商业险保单号,用于置信度和告警
output:
success:
type: boolean
policyNo:
type: string
vin:
type: string
nameCandidates:
type: array
certificateNo:
type: string
certificateNoMasked:
type: boolean
plateNo:
type: string
engineNo:
type: string
usageNature:
type: string
startDate:
type: string
endDate:
type: string
hasVehicleDamageCoverage:
type: boolean
coverageEvidence:
type: array
confidence:
type: number
warnings:
type: array
rawText:
type: string