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

JavaScript v3: Add code examples to demonstrate the InvokeModel actions with multiple foundation models #5930

Merged
merged 13 commits into from
Jan 19, 2024

Conversation

DennisTraub
Copy link
Collaborator

This pull request adds two JavaScript v3 code examples including their respective tests for the Amazon Bedrock Runtime API:

  • Text generation with Anthropic Claude (InvokeModel)
  • Text generation with AI21 Labs Jurassic-2 (InvokeModel)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the Javascript-v3 This issue relates to the AWS SDK for Javascript V3 label Jan 12, 2024
@DennisTraub DennisTraub force-pushed the bedrock-runtime/javascriptv3 branch 3 times, most recently from 913cbe3 to 5c56760 Compare January 12, 2024 23:21
Copy link
Contributor

@cpyle0819 cpyle0819 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requested a few changes.

@cpyle0819 cpyle0819 added Task A general update to the code base for language clarification, missing actions, tests, etc. Text Review not needed This contains no text which needs review labels Jan 16, 2024
@DennisTraub DennisTraub force-pushed the bedrock-runtime/javascriptv3 branch from 339ccca to 406505e Compare January 17, 2024 13:21
@DennisTraub DennisTraub force-pushed the bedrock-runtime/javascriptv3 branch 3 times, most recently from 1629aa7 to 77e5aea Compare January 18, 2024 16:37
@DennisTraub
Copy link
Collaborator Author

DennisTraub commented Jan 18, 2024

I can see there's a validation issue. Currently trying to reproduce locally and will fix.

Update: Done 👍

@cpyle0819 cpyle0819 added the On Call Review needed This work needs an on-call review label Jan 18, 2024
@DennisTraub DennisTraub force-pushed the bedrock-runtime/javascriptv3 branch from c45fd3d to d9ae60c Compare January 18, 2024 19:14
@DennisTraub DennisTraub force-pushed the bedrock-runtime/javascriptv3 branch from d9ae60c to 5e9b684 Compare January 19, 2024 15:34
@rlhagerm rlhagerm added On Call Review complete On call review complete and removed On Call Review needed This work needs an on-call review labels Jan 19, 2024
@rlhagerm rlhagerm merged commit ad65925 into awsdocs:main Jan 19, 2024
12 of 13 checks passed
@DennisTraub DennisTraub deleted the bedrock-runtime/javascriptv3 branch March 5, 2024 09:18
max-webster pushed a commit to max-webster/aws-doc-sdk-examples that referenced this pull request Mar 15, 2024
…ns with multiple foundation models (awsdocs#5930)



Co-authored-by: Dennis Traub <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Javascript-v3 This issue relates to the AWS SDK for Javascript V3 On Call Review complete On call review complete Task A general update to the code base for language clarification, missing actions, tests, etc. Text Review not needed This contains no text which needs review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants