Skip to content

Update aws bedrock agent runtime gem #66372

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

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

cearachew
Copy link
Contributor

Update to the AWS bedrock agent runtime gem to support new API features in the retrieve and generate call

  • Guardrails support
  • model invocation output traces
  • orchestration configuration
  • streaming api
  • reranking support
  • performance configuration

This doesn't update the aws-sdk-bedrockagentruntime gem all the way to 1.57, because of conflicts with aws-google for the required aws-sdk-core version. This should be resolved later, but the update to 1.38 is enough for now. Conflict output:

Bundler could not find compatible versions for gem "aws-sdk-core":
  In Gemfile:
    aws-sdk-core

    aws-google (~> 0.2.3) was resolved to 0.2.3, which depends on
      aws-sdk-core (~> 3.211.0)

    aws-sdk-bedrockagentruntime (~> 1.39.0) was resolved to 1.39.0, which depends on
      aws-sdk-core (>= 3.216.0, ~> 3)

Links

Jira: https://codedotorg.atlassian.net/browse/AITT-1049

Testing story

This shouldn't require code or test changes. Local build worked ok (the required API fields for retrieveandgenerate didn't change), waiting on drone for more tests

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@cearachew
Copy link
Contributor Author

@cat5inthecradle can you take a look at this gem update?

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