graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

unicode-output-in-another-language-sloved

Open prasantpoudel opened this issue 1 year ago • 0 comments

when the community report are generated , many part of the report the result are "title": "\u5343\u6210\u5de5\u696d\u682a\u5f0f\u4f1a\u793e like unicode format.

This is caused by not doing ensure_ascii=False in json.dumps. I solved this by changing the class FileWorkflowCallbacks in file_workflow_callbacks.py. #816

Checklist

  • [x] I have tested these changes locally.
  • [x] I have reviewed the code changes.
  • [ ] I have updated the documentation (if necessary).
  • [ ] I have added appropriate unit tests (if applicable).

prasantpoudel avatar Aug 07 '24 00:08 prasantpoudel