-
Notifications
You must be signed in to change notification settings - Fork 8
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
Feature Request: Add Google VertexAI Provider Support #19
Labels
💎 Bounty
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
provider
Comments
galkleinman
added
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
provider
labels
Dec 23, 2024
/bounty $300 |
💎 $300 bounty • traceloopSteps to solve:
Thank you for contributing to traceloop/hub! Add a bounty • Share on socials
|
/attempt #19
|
/attempt #19
|
8 tasks
💡 @Gmin2 submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
/attempt #19
|
35 tasks
💡 @onyedikachi-david submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
💎 Bounty
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
provider
Overview
Add support for Google VertexAI models as a new provider in the Hub. This will allow users to route their LLM requests to Google's models like Gemini through our unified API interface.
Background
Currently, Hub supports OpenAI, Anthropic, and Azure OpenAI providers (see
src/providers/mod.rs
). Adding Google VertexAI support will expand the available model options and give users more flexibility in choosing their LLM providers.Technical Details
New Provider Implementation
Create a new provider implementation in
src/providers/vertexai/
following the existing provider pattern. Reference implementation can be found hereRequired Components
Create a new module structure:
src/providers/vertexai/mod.rs
src/providers/vertexai/provider.rs
src/providers/vertexai/models.rs
Implement the Provider trait with the following methods (support streaming, non-streaming, tools, functions, multi modality etc...)
chat_completions
completions
embeddings
Add necessary request/response models for VertexAI API in
models.rs
Update the provider registry to include VertexAI
Configuration
Requirements
Resources
Definition of Done
Additional Notes
The text was updated successfully, but these errors were encountered: