assemblyai
Advanced tools
Changelog
[3.1.1] - 2023-11-21
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.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.client.transcripts.create
in favor of transcribe
and submit
, to be more consistent with other AssemblyAI SDKs.Parameters
type suffix with Params
type suffixCreateTranscriptParameters
to TranscriptParams
CreateTranscriptOptionalParameters
to TranscriptOptionalParams
.Changelog
[3.1.0] - 2023-11-16
AssemblyAI.transcripts.waitUntilReady
function to wait until a transcript is ready, meaning status
is completed
or error
.chars_per_caption
parameter to AssemblyAI.transcripts.subtitles
function.input_text
property to LeMUR functions. Instead of using transcript_ids
, you can use input_text
to provide custom formatted transcripts as input to LeMUR.client.transcripts.wordSearch
.Changelog
[3.0.1] - 2023-10-30
fetch
instead of Axios. This removes the Axios dependency. Axios relies on XMLHttpRequest which isn't supported in Cloudflare Workers, Deno, Bun, etc. By using fetch
, the SDK is now more compatible on the forementioned runtimes.speaker
property to the TranscriptUtterance
type, and removed channel
property.Changelog
[3.0.0] - 2023-10-24
AssemblyAI.files.upload
accepts streams and buffers, in addition to a string (path to file).AssemblyAI
as a named import like this: import { AssemblyAI } from 'assemblyai'
.Changelog
[2.0.2] - 2023-10-13
AssemblyAI.transcripts.wordSearch
searches for keywords in the transcript.AssemblyAI.lemur.purgeRequestData
deletes data related to your LeMUR request.RealtimeService.stream
creates a writable stream that you can write audio data to instead of using `RealtimeService.sendAudio``.Changelog
[2.0.1] - 2023-10-10
Re-implement the Node SDK in TypeScript and add all AssemblyAI APIs.