graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

community_report_issue_slove

Open prasantpoudel opened this issue 1 year ago • 1 comments

1 .When the community report are generated, some time model give the rating in int format, but in code it accept as float. 2. When the community report are generated and parse by the code then due to "{{" throw the error like error in parsing the JSON. Converting the "{{" to "{" in the community report solves the error. And in the community report the required structure and # Grounding Rules are written 2 time. This is not necessary, we can delete the below one, this help to reduce the token size problem if we are running the LLMs model Locally.

Checklist

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

prasantpoudel avatar Aug 06 '24 09:08 prasantpoudel

@microsoft-github-policy-service agree

prasantpoudel avatar Aug 06 '24 23:08 prasantpoudel

We have a number of JSON formatting issues that are resolved with release 0.2.2. This may resolve the issues you are trying to address. Note that we do need the doubled braces because we do variable replacement.

natoverse avatar Aug 09 '24 18:08 natoverse