Wener Notes

GLM

约 1 分钟阅读

glm-ocr

yaml
default_prompt: >
  Recognize the text in the image and output in Markdown format.
  Preserve the original layout (headings/paragraphs/tables/formulas).
  Do not fabricate content that does not exist in the image.
task_prompt_mapping:
  text: 'Text Recognition:'
  table: 'Table Recognition:'
  formula: 'Formula Recognition:'

信息提取

text
请按下列JSON格式输出图中信息:
{
    "id_number": "",
    "last_name": "",
    "first_name": "",
    "date_of_birth": "",
    "address": {
        "street": "",
        "city": "",
        "state": "",
        "zip_code": ""
    },
    "dates": {
        "issue_date": "",
        "expiration_date": ""
    },
    "sex": ""
}

关联信息

反向链接、本文链接的其他页面和外部资料。

References

GitHub2 条
最近更新commit 4785a6bEdit

On this page