graphrag
graphrag copied to clipboard
Fix example in documentation to ensure it runs correctly.
Description
The updated code initializes the async function properly, imports necessary modules, and ensures the pipeline execution runs as intended. This makes the example functional and aligns with the expected usage of the run_pipeline method.
Related Issues
Proposed Changes
Checklist
- [x] I have tested these changes locally.
- [x] I have reviewed the code changes.
- [x] I have updated the documentation (if necessary).
- [ ] I have added appropriate unit tests (if applicable).