setVocabulary
Sets the project's Whisper vocabulary list so transcription spells names and technical terms correctly. An empty string clears it; re-transcribe assets to apply changes to existing transcripts.
Instructions
Set the project's vocabulary: the names and technical terms Whisper is primed with on every transcription of this project, so it spells them right (at most 600 characters, read as a plain list such as "OpenScreen, Vulkan, whisper.cpp"). An empty string clears it. It changes no existing transcript: transcribe the asset again for that. getCurrentDocument reports it as vocabulary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | The project to act on, from listProjects. Omit it only for the project open in the OpenScreen editor, which works only while the app runs. | |
| vocabulary | Yes |