From b473f313651c06ee270d1ea50af357157d540f30 Mon Sep 17 00:00:00 2001 From: AssemblyAI Date: Thu, 12 Mar 2026 14:31:54 -0600 Subject: [PATCH] Project import generated by Copybara. GitOrigin-RevId: 0f654bfd21e8dd7be92dcecc843476e16f5fae05 --- CONTRIBUTING.md | 1 - README.md | 1 - package.json | 2 +- src/types/openapi.generated.ts | 10 ++++++++++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 84a272d..8e491bc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,7 +55,6 @@ TEST_TRANSCRIPT_IDS=... ## Generate types from OpenAPI and AsyncAPI spec 1. Configure the location of the OpenAPI and AsyncAPI spec as environment variables: - - `OPENAPI_SPEC`: Path or URL to the AssemblyAI OpenAPI spec - `ASYNCAPI_SPEC`: Path or URL to the AssemblyAI AsyncAPI spec diff --git a/README.md b/README.md index 5cb0148..7bd6b21 100644 --- a/README.md +++ b/README.md @@ -233,7 +233,6 @@ for (const paragraph of paragraphs) { for (const sentence of sentences) { console.log(sentence.text); } - ``` diff --git a/package.json b/package.json index c9f139e..d33ba5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "assemblyai", - "version": "4.26.1", + "version": "4.27.0", "description": "The AssemblyAI JavaScript SDK provides an easy-to-use interface for interacting with the AssemblyAI API, which supports async and real-time transcription, as well as the latest LeMUR models.", "engines": { "node": ">=18" diff --git a/src/types/openapi.generated.ts b/src/types/openapi.generated.ts index 11bcf0f..0373127 100644 --- a/src/types/openapi.generated.ts +++ b/src/types/openapi.generated.ts @@ -2889,6 +2889,11 @@ export type Transcript = { * Change how deterministic the response is, with 0 being the most deterministic and 1 being the least deterministic. */ + remove_audio_tags?: string | null; + /** + * When set to 'all', removes all bracketed audio/speaker tags (e.g. [MUSIC], [Speaker: A]) from the transcript. Only supported for Universal-3 Pro. + */ + text?: string | null; /** * True while a request is throttled and false when a request is no longer throttled @@ -3433,6 +3438,11 @@ export type TranscriptOptionalParams = { * Change how deterministic the response is, with 0 being the most deterministic and 1 being the least deterministic. */ + remove_audio_tags?: string | null; + /** + * When set to 'all', removes all bracketed audio/speaker tags (e.g. [MUSIC], [Speaker: A]) from the transcript. Only supported for Universal-3 Pro. + */ + topics?: string[]; /** * The header name to be sent with the transcript completed or failed webhook requests