You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar issues.
Operating system information
Linux
What happened
Traceback (most recent call last):
File "/opt/conda/lib/python3.9/site-packages/kag/builder/component/extractor/kag_extractor.py", line 321, in invoke
sub_graph, entities = self.assemble_sub_graph_with_spg_records(entities)
File "/opt/conda/lib/python3.9/site-packages/kag/builder/component/extractor/kag_extractor.py", line 136, in assemble_s
if prop_name in spg_type.properties:
AttributeError: 'NoneType' object has no attribute 'properties'
INFO:kag.builder.component.extractor.kag_extractor: NoneType' object has no attribute 'properties'
使用医疗模板实现金融领域KAG,xlsx中包括7篇文章,但是indexer.py后只抽取并成功写入两篇,剩下5篇写入spo和chunk失败,后续重新抽取5篇文章,以一篇部分内容实现依旧没有写入本地知识库,抽取时会出现以上错误,回答问题时sub_answer: I don't know; docs: []; spo_retrieved:[]; exactly_match: False. 同时还会出现 query chunk failed: (400) , knext.common.rest.exceptions.ApiException: (400), Failed to invoke procedure 'db,index.fulltext.quermodes : caused by: org.apache.lucene.search.Indexsearcher$Tolanyclauses: maxclausecount is set to 1024
How to reproduce
代码没有开源,希望您根据我这边的问题,提出一个解决方案或者思路,拜托了
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Search before asking
Operating system information
Linux
What happened
Traceback (most recent call last):
File "/opt/conda/lib/python3.9/site-packages/kag/builder/component/extractor/kag_extractor.py", line 321, in invoke
sub_graph, entities = self.assemble_sub_graph_with_spg_records(entities)
File "/opt/conda/lib/python3.9/site-packages/kag/builder/component/extractor/kag_extractor.py", line 136, in assemble_s
if prop_name in spg_type.properties:
AttributeError: 'NoneType' object has no attribute 'properties'
INFO:kag.builder.component.extractor.kag_extractor: NoneType' object has no attribute 'properties'
使用医疗模板实现金融领域KAG,xlsx中包括7篇文章,但是indexer.py后只抽取并成功写入两篇,剩下5篇写入spo和chunk失败,后续重新抽取5篇文章,以一篇部分内容实现依旧没有写入本地知识库,抽取时会出现以上错误,回答问题时sub_answer: I don't know; docs: []; spo_retrieved:[]; exactly_match: False. 同时还会出现 query chunk failed: (400) , knext.common.rest.exceptions.ApiException: (400), Failed to invoke procedure 'db,index.fulltext.quermodes : caused by: org.apache.lucene.search.Indexsearcher$Tolanyclauses: maxclausecount is set to 1024
How to reproduce
代码没有开源,希望您根据我这边的问题,提出一个解决方案或者思路,拜托了
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: