文本信息提取与结构化输出
按指定结构从文本抽取字段并输出标准数据,保留原始值,对缺失字段和空数组统一处理。
完整提示词
Extract structured information from the following text.
Text:
{input_text}
Return ONLY valid JSON matching this schema (no markdown, no explanation, no code fences):
{json_schema}
Rules:
- If a field's value is not present in the text, use null - do not omit the key or invent a value
- For array fields with no items found, return an empty array, not null
- Preserve exact values from the text (names, numbers, dates) - do not reformat or normalize unless the schema specifies a format分类与标签
办公效率、信息提取、结构化数据、字段整理、缺失值处理