graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

[Bug]: create_final_community_reports fails for gpt-4

Open miaomiaocui opened this issue 1 year ago • 3 comments

Do you need to file an issue?

  • [X] I have searched the existing issues and this bug is not already filed.
  • [X] My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
  • [X] I believe this is a legitimate bug, not just a question. If this is a question, please use the Discussions area.

Describe the bug

create_final_community_reports fails for gpt-4, but no issue with other OAI models such as gpt-4-turbo-preview or gpt-4o-mini

Steps to reproduce

change the model to gpt-4 in settings.yaml, and run python -m graphrag.index --root ./ragtest

Expected Behavior

❌ create_final_community_reports None ⠹ GraphRAG Indexer ├── Loading Input (InputFileType.text) - 2 files loaded (1 filtered) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 0:00:00 ├── create_base_text_units ├── create_base_extracted_entities ├── create_summarized_entities ├── create_base_entity_graph ├── create_final_entities ├── create_final_nodes ├── create_final_communities ├── join_text_units_to_entity_ids ├── create_final_relationships ├── join_text_units_to_relationship_ids └── create_final_community_reports ❌ Errors occurred during the pipeline run, see logs for more details.

GraphRAG Config Used

# Paste your config here

Logs and screenshots

No response

Additional Information

  • GraphRAG Version:
  • Operating System:
  • Python Version:
  • Related Issues:

miaomiaocui avatar Jul 27 '24 01:07 miaomiaocui