Skip to content

同一张票据,每次抽取的结果不一致 #128

@java-my-life

Description

@java-my-life

System Info / 系統信息

GLM-OCR

Who can help? / 谁可以帮助到您?

No response

Information / 问题信息

  • The official example scripts / 官方的示例脚本
  • My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程

系统提示词为:

请按下列JSON格式输出图中信息:
{
"invoiceCode": "",
"invoiceNumber": "",
"issueDate": "",
"preTaxAmount": "",
"taxAmount": "",
"totalAmount": "",
"buyerName": "",
"buyerTaxId": "",
"buyerBankAndAccount": "",
"buyerAddressPhone": "",
"sellerName": "",
"sellerTaxId": "",
"sellerBankAndAccount": "",
"sellerAddressPhone": "",
"remarks": ""
}

每次调用图片输出的结果都不一样,以下是原图与结果:

Image Image

Expected behavior / 期待表现

每次输出的结果是一致的,不会出现幻觉!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions