OpenSPG/openspg

医疗图谱执行disease报错

Closed this issue · 3 comments

拜托大佬帮我看一下,执行“knext builder execute Disease”时的报错还是没有解决~
knext版本:0.0.3-beta1
Logs:
2024-06-30 09:13:16 (openspg_venv) root@docker-desktop:/# cd code
2024-06-30 09:13:35 (openspg_venv) root@docker-desktop:/code# cd python/knext/knext/examples/medicine/
2024-06-30 09:13:49 (openspg_venv) root@docker-desktop:/code/python/knext/knext/examples/medicine# knext schema commit
2024-06-30 09:13:52 There is no diff between local and server-side schema.
2024-06-30 09:13:56 (openspg_venv) root@docker-desktop:/code/python/knext/knext/examples/medicine# # 提交人体部位和医院部门概念导入任务
2024-06-30 09:14:00 (openspg_venv) root@docker-desktop:/code/python/knext/knextknext builder execute BodyPart,HospitalDepartment
2024-06-30 09:14:21 2024-06-30 01:14:21,690 [] [] [main] INFO c.a.o.c.i.g.GraphStoreClientDriverManager - registerDriver: com.antgroup.openspg.cloudext.impl.graphstore.tugraph.TuGraphStoreClientDriver@55b0dcab
2024-06-30 09:14:21 2024-06-30 01:14:21,694 [] [] [main] INFO c.a.o.c.u.DriverManagerUtils - DriverManager.initialize: cloudext.graphstore.drivers = null
2024-06-30 09:14:21 2024-06-30 01:14:21,695 [] [] [main] INFO c.a.o.c.i.g.GraphStoreClientDriverManager - graph-store DriverManager initialized
2024-06-30 09:14:22 2024-06-30 01:14:22,499 [] [] [main] INFO c.a.o.c.i.s.SearchEngineClientDriverManager - registerDriver: com.antgroup.openspg.cloudext.impl.searchengine.elasticsearch.ElasticSearchEngineClientDriver@5a411614
2024-06-30 09:14:22 2024-06-30 01:14:22,500 [] [] [main] INFO c.a.o.c.u.DriverManagerUtils - DriverManager.initialize: cloudext.searchengine.drivers = null
2024-06-30 09:14:22 2024-06-30 01:14:22,500 [] [] [main] INFO c.a.o.c.i.s.SearchEngineClientDriverManager - search-engine DriverManager initialized
2024-06-30 09:14:28 2024-06-30 01:14:28,088 [] [] [main] INFO c.a.o.b.r.l.r.BuilderMetric - type=COUNTER, name=default_job_error, count=0
2024-06-30 09:14:28 2024-06-30 01:14:28,093 [] [] [main] INFO c.a.o.b.r.l.r.BuilderMetric - type=METER, name=default_job_total, count=126, m1_rate=22.0, m5_rate=22.0, m15_rate=22.0, mean_rate=22.668329575025037, rate_unit=events/second
2024-06-30 09:14:29 2024-06-30 01:14:29,511 [] [] [main] INFO c.a.o.c.i.g.GraphStoreClientDriverManager - registerDriver: com.antgroup.openspg.cloudext.impl.graphstore.tugraph.TuGraphStoreClientDriver@55b0dcab
2024-06-30 09:14:29 2024-06-30 01:14:29,514 [] [] [main] INFO c.a.o.c.u.DriverManagerUtils - DriverManager.initialize: cloudext.graphstore.drivers = null
2024-06-30 09:14:29 2024-06-30 01:14:29,514 [] [] [main] INFO c.a.o.c.i.g.GraphStoreClientDriverManager - graph-store DriverManager initialized
2024-06-30 09:14:30 2024-06-30 01:14:30,193 [] [] [main] INFO c.a.o.c.i.s.SearchEngineClientDriverManager - registerDriver: com.antgroup.openspg.cloudext.impl.searchengine.elasticsearch.ElasticSearchEngineClientDriver@5a411614
2024-06-30 09:14:30 2024-06-30 01:14:30,194 [] [] [main] INFO c.a.o.c.u.DriverManagerUtils - DriverManager.initialize: cloudext.searchengine.drivers = null
2024-06-30 09:14:30 2024-06-30 01:14:30,195 [] [] [main] INFO c.a.o.c.i.s.SearchEngineClientDriverManager - search-engine DriverManager initialized
2024-06-30 09:14:34 2024-06-30 01:14:34,892 [] [] [main] INFO c.a.o.b.r.l.r.BuilderMetric - type=COUNTER, name=default_job_error, count=0
2024-06-30 09:14:34 2024-06-30 01:14:34,898 [] [] [main] INFO c.a.o.b.r.l.r.BuilderMetric - type=METER, name=default_job_total, count=144, m1_rate=0.0, m5_rate=0.0, m15_rate=0.0, mean_rate=30.838266214723163, rate_unit=events/second
2024-06-30 09:15:06 (openspg_venv) root@docker-desktop:/code/python/knext/knext/examples/medicine# knext builder execute Disease
2024-06-30 09:15:08 ERROR: cannot unpack non-iterable NoneType object

1、请使用最新的knext版本: 0.0.3b3
2、确保大模型的配置文件openai_infer.json 在当前环境能够正常调用并得到结果
3、如果还未解决请查看knext执行日志及堆栈信息以确定具体报错类

0.0.3b3这个版本是在哪个代码分支呢

0.0.3b3这个版本是在哪个代码分支呢

https://pypi.org/project/openspg-knext/0.0.3b3/