Skip to contents

Set the endpoint for Speech in Foundry Tools. This endpoint is used by foundry_transcribe() and foundry_translate_audio() when service = "speech".

Usage

foundry_set_speech_endpoint(endpoint)

Arguments

endpoint

Character. Speech endpoint URL.

Value

Invisibly returns the endpoint that was set.

Examples

if (FALSE) { # \dontrun{
foundry_set_speech_endpoint(Sys.getenv("AZURE_FOUNDRY_SPEECH_ENDPOINT"))
} # }