diff --git a/package.json b/package.json index 024f6c6..e9c5efc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "assemblyai", - "version": "4.23.0", + "version": "4.23.1", "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 8fad9e1..11bcf0f 100644 --- a/src/types/openapi.generated.ts +++ b/src/types/openapi.generated.ts @@ -1710,6 +1710,16 @@ export type LanguageDetectionOptions = { swiss_german?: boolean | null; }; +/** + * Options for controlling the behavior of Keyterms Prompting + */ +export type KeytermsPromptOptions = { + /** + * Strength of keyterm matching to be applied, either 'standard' or 'high'. + */ + keyterms_match_strength?: "high" | "standard" | null; +}; + /** * The speech model to use for the transcription. */ @@ -3298,6 +3308,10 @@ export type TranscriptOptionalParams = { * The list of key terms used to generate the transcript with the Slam-1 speech model. Can't be used together with `prompt`. */ keyterms_prompt?: string[]; + /** + * Advanced options for controlling the behavior of keyterms_prompt + */ + keyterms_prompt_options?: KeytermsPromptOptions; /** * The language of your audio file. Possible values are found in {@link https://www.assemblyai.com/docs/concepts/supported-languages | Supported Languages }. * The default value is 'en_us'.