KAG icon indicating copy to clipboard operation
KAG copied to clipboard

Medicine 例子prompt需要修改

Open sunCityDaa opened this issue 7 months ago • 1 comments

Search before asking

  • [x] I had searched in the issues and found no similar feature requirement.

Description

schema_free_extractor.py 处理LLM生成的key是name,而Medicine例子下所有prompt都是Entity,没有修改过来,导致NER为空,标准化也为空,SPO因为不太依赖于实体,不为空。可以参考kag/builder/prompt/medicine进行修改

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

sunCityDaa avatar Apr 29 '25 07:04 sunCityDaa

遇到同样问题,具体代码在schema_free_extractor.py:146

kukukakakeikei avatar Sep 09 '25 08:09 kukukakakeikei