Skip to content

fix: correct sort direction in episode_mentions_reranker#1512

Open
zhangshao2229 wants to merge 1 commit into
getzep:mainfrom
zhangshao2229:fix/episode-mentions-sort
Open

fix: correct sort direction in episode_mentions_reranker#1512
zhangshao2229 wants to merge 1 commit into
getzep:mainfrom
zhangshao2229:fix/episode-mentions-sort

Conversation

@zhangshao2229

Copy link
Copy Markdown

Fix sort direction in episode_mentions_reranker. Two changes: 1) float(inf) to 0 so zero-mention nodes sort to bottom 2) Added reverse=True for descending mention count. Closes #1342

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] episode_mentions_reranker sorts nodes ascending (fewest mentions first)

1 participant