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.

40 lines
1.1 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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