graphrag
graphrag copied to clipboard
[bug fix]Fix strategy config in entity_extraction
Description
When I config strategy with nltk type for entity_extraction, it doesn't take effect.
Related Issues
Proposed Changes
- read strategy from config and set it to EntityExtractionConfig, default is
Nonewhich is aligned the definition of the field strategy. - auto file format using
poetry run poe formatto fix error report
Checklist
- [x] I have tested these changes locally.
- [x] I have reviewed the code changes.
- [ ] I have updated the documentation (if necessary).
- [ ] I have added appropriate unit tests (if applicable).
Additional Notes
[Add any additional notes or context that may be helpful for the reviewer(s).]
@AlonsoGuevara do you know what may cause this unit test fail? Actually, it's succeed in my local Mac, it is weird.
azurite --blobHost 127.0.0.1 --blobPort 10000
poetry run poe test_unit
Merged in #1046