graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

Fix sort_context max_tokens & max_tokens param in verb

Open andresmor-ms opened this issue 1 year ago • 0 comments

Description

Fix max_input_length configuration parameter for create_final_community_reports workflow.

Related Issues

#674

Proposed Changes

  • Fix bug in sort_context
  • Fix max_input_length not being used in prepare_community_reports verb (which caused the exceeding context flag to be wrongly set)
  • Updated unit test for sort_context

Checklist

  • [x] I have tested these changes locally.
  • [x] I have reviewed the code changes.
  • [ ] I have updated the documentation (if necessary).
  • [x] I have added appropriate unit tests (if applicable).

Additional Notes

andresmor-ms avatar Aug 09 '24 22:08 andresmor-ms