[ADD]Add functions related to knowledge base graph:

Add functions related to knowledge base graph:
1. Entity type generation,
2. Knowledge base graph acquisition,
3. Hard deletion of knowledge base graph,
4. Knowledge base graph reconstruction (asynchronous)
This commit is contained in:
lixiangcheng1
2025-12-27 13:53:10 +08:00
parent 06f64809c3
commit a0c362244e
35 changed files with 6267 additions and 143 deletions

View File

@@ -60,7 +60,9 @@ dependencies = [
"wcwidth==0.2.14",
"websockets==15.0.1",
"requests==2.32.5",
"elastic-transport==8.17.0",
"elasticsearch==8.17.0",
"elasticsearch-dsl==8.17.0",
"xinference-client==1.11.0",
"langchain-ollama",
"chardet==5.2.0",
@@ -128,6 +130,11 @@ dependencies = [
"celery>=5.5.2",
"simpleeval>=1.0.3",
"langchain-aws>=1.0.0a1",
"networkx>=3.4.2",
"editdistance==0.8.1",
"graspologic>=3.4.1,<4.0.0",
"markdown-to-json==2.1.1",
"valkey==6.0.2",
]
[tool.pytest.ini_options]