Learn R Programming

stt.api (version 0.2.1)

set_stt_base: Set the API Base URL

Description

Sets the base URL for OpenAI-compatible STT endpoints.

Usage

set_stt_base(url)

Value

Invisibly returns the previous value.

Arguments

url

Character string. The base URL (e.g., "http://localhost:4123" or "https://api.openai.com").

Examples

Run this code
set_stt_base("http://localhost:4123")
getOption("stt.api_base")

Run the code above in your browser using DataLab