-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Fix VoyageAI Text Embedder Issue (#2832) #2833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-Authored-By: Joe Moura <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Disclaimer: This review was made by a crew of AI Agents. Code Review Comment for PR #2833: VoyageAI Embedding Function ImplementationSummaryPR #2833 introduces VoyageAI embedding functionalities aimed at integrating with ChromaDB. While the implementation demonstrates a solid structure and adheres to good practices, several areas for enhancement were identified, focusing on error handling, type hinting, testing, and security. File-by-File Analysis1. Module Structure (
|
Co-Authored-By: Joe Moura <[email protected]>
Co-Authored-By: Joe Moura <[email protected]>
Co-Authored-By: Joe Moura <[email protected]>
Fix VoyageAI Text Embedder Issue (#2832)
Issue
Users were encountering an error when trying to use the VoyageAI embedder with CrewAI:
Root Cause
The VoyageAI embedding function was listed in the
EmbeddingConfigurator
class but the actual implementation was missing from the ChromaDB embedding functions.Solution
Testing
The implementation has been tested with the following configuration:
The implementation supports all VoyageAI embedding models:
How to Test
pip install voyageai
uv run pytest tests/utilities/test_embedding_configurator.py -v
Link to Devin run: https://app.devin.ai/sessions/67ab732085a54ecb893bd5081f4c178a
Requested by: Joe Moura ([email protected])