agno
agno copied to clipboard
feat: Add LiteLLM embedder and reranker support
Summary
Implements LiteLLM unified interface support for embeddings and reranking as requested in Closes #4937.
Key Features
- Unified interface for multiple embedding providers via LiteLLM
- Support for batch processing and async operations
- Usage tracking and metadata extraction
(If applicable, issue number: #____)
Type of change
- [ ] Bug fix
- [x] New feature
- [ ] Breaking change
- [ ] Improvement
- [ ] Model update
- [ ] Other:
Checklist
- [x] Code complies with style guidelines
- [x] Ran format/validation scripts (
./scripts/format.shand./scripts/validate.sh) - [x] Self-review completed
- [ ] Documentation updated (comments, docstrings)
- [ ] Examples and guides: Relevant cookbook examples have been included or updated (if applicable)
- [x] Tested in clean environment
- [x] Tests added/updated (if applicable)
Additional Notes
Add any important context (deployment instructions, screenshots, security considerations, etc.)
Nice thanks !