Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
14 changes: 14 additions & 0 deletions src/types/openapi.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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'.
Expand Down