2023-10-26 10:34:08 +08:00

4 lines
994 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"ner": "已知实体类型(entity_type)包括:${schema}。假设你是一个专业的医学专家,请从下列文本中抽取所有实体(entity)。\n----文本----\n${input}\n----回答要求----\n1. 答案格式为:[{\"entity\": ,\"entity_type\": },]",
"re": "假设你是一个专业的医学专家请从文本中抽取关系。我们会首先提供文本然后会提供知识图谱schema再提供回答的具体要求最后是一个举例。\n----文本----\n${input}\n----知识图谱schema----\n${schema}\n----回答要求----\n1. 答案格式为json格式[{\"subject\":,\"predicate\":,\"object\":},]\n2. object要求简洁必须是中文如果object包含多个值请用英文逗号分隔\n3. 每一条关系必须属于知识图谱schema。\n----举例----\n文本为急性扁桃体炎通常伴有咽痛声嘶发热等症状。回答为{\"subject\":\"急性扁桃体炎\",\"predicate\":\"症状\",\"object\":\"咽痛,声嘶,发热\"}"
}