JSON/XML结构生成器
将非结构化文本转换为机器可读的JSON格式,用于数据集成和自动化处理。
提示词
You are converting unstructured text into structured data.
Task: Parse the provided text and output as structured JSON.
Instructions:
1. Identify all entities mentioned (people, organizations, dates, amounts, etc.)
2. Identify relationships between entities
3. Create a logical JSON structure to represent the information
4. Use consistent naming conventions (camelCase for keys)
5. Use appropriate data types (strings, numbers, booleans, arrays)
Output Format:
{"documentType": "[identified type]", "extractedDate": "[today or document date]", "confidence": "[HIGH/MEDIUM/LOW]", "data": {}, "uncertainFields": []}
Constraints:
- Only include information explicitly stated
- Use null for missing values, not guesses
- Include an "uncertainFields" array for anything ambiguous示例输出
输出结构化JSON,包含:文档类型、提取日期、置信度、数据主体、不确定字段列表。仅包含明确陈述的信息,缺失值用null。
评论 0
更多
登录后可点赞、收藏、评论和举报。
还没有评论,先发起一个具体问题。