I encountered an error while testing the example microsoft/graphrag/examples/entity_extraction: graphrag.index.errors.UnknownWorkflowError: Unknown workflow: entity_extraction.
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
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.
Expected Behavior
No response
GraphRAG Config Used
No response
Logs and screenshots
No response
Additional Information
- GraphRAG Version:
- Operating System:
- Python Version:
- Related Issues:
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.
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.
This issue has been closed after being marked as stale for five days. Please reopen if needed.
I have got the same error message. I am testing an examples of entity extraction. testing the example microsoft/graphrag/examples/entity_extraction: The unknown workflow error.
Has anyone solved this error.