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

修改实体和关系提取方式,分为两步进行,首先提取实体,然后根据实体提取关系。 #401

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

bumaple
Copy link

@bumaple bumaple commented Dec 5, 2024

1.增加prompt_cn.py文件,改为使用中文方式提取实体和关系;
2.修改实体和关系提取方式,分为两步进行,首先提取实体,然后根据实体提取关系。

bumaple and others added 3 commits November 25, 2024 17:52
@LarFii
Copy link
Collaborator

LarFii commented Dec 5, 2024

非常感谢提供中文支持!提取方式那里分成两步会不会影响抽取速度呢,因为现在抽取阶段已经比较费时间了

bumaple added 10 commits December 9, 2024 10:22
# Conflicts:
#	README.md
#	examples/lightrag_ollama_demo.py
#	lightrag/base.py
#	lightrag/kg/oracle_impl.py
#	lightrag/lightrag.py
#	lightrag/llm.py
#	lightrag/operate.py
#	lightrag/utils.py
# Conflicts:
#	README.md
#	examples/lightrag_ollama_demo.py
#	lightrag/base.py
#	lightrag/kg/oracle_impl.py
#	lightrag/llm.py
#	lightrag/operate.py
2.增加按照Markdown方式分块。
# Conflicts:
#	lightrag/lightrag.py
#	lightrag/operate.py
# Conflicts:
#	lightrag/kg/tidb_impl.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants