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

Feature: Bedrock converse integration #678

Merged
merged 8 commits into from
Oct 23, 2024

Conversation

narengogi
Copy link
Collaborator

@narengogi narengogi commented Oct 14, 2024

Title:

  • This replaces the need to have a tokenizer for open source models hosted on AWS bedrock, converse is bedrock's unified gateway like implementation

Limitations:

Testing Done:

  • Verified stream chunk handing of older routes
  • Tool calling and Tool Responses in chat messages, single and multi turn
  • Chat Completions
  • Tested with different models
  • Tested prompting with images

Related Issues: (optional)

@narengogi narengogi requested a review from VisargD October 15, 2024 14:52
@narengogi narengogi force-pushed the feat/converse-api branch 2 times, most recently from 1a96228 to 84b2a6b Compare October 22, 2024 15:24
fix tool choice

fix tool choice

fix interface

add support for prompting with images

changes per comments

changes per comments

Add back support for Cohere command and AI21 Jurrasic 2 models because they are not supported by bedrock converse API

handle prompting with documents on bedrock converse

support prompting with documents
@VisargD VisargD merged commit 3c75441 into Portkey-AI:main Oct 23, 2024
1 check passed
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.

2 participants