Skip to content

Commit 7fa896c

Browse files
authored
Merge pull request #81 from AssemblyAI/DAF0BAB42D2DA65E0EFFC2912E49A516
Sync from internal repo (2025-04-22)
2 parents 1e315c8 + 7154157 commit 7fa896c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "assemblyai",
3-
"version": "4.10.0",
3+
"version": "4.11.0",
44
"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.",
55
"engines": {
66
"node": ">=18"
@@ -96,7 +96,6 @@
9696
"test:unit": "jest --config jest.unit.config.js --testTimeout 1000",
9797
"test:integration": "jest --config jest.integration.config.js --testTimeout 360000",
9898
"format": "prettier --write --no-error-on-unmatched-pattern {*,**/*}",
99-
"generate:types": "tsx ./scripts/generate-types.ts && prettier 'src/types/*.generated.ts' --write",
10099
"generate:reference": "typedoc",
101100
"copybara:dry-run": "./copybara.sh dry_run --init-history",
102101
"copybara:pr": "./copybara.sh sync_out --init-history",

src/types/openapi.generated.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2960,6 +2960,10 @@ export type TranscriptOptionalParams = {
29602960
* @defaultValue false
29612961
*/
29622962
iab_categories?: boolean;
2963+
/**
2964+
* The list of key terms used to generate the transcript with the Slam-1 speech model. Can't be used together with `prompt`.
2965+
*/
2966+
keyterms_prompt?: string[];
29632967
/**
29642968
* The language of your audio file. Possible values are found in {@link https://www.assemblyai.com/docs/concepts/supported-languages | Supported Languages }.
29652969
* The default value is 'en_us'.
@@ -2985,6 +2989,10 @@ export type TranscriptOptionalParams = {
29852989
* @defaultValue false
29862990
*/
29872991
multichannel?: boolean;
2992+
/**
2993+
* The prompt used to generate the transcript with the Slam-1 speech model. Can't be used together with `keyterms_prompt`.
2994+
*/
2995+
prompt?: string;
29882996
/**
29892997
* Enable Automatic Punctuation, can be true or false
29902998
* @defaultValue true

0 commit comments

Comments
 (0)