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(ai-proxy): AWS Bedrock driver #13054

Closed
wants to merge 57 commits into from

Conversation

tysoekong
Copy link
Contributor

@tysoekong tysoekong commented May 22, 2024

Summary

This is a draft PR that adds AWS Bedrock "chat inference" driver support.

Now Kong users can call a massive array of Anthropic, Cohere, Mistral, Amazon, Meta, AI21, and loads more models; all using the same flat format.

This is missing streaming support - I need to write a C/Lua decoder for the AWS application/vnd.amazon.eventstream format, and need e.g. Thijs help.

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Internal (KAI-38).

@tysoekong tysoekong changed the title Feat/ai proxy aws bedrock driver DRAFT: feat(ai-proxy): AWS Bedrock driver May 22, 2024
@tysoekong tysoekong force-pushed the feat/ai_proxy_aws_bedrock_driver branch from d7aa420 to 69cd75d Compare June 6, 2024 09:03
@tysoekong tysoekong force-pushed the feat/ai_proxy_aws_bedrock_driver branch from b84d205 to 567a9cb Compare June 28, 2024 16:10
@subnetmarco
Copy link
Member

@tysoekong Let's get this merged and remove the draft status.

@tysoekong tysoekong force-pushed the feat/ai_proxy_aws_bedrock_driver branch from d78873c to f5c477c Compare July 8, 2024 18:52
@tysoekong tysoekong marked this pull request as ready for review July 8, 2024 18:52
@tysoekong tysoekong changed the title DRAFT: feat(ai-proxy): AWS Bedrock driver feat(ai-proxy): AWS Bedrock driver Jul 8, 2024
@tysoekong tysoekong force-pushed the feat/ai_proxy_aws_bedrock_driver branch from f5c477c to 006699b Compare July 9, 2024 21:14
@tysoekong tysoekong force-pushed the feat/ai_proxy_aws_bedrock_driver branch from 523af5b to ceb3dfd Compare July 9, 2024 21:27
@tysoekong tysoekong closed this Jul 9, 2024
@tysoekong
Copy link
Contributor Author

This branch is a complete mess of rebases, I'm going to start this again.

fffonion pushed a commit that referenced this pull request Jul 30, 2024
Supersedes #13054 which was completely broken.

Adds AWS Bedrock "Converse API" support to Kong AI Gateway.

AG-14
oowl pushed a commit that referenced this pull request Aug 15, 2024
Supersedes #13054 which was completely broken.

Adds AWS Bedrock "Converse API" support to Kong AI Gateway.

AG-14

Co-authored-by: Jack Tysoe <91137069+tysoekong@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants