Skip to main content
AWS Polly is a text-to-speech plugin. It synthesizes the agent’s text responses into natural-sounding speech using Amazon Polly’s neural, standard, generative, and long-form voice engines.

Setup

Set your AWS access key in the worker environment. Get your access keys from the AWS console:

Usage

Import the plugin and pass it to the pipeline’s tts slot.
Python

Parameters

Synthesized audio is streamed back to the caller after the LLM produces a response.