Cross-language communicator with OpenAI Whisper and Bedrock
High level architecture:
Full design:
- Cognito Identity Pool with Guest (Unauthenticated) IAM Role
- Set the IAM Role policies for both guest and lambda (see the files client-policies.json & backend-policies.json)
- Lambda function, code is provided in the folder CommAILambda
- SQS Queue (standard type)
- S3 bucket for batch trascribe processing
- S3 static bucket and Cloudfront (optional if you want to publish and make it live)
- install the libraries
npm i
- Update the function.js file
- Update the config.json
- Build the function
npm run build
- Deploy the code by running
./update-function-code.sh
- install the libraries
npm i
- run it
npm run start
- to run build version
npm run start:build
Just run the command ./awsSetup.sh