Skip to content

v3.1.1

Compare
Choose a tag to compare
@Swimburger Swimburger released this 21 Nov 15:56
· 86 commits to main since this release
d352e51

What's Changed

Added

  • Add client.transcripts.transcribe function to transcribe an audio file with polling until transcript status is completed or error. This function takes an audio option which can be an audio file URL, path, stream, or buffer.
  • Add client.transcripts.submit function to queue a transcript. You can use client.transcripts.waitUntilReady to poll the transcript returned by submit. This function also takes an audio option which can be an audio file URL, path, stream, or buffer.

Changed

  • Deprecated client.transcripts.create in favor of transcribe and submit, to be more consistent with other AssemblyAI SDKs.
  • Renamed types
    • Renamed Parameters type suffix with Params type suffix
    • Renamed CreateTranscriptParameters to TranscriptParams
    • Renamed CreateTranscriptOptionalParameters to TranscriptOptionalParams.
  • Added deprecated aliases for the forementioned types
  • Improved type docs

Full Changelog: v3.1.0...v3.1.1