graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

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

Open hulonghua-devin opened this issue 1 year ago • 2 comments

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

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

hulonghua-devin avatar Jul 11 '24 09:07 hulonghua-devin

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.

albaNnaksqr avatar Jul 12 '24 09:07 albaNnaksqr

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] avatar Jul 27 '24 01:07 github-actions[bot]

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

github-actions[bot] avatar Aug 12 '24 01:08 github-actions[bot]

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. Image Has anyone solved this error.

akarim23131 avatar Nov 06 '24 20:11 akarim23131