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