Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uie可以做嵌套抽取吗? #8436

Open
gggdroa opened this issue May 14, 2024 · 3 comments
Open

uie可以做嵌套抽取吗? #8436

gggdroa opened this issue May 14, 2024 · 3 comments
Assignees
Labels
others unknown issue type

Comments

@gggdroa
Copy link

gggdroa commented May 14, 2024

问题描述

只能单关系吗?

比如:
schema = {'姓名': ['年龄', '住址', '性别', '检测指标']}
ie.set_schema(schema)
sen = """
张三,56岁,男,现住:北京
实验室及器械检查:血生化: 总胆固醇 3.81mmo1/d1,甘油三酯:2.07mmol/dl;血压180/110mmHg 心电图示:窦性心律过缓,心电轴正常:
"""
抽取结果如下:
image

还想抽取到指标对应的值,比如:总胆固醇-指标值- 3.81mmo1/d1 ,这个可以做到吗?

@gggdroa gggdroa added the others unknown issue type label May 14, 2024
@w5688414
Copy link
Contributor

不支持的,需要自己后处理,另外,推荐使用大模型

@gggdroa
Copy link
Author

gggdroa commented May 15, 2024

不支持的,需要自己后处理,另外,推荐使用大模型

'竞赛名称': ['主办方', '承办方', '已举办次数'] 只能抽一个类别的关系吗? 大模型准确度也堪忧呀

@lastrei
Copy link
Contributor

lastrei commented May 21, 2024

不支持的,需要自己后处理,另外,推荐使用大模型

'竞赛名称': ['主办方', '承办方', '已举办次数'] 只能抽一个类别的关系吗? 大模型准确度也堪忧呀

llm使用高质量prompts在单纯抽取方面可行,本地运行的小参数版本(2b,6b结合多agent亦可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
others unknown issue type
Projects
None yet
Development

No branches or pull requests

4 participants