Learn R Programming

stt.api (version 0.2.1)

set_stt_key: Set the API Key

Description

Sets the API key for hosted STT services (e.g., OpenAI). Local servers typically ignore this.

Usage

set_stt_key(key)

Value

Invisibly returns the previous value.

Arguments

key

Character string. The API key.

Examples

Run this code
set_stt_key("test-key-123")
getOption("stt.api_key")

Run the code above in your browser using DataLab