Skip to content
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

feat: support bedrock as a provider #725

Merged
merged 8 commits into from
Jun 28, 2024
Merged

feat: support bedrock as a provider #725

merged 8 commits into from
Jun 28, 2024

Conversation

sxlijin
Copy link
Collaborator

@sxlijin sxlijin commented Jun 27, 2024

Fixes #707

Copy link

vercel bot commented Jun 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
baml ❌ Failed (Inspect) Jun 28, 2024 10:33am

sxlijin added 3 commits June 27, 2024 22:51
stash progress

make normal calling work... but really fkn hacky

fix build

start working on the version that uses the aws sdk

make aws client compile

remove a bunch of unused code warnings

streaming works for bedrock, but not for wasm

streaming works for bedrock, but not for wasm

the wasm32 build compiles!

wire up more details

push aws region into baml env vars

crank tracing up

another implementation that uses reqwest

start implementing a proper streaming http client for aws sdk

use byte_stream, which does exist

it compiles again

that was fucking hard

more cleanup

add support for images

fix error message

try no-cors

remove aws2

fix envrc

rename request options

implement converting the sdkerror

commit tests
@sxlijin sxlijin changed the title feat: bedrock support feat: support bedrock as a provider Jun 28, 2024
@sxlijin sxlijin merged commit c64c665 into canary Jun 28, 2024
7 of 8 checks passed
@sxlijin sxlijin deleted the sam/aws-bedrock branch June 28, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Offer Bedrock as a provider
1 participant