graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

fix for issue 515

Open fantom845 opened this issue 1 year ago • 1 comments

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.

fantom845 avatar Aug 14 '24 06:08 fantom845

@microsoft-github-policy-service agree

fantom845 avatar Aug 14 '24 06:08 fantom845