Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neural Text to Speech Support #4

Open
jessedoyle opened this issue Nov 24, 2021 · 0 comments
Open

Neural Text to Speech Support #4

jessedoyle opened this issue Nov 24, 2021 · 0 comments

Comments

@jessedoyle
Copy link

jessedoyle commented Nov 24, 2021

Hello,

I noticed that boto3 now supports an additional engine property for voiceSettings when creating or updating a bot locale.

This value can be either standard or neural and allows for the use of Polly neural voice synthesis which results in a significantly better experience when interacting with a Lex bot.

When I attempted to use the new engine property with version 0.3.0 of this package from the Serverless Application Repository, the custom resource function produced the following error:

{
  "timestamp": "2021-11-24 00:02:37,490",
  "level": "ERROR",
  "location": "root.update_bot:484",
  "RequestType": "Update",
  "StackId": "arn:aws:cloudformation:us-east-1:1234567890:stack/StackName/StackId",
  "RequestId": "[FILTERED]",
  "LogicalResourceId": "Resource",
  "aws_request_id": "[FILTERED]",
  "message": "failed to create locale: 'engine'"
}

From what I can see, this new attribute was added in boto3 >= 1.20.9 (documentation).

I believe this custom resource can support the new property by simply updating the boto3 package to a newer version and publishing a new release to the Serverless Application Repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant