Generate training data and cost-effectively train categorical models with Amazon Bedrock