graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

为什么我的中文input会出现英文entity

Open dustelf opened this issue 1 year ago • 2 comments

Describe the bug

No response

Steps to reproduce

No response

Expected Behavior

No response

GraphRAG Config Used

No response

Logs and screenshots

image

Additional Information

  • GraphRAG Version:
  • Operating System:
  • Python Version:
  • Related Issues:

dustelf avatar Jul 18 '24 07:07 dustelf

Please provide more detail about the bug you are experiencing.

jgbradley1 avatar Jul 18 '24 20:07 jgbradley1

my

请提供有关您遇到的错误的更多详细信息。

My input files are all in Chinese, but the extracted entities are in English, and the descriptions are also in English image

dustelf avatar Jul 19 '24 01:07 dustelf

You should change the default prompt for entity extraction.

WeiminLee avatar Jul 19 '24 02:07 WeiminLee

You should change the default prompt for entity extraction. I've changed it before, but English still appears. image

dustelf avatar Jul 19 '24 02:07 dustelf

在query那边还有几个prompt是英文的

Trip1ewhy avatar Jul 19 '24 06:07 Trip1ewhy

在query那边还有几个prompt是英文的

都改了呀

dustelf avatar Jul 19 '24 07:07 dustelf

把全部的prompt 改成中文,就可以了。然后自己定义好entity type

WeiminLee avatar Jul 20 '24 00:07 WeiminLee

Consolidating language support issues here: #696

natoverse avatar Jul 25 '24 00:07 natoverse