Add VoyageRerankerClient for cross-encoder reranking#1194
Open
payk24 wants to merge 2 commits intogetzep:mainfrom
Open
Add VoyageRerankerClient for cross-encoder reranking#1194payk24 wants to merge 2 commits intogetzep:mainfrom
payk24 wants to merge 2 commits intogetzep:mainfrom
Conversation
- Add VoyageRerankerClient using Voyage AI rerank API - Add VoyageRerankerConfig for configuration (model, top_k, truncation) - Add VoyageRateLimitError for rate limit handling - Add lazy imports in cross_encoder/__init__.py - Add RerankerFactory and RerankerConfig for MCP server - Update Graphiti to support cross_encoder=None (disables reranking) - Add comprehensive tests following project patterns
Member
|
All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
prasmussen15
requested changes
Feb 3, 2026
Collaborator
prasmussen15
left a comment
There was a problem hiding this comment.
Can you address the linter errors?
- Add TYPE_CHECKING imports in __init__.py for VoyageReranker exports - Use TYPE_CHECKING pattern in voyage_reranker_client.py to match voyage.py - Replace sentinel pattern with use_default_cross_encoder bool param in Graphiti - Update search functions to accept CrossEncoderClient | None - Add null checks before cross_encoder.rank() calls with SearchRerankerError - Add noqa comment for optional VoyageRerankerClient import in factories.py
Author
Done |
lehcode
pushed a commit
to lehcode/reactive-graphiti
that referenced
this pull request
Feb 8, 2026
maskshell
pushed a commit
to maskshell/graphiti
that referenced
this pull request
Feb 9, 2026
maskshell
pushed a commit
to maskshell/graphiti
that referenced
this pull request
Feb 9, 2026
maskshell
pushed a commit
to maskshell/graphiti
that referenced
this pull request
Feb 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
VoyageRerankerClientusing Voyage AI rerank API for cross-encoder rerankingVoyageRerankerConfigfor configuration (model, top_k, truncation)VoyageRateLimitErrorfor rate limit handling with retry-after supportcross_encoder/__init__.pyto avoid import errors when voyageai is not installedRerankerFactoryandRerankerConfigfor MCP server to support configurable reranker backendsGraphitito supportcross_encoder=None(disables reranking)Test plan