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