[fix]document:pandas.read_excel error: Missing optional dependency 'python-calamine'.
This commit is contained in:
@@ -26,6 +26,7 @@ class Document(Base):
|
|||||||
"html4excel": False,
|
"html4excel": False,
|
||||||
"graphrag": {
|
"graphrag": {
|
||||||
"use_graphrag": False,
|
"use_graphrag": False,
|
||||||
|
"scene_name": "",
|
||||||
"entity_types": [
|
"entity_types": [
|
||||||
"organization",
|
"organization",
|
||||||
"person",
|
"person",
|
||||||
@@ -33,7 +34,9 @@ class Document(Base):
|
|||||||
"event",
|
"event",
|
||||||
"category"
|
"category"
|
||||||
],
|
],
|
||||||
"method": "general"
|
"method": "general",
|
||||||
|
"resolution": True,
|
||||||
|
"community": True
|
||||||
}
|
}
|
||||||
}, comment="default parser config")
|
}, comment="default parser config")
|
||||||
chunk_num = Column(Integer, default=0, comment="chunk num")
|
chunk_num = Column(Integer, default=0, comment="chunk num")
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ class Knowledge(Base):
|
|||||||
"html4excel": False,
|
"html4excel": False,
|
||||||
"graphrag": {
|
"graphrag": {
|
||||||
"use_graphrag": False,
|
"use_graphrag": False,
|
||||||
|
"scene_name": "",
|
||||||
"entity_types": [
|
"entity_types": [
|
||||||
"organization",
|
"organization",
|
||||||
"person",
|
"person",
|
||||||
@@ -72,7 +73,9 @@ class Knowledge(Base):
|
|||||||
"event",
|
"event",
|
||||||
"category"
|
"category"
|
||||||
],
|
],
|
||||||
"method": "general"
|
"method": "general",
|
||||||
|
"resolution": True,
|
||||||
|
"community": True
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
comment="default parser config")
|
comment="default parser config")
|
||||||
|
|||||||
@@ -135,6 +135,8 @@ dependencies = [
|
|||||||
"graspologic==3.4.5.dev2",
|
"graspologic==3.4.5.dev2",
|
||||||
"markdown-to-json==2.1.1",
|
"markdown-to-json==2.1.1",
|
||||||
"valkey==6.0.2",
|
"valkey==6.0.2",
|
||||||
|
"python-calamine>=0.4.0",
|
||||||
|
"xlrd==2.0.2"
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
|
|||||||
@@ -129,3 +129,5 @@ editdistance==0.8.1
|
|||||||
graspologic==3.4.5.dev2
|
graspologic==3.4.5.dev2
|
||||||
markdown-to-json==2.1.1
|
markdown-to-json==2.1.1
|
||||||
valkey==6.0.2
|
valkey==6.0.2
|
||||||
|
python-calamine>=0.4.0
|
||||||
|
xlrd==2.0.2
|
||||||
|
|||||||
Reference in New Issue
Block a user