microsoft / graphrag

A modular graph-based Retrieval-Augmented Generation (RAG) system
https://microsoft.github.io/graphrag/
MIT License
20.04k stars 1.96k forks source link

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

Closed dustelf closed 4 months ago

dustelf commented 4 months ago

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

jgbradley1 commented 4 months ago

Please provide more detail about the bug you are experiencing.

dustelf commented 4 months ago

my

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

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

WeiminLee commented 4 months ago

You should change the default prompt for entity extraction.

dustelf commented 4 months ago

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

Trip1ewhy commented 4 months ago

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

dustelf commented 4 months ago

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

都改了呀

WeiminLee commented 4 months ago

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

natoverse commented 4 months ago

Consolidating language support issues here: #696