From 0fac541b6144b2283e4d3134ef7e33ea7eaf9fee Mon Sep 17 00:00:00 2001 From: fanpt <320622572@qq.com> Date: Sun, 25 May 2025 18:27:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=8F=96=E9=A2=86=E5=9F=9F=E6=BA=90?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=BB=A5=E5=8F=8A=E5=B1=9E=E6=80=A7=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../IntentMetadataExtractor.txt | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/IntentMetadataExtractor/IntentMetadataExtractor.txt b/IntentMetadataExtractor/IntentMetadataExtractor.txt index 7bfbc6e..85541fd 100644 --- a/IntentMetadataExtractor/IntentMetadataExtractor.txt +++ b/IntentMetadataExtractor/IntentMetadataExtractor.txt @@ -6,18 +6,24 @@ ## 输入数据 - 文本片段: {text} + - 可选意图标签: {IntentTypeList} + ## 输出要求 1. 分析文本内容,识别与意图标签相关的实体和关系 -2. 每一个意图只能匹配一个结果 +2. 每个结果应包含: + - source(来源实体) + - relation(关系) + - target(目标实体) + - intent(匹配的意图标签) 3. 每个实体/关系应包含: - type(类型) - attributes(相关属性列表) 4. 输出纯JSON格式,不要使用```json ```等任何Markdown标记包装 5. 使用以下示例格式: - +```json [ { "source": { @@ -33,8 +39,7 @@ "attributes": ["属性3"] }, "intent": "匹配的意图标签" - }, - {.....} + } ] -5. 属性只代表属性名称:例如“名称“,”数量“./no_think \ No newline at end of file +5. 属性只代表属性名称:例如“名称“,”数量“ \ No newline at end of file