Skip to content

Setup with Speech

The ai init speech command initializes the Azure Speech resource. This command is used to select or create an Azure Speech resource. The Azure Speech resource is required to use the Azure Speech service.

If you don't have the ai CLI installed ...

Before you begin, you'll need to install the ai CLI.

Install the ai CLI

Select or create Azure Speech resource
ai init speech

STEP 1: ⇛ Select your Azure subscription
STEP 2: ⇛ Select or create your Azure Speech resource

View Configuration

To view the persisted configuration, use the following commands:

Get speech endpoint
ai config @speech.endpoint
Get speech key
ai config @speech.key