graphrag
graphrag copied to clipboard
In windows prompts cannot be chinese refer to pathlib read_text
Description
In windows , prompts cannot be chinese , because pathlib read_text default to use gbk to read prompts file;
Proposed Changes
pathlib read_text add encoding=utf-8 params
Checklist
- [ *] I have tested these changes locally.
- [ *] I have reviewed the code changes.
- [ *] I have updated the documentation (if necessary).
- [ *] I have added appropriate unit tests (if applicable).