View Code? Open in Web Editor
NEW
An example of Amazon Bedrock Agent integration with external APIs via Lambda.
Home Page: https://devalent.com/blog/machine-to-machine-communication-of-ai-agents-in-aws-bedrock/
m2m-ai-agents-on-aws-bedrock's Introduction
AWS Bedrock Agent Example
- Run
npm i
- Go to AWS Bedrock console, then "Model Access", click "Manage model access" and check "Anthropic - Claude Instant". Submit use case details if needed.
- Make sure that the terminal has AWS credentials configured.
npm run deploy
- deploy the service and all required resources to AWS (us-east-1
region);
npm run dispose
- remove all deployed resources;
npm run invoke
- call the question API with test data (src/functions/question/mock.json
);
npm run invoke:local
- same as above, but runs the function locally;
m2m-ai-agents-on-aws-bedrock's People
Contributors
Stargazers
Watchers