-
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 AWS Bedrock Provider Support #20
Comments
/bounty $300 |
💎 $300 bounty • traceloopSteps to solve:
Thank you for contributing to traceloop/hub! Add a bounty • Share on socials
|
/attempt #20
|
/attempt #20 Options |
/attempt #20
|
💡 @Gmin2 submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
/attempt #20 Options |
hey @galkleinman , I'd like to extend the |
sounds good @detunjiSamuel |
Hey @nirga @galkleinman , just following up on my previous question. I just realised that including |
hmmm good point @detunjiSamuel! I think for simplicity I would just add them with default values. Can you open a separate issue for that so we can address it in the future? |
Overview
Add support for AWS Bedrock as a new provider in the Hub. This will allow users to route their LLM requests to AWS Bedrock models like Claude and Titan through our unified API interface.
Background
Currently, Hub supports OpenAI, Anthropic, Azure OpenAI and other providers (see
src/providers/mod.rs
). Adding AWS Bedrock support will expand the available model options and give users more flexibility in choosing their LLM providers, especially those already using AWS infrastructure.Technical Details
New Provider Implementation
Create a new provider implementation in
src/providers/bedrock/
following the existing provider pattern. Reference implementation can be found here.Required Components
Create a new module structure (support streaming, non-streaming, tools and function calling, multi-modality)
src/providers/bedrock/mod.rs
src/providers/bedrock/provider.rs
src/providers/bedrock/models.rs
Implement the Provider trait with the following methods:
chat_completions
completions
embeddings
Add necessary request/response models for Bedrock API in
models.rs
Update the provider registry to include Bedrock.
Configuration
Requirements
Resources
Definition of Done
Additional Notes
The text was updated successfully, but these errors were encountered: