v3.1.1
What's Changed
Added
- Add
client.transcripts.transcribe
function to transcribe an audio file with polling until transcript status iscompleted
orerror
. This function takes anaudio
option which can be an audio file URL, path, stream, or buffer. - Add
client.transcripts.submit
function to queue a transcript. You can useclient.transcripts.waitUntilReady
to poll the transcript returned bysubmit
. This function also takes anaudio
option which can be an audio file URL, path, stream, or buffer.
Changed
- Deprecated
client.transcripts.create
in favor oftranscribe
andsubmit
, to be more consistent with other AssemblyAI SDKs. - Renamed types
- Renamed
Parameters
type suffix withParams
type suffix - Renamed
CreateTranscriptParameters
toTranscriptParams
- Renamed
CreateTranscriptOptionalParameters
toTranscriptOptionalParams
.
- Renamed
- Added deprecated aliases for the forementioned types
- Improved type docs
Full Changelog: v3.1.0...v3.1.1