Skip to content

does speech to text using AWS Transcribe and then can send the text to AWS Bedrock for polishing

Notifications You must be signed in to change notification settings

rogerroelofs/audiio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio Transcription App

This is a web application that captures audio using the Web Audio API and streams it to a server via WebSocket for transcription. The user can also send the transcribed text to an AI service for further processing.

Setup

  1. Install dependencies:

    npm install
  2. Get the AWS tokens and create the .env file:

    AWS_ACCESS_KEY_ID=
    AWS_SECRET_ACCESS_KEY=
    AWS_REGION=us-east-1
    

    Your IAM user needs access to both the Transcribe and Bedrock services. You can create the IAM user using the aws cli:

    aws iam create-user --user-name TranscribeBedrock_User
    aws iam create-policy --policy-name TranscribeBedrock_Policy --policy-document '{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "transcribe:*",
                "bedrock:InvokeModel"
            ],
            "Resource": "*"
        }
    ]
    }'
    aws iam attach-user-policy --user-name TranscribeBedrock_User --policy-arn arn:aws:iam::<your-account-id>:policy/TranscribeBedrock_Policy
    aws iam create-access-key --user-name TranscribeBedrock_User
  3. Start the server:

    npm run start

About

does speech to text using AWS Transcribe and then can send the text to AWS Bedrock for polishing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published