graphrag
graphrag copied to clipboard
fix for issue 515
Description
Fixes an issue with the prompt tuning. Prompts being generated were leading to an emptynetworkerror while the pipeline was running due to the **{record_delimiter}** that is being used to generate the examples for the prompts.
Related Issues
#515
Proposed Changes
changed the record_delimiter such that generated prompt has proper examples and created a readable entity_relationship graph.
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
I think that the LLM sometimes understands that asterisks are not needed and does not create the examples with them thats why it works at times. I have tested the changes they dont have any other impact.
@microsoft-github-policy-service agree