microsoft / graphrag

A modular graph-based Retrieval-Augmented Generation (RAG) system
https://microsoft.github.io/graphrag/
MIT License
16.83k stars 1.58k forks source link

I encountered an error while testing the example microsoft/graphrag/examples/entity_extraction: graphrag.index.errors.UnknownWorkflowError: Unknown workflow: entity_extraction. #506

Closed hulonghua-devin closed 3 weeks ago

hulonghua-devin commented 1 month ago

Describe the bug

I encountered an error while testing the example microsoft/graphrag/examples/entity_extraction: graphrag.index.errors.UnknownWorkflowError: Unknown workflow: entity_extraction.

Steps to reproduce

I ran the following command: PYTHONPATH="$(pwd)" python examples/entity_extraction/with_graph_intelligence/run.py image However, when I tested /microsoft/graphrag/examples/custom_set_of_available_workflows, it passed. But when I changed my_workflow to entity_extraction in the code, it failed. What could be the reason? Is it a version issue with graphrag? The version is 0.1.1. 1720691303786

Expected Behavior

No response

GraphRAG Config Used

No response

Logs and screenshots

No response

Additional Information

albaNnaksqr commented 1 month ago

maybe you should follow the annotation: # should match the name of the workflow in the custom_workflows dict above and go to custom_workflow_definitions.py , change the name in custiom_workflows to see if it works.

github-actions[bot] commented 1 month ago

This issue has been marked stale due to inactivity after repo maintainer or community member responses that request more information or suggest a solution. It will be closed after five additional days.

github-actions[bot] commented 3 weeks ago

This issue has been closed after being marked as stale for five days. Please reopen if needed.