assemblyai
Advanced tools
Changelog
[4.2.0] - 2024-01-11
content_safety_confidence
to TranscriptParams
& TranscriptOptionalParams
.RealtimeService
now sends audio as binary instead of a base64-encoded JSON object.Changelog
[4.1.0] - 2023-12-22
"anthropic/claude-2-1"
to LemurModel
typeencoding
option to the real-time service and factory. encoding
can be "pcm_s16le"
or "pcm_mulaw"
."pcm_mulaw"
is a newly supported audio encoding for the real-time service.final_model
for LeMUR requestsChangelog
[4.0.1] - 2023-12-14
"assemblyai/mistral-7b"
to LemurModel
type@example
Format: uuid
if applicableChangelog
[4.0.0] - 2023-12-08
node
, deno
, bun
, browser
, and workerd
(Cloudflare Workers) exports to package.json. These exports are compatible versions of the SDK, with a few limitations in some cases. For more details, consult the SDK Compatibility document.dist/assemblyai.umd.js
and dist/assemblyai.umd.min.js
. You can reference these script files directly in the browser and the SDK will be available at the global assemblyai
variable.RealtimeService.sendAudio
accepts audio via type ArrayBufferLike
.RealtimeService.stream
returns a WHATWG Streams Standard stream, instead of a Node stream. In the browser, the native web standard stream will be used.ws
is used as the WebSocket client as before, but in the browser, the native WebSocket client is used.