Associating Library with a Project
To use custom vocabulary, associate your library with a BDA project. This can be done in two ways:
Option 1: Create Project with Library:
AWS CLI Example:
aws bedrock-data-automation create-data-automation-project \ --project-name "audio-transcription-project" \ --standard-output-configuration '{ "audio": { "extraction": { "category": { "state": "ENABLED", "types": ["TRANSCRIPTION"] } } } }' \ --data-automation-libraries '[{ "libraryArn": "arn:aws:bedrock:us-east-1:123456789012:data-automation-library/healthcare-vocabulary" }]'
AWS Console Example:
Navigate to the Bedrock "Data Automation" page
Create a project
Navigate to the project detail page
Choose "Associated library" tab
Choose "Associate a library" button
Choose a library by selecting the radio button next to it and choose the "Associate library" button
Option 2: Update Existing Project with library:
aws bedrock-data-automation update-data-automation-project \ --project-arn "arn:aws:bedrock:us-east-1:123456789012:data-automation-project/audio-transcription-project" \ --data-automation-libraries '[{ "libraryArn": "arn:aws:bedrock:us-east-1:123456789012:data-automation-library/healthcare-vocabulary" }]'
AWS Console Example:
Navigate to the "Library details" page for your library
Expand "Associated projects"
Choose "Associate projects"
Choose the projects to associate and choose "Associate project"