
The SAM template deploys a Step Functions workflow that creates custom model by fine tuning Amazon Bedrock Cohere Command Light model.
start-execution api command with the input payload in JSON format.CreateModelCustomizationJob API to fine tune Cohere Command Light model with the traing data from the Amazon S3 bucket.CreateModelCustomizationJob.Cohere Command Light is created, the workflow invokes Amazon Bedrock's CreateProvisionedModelThroughput API to create a Provisioned Throughput with no commitment.
git clone https://github.com/aws-samples/step-functions-workflows-collection/tree/main/stepfunctions-bedrock-model-customisation-sam/cd step-functions-workflows-collection/stepfunctions-bedrock-model-customisation-sam
sam deploy --guided
sam delete