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

57 lines
1.2 KiB
YAML
Raw Permalink 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: 90000
dependencies:
system:
- name: node
check: "node --version"
interface:
input:
imageUrl:
type: string
required: false
description: 发票图片URL给多模态模型查看
imageBase64:
type: string
required: false
description: 发票图片base64给多模态模型查看
pdfUrl:
type: string
required: false
description: 发票PDF URL给多模态模型查看
pdfBase64:
type: string
required: false
description: 发票PDF base64给多模态模型查看
modelResult:
type: object
required: false
description: 多模态模型识别后的JSON对象或JSON字符串
ocrResult:
type: object
required: false
description: modelResult别名
mockResult:
type: object
required: false
description: 联调用JSON对象或JSON字符串
fields:
type: object
required: false
description: 已识别字段对象
output:
success:
type: boolean
needsModelVision:
type: boolean
fields:
type: object
raw:
type: object
prompt:
type: string
error:
type: string