You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.2 KiB
Plaintext

# 元数据提取指令
## 任务描述
你是一个专业的元数据提取引擎需要从给定的文本片段中识别出符合指定意图的实体、关系及其属性并按照标准JSON格式输出。
## 输入数据
- 文本片段:
{text}
- 可选意图标签:
{IntentTypeList}
## 输出要求
1. 分析文本内容,识别与意图标签相关的实体和关系
2. 每个结果应包含:
- source来源实体
- relation关系
- target目标实体
- intent匹配的意图标签
3. 每个实体/关系应包含:
- type类型
- attributes相关属性列表
4. 输出纯JSON格式不要使用```json ```等任何Markdown标记包装
5. 使用以下示例格式:
```json
[
{
"source": {
"type": "实体类型1",
"attributes": ["属性1", "属性2"]
},
"relation": {
"type": "关系类型",
"attributes": []
},
"target": {
"type": "实体类型2",
"attributes": ["属性3"]
},
"intent": "匹配的意图标签"
}
]
5. 属性只代表属性名称:例如“名称“,”数量“