aws-doc-sdk-examples
aws-doc-sdk-examples copied to clipboard
JavascriptV3: Invoke Agent Bedrock #6015
This pull request contains an example with @aws-sdk/client-bedrock-agent-runtime used to invoke an Agent. I have included a test case for the service function.
I couldn't reopen pr #6015 . Submitting with changes @cpyle0819
Hey, @Dinuda, have you looked at our existing "javascriptv3/bedrock-runtime? It has all of this and more. Please double-check and make sure that this PR is needed.
I spoke too soon. I see the difference. Nevermind.
It looks like this PR changes the quotes in all the model invocation examples in ../bedrock-runtime
, which isn't related to bedrock-agent-runtime
. I'm trying to keep them consistent across examples.
Question to @cpyle0819: Does it matter from your PoV if some examples use single quotes and some use double quotes for strings?
@DennisTraub Yes, we should be using double quotes. Please see instructions in the .git-hooks folder for setting up commit hooks to run code formatting on commit.