View Source ExAzureSpeech.Config (ex_azure_speech v0.2.0)

Configuration module for the Azure Cognitive Services Speech SDK.

Summary

Functions

Returns a validated basic configuration for the Azure Cognitive Services Speech SDK.

Types

@type t() :: [region: binary(), auth_key: binary()]

Functions

@spec new(Keyword.t()) :: {:ok, t()} | {:error, NimbleOptions.ValidationError.t()}

Returns a validated basic configuration for the Azure Cognitive Services Speech SDK.

  • :region (String.t/0) - Required. The region where the Azure Cognitive Services is hosted, eg: 'westus'

  • :auth_key (String.t/0) - Required. The Subscription Key for the Azure Cognitive Services