Closed ronchengang closed 4 months ago
And, the default prompt of community_report is strange. Duplicated TWO long parts of instructions aggravate financial burden of toiling masses.
And, the json part should use single '{' and '}', since they are using str.replace
instead of str.format
, which may lead to wrong json format generated by some stupid models.
So many bugs!
And, the default prompt of community_report is strange. Duplicated TWO long parts of instructions aggravate financial burden of toiling masses.
And, the json part should use single '{' and '}', since they are using
str.replace
instead ofstr.format
, which may lead to wrong json format generated by some stupid models.So many bugs!
The prompt will work with the GPT-4 model as reported in the paper. For some open-source models, it really needs prompt tuning. I am trying to edit it to get the best results with a local LLM model.
community_report
It was fixed at https://github.com/microsoft/graphrag/pull/405 , you should update the latest version of graphrag
I can see they have changed the key name from 'community_report' to 'community_reports' in init_content.py, this also works. This bug can be closed.
Describe the bug
the configuration of community_report was never read because in create_graphrag_config.py, it refers to a wrong key: community_reports
Steps to reproduce
change some config values for community_report section in settings.ymal, it never tasks effect.
Expected Behavior
No response
GraphRAG Config Used
No response
Logs and screenshots
No response
Additional Information