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

Add support for Bedrock Runtime API #423

Closed
davidmigloz opened this issue Jun 5, 2024 · 3 comments · Fixed by #424
Closed

Add support for Bedrock Runtime API #423

davidmigloz opened this issue Jun 5, 2024 · 3 comments · Fixed by #424

Comments

@davidmigloz
Copy link

Hi there!

First of all, thanks for your work, the project looks great.

I'm the maintainer of LangChain.dart and I've been researching how to integrate AWS Bedrock to support running inference on the models it supports.

Currently, there isn't a Dart AWS Bedrock client that I know of. But given the infrastructure you've developed, I think it will be fairly straightforward to add support for it to your project.

AWS Bedrock has 4 APIs:

In my case, I'm only interested in the Bedrock runtime, which is the one that allows you to run inference on the models.

Let me know if it's doable and how I can help with the implementation.

@isoos
Copy link
Contributor

isoos commented Jun 5, 2024

Since we are fetching the API definitions from this AWS repository, and it seems that the bedrock APIs are already there, I think it is mostly re-running the generator and publishing a new version, with a lot of finger crossing :)
https://github.com/aws/aws-sdk-js/tree/master/apis

I haven't done it for a while, but if nobody else picks it up, I shall find some time for it later this week.

@isoos
Copy link
Contributor

isoos commented Jun 5, 2024

Apparently it is more than just running the generator: the API definitions were expanded, there are new fields that may or may not be processed (I haven't reviewed them yet, just found out that we need to do more than a version upgrade).

@davidmigloz
Copy link
Author

oh wow that was quick, thanks!!
I'll give it a try 🙂

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 a pull request may close this issue.

2 participants