Skip to content
providerkit
GitHub

PresetTranscription

Defined in: core/src/presets.ts:89

What a preset’s endpoint can do besides chat: turn a recording into text. Absent means it cannot, or that nobody has read its documentation yet. createTranscriptionProvider (from @providerkit/core/transcription) is what reads this. Like PresetSpeech, these are facts about the vendor’s own host, and none of them follow a caller who sets baseUrl.

optional baseUrl?: string;

Defined in: core/src/presets.ts:92

Defaults to the preset’s own baseUrl.


optional defaultModel?: string;

Defined in: core/src/presets.ts:94

The model the vendor recommends, when it names one.


optional models?: readonly string[];

Defined in: core/src/presets.ts:96

Representative model ids, as in ProviderPreset.models.


shape: "openai";

Defined in: core/src/presets.ts:90