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
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ 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

Expand Down
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.22.0",
"version": "4.22.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
5 changes: 5 additions & 0 deletions src/types/openapi.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1704,6 +1704,10 @@ export type LanguageDetectionOptions = {
* Controls behavior when language confidence is below threshold. Either "error" (default) or "fallback".
*/
on_low_language_confidence?: string | null;
/**
* If True, route German language requests as Swiss German audio. Only applies when language_detection is enabled and German is detected.
*/
swiss_german?: boolean | null;
};

/**
Expand Down Expand Up @@ -2961,6 +2965,7 @@ export type TranscriptLanguageCode =
| "es"
| "fr"
| "de"
| "de_ch"
| "it"
| "pt"
| "nl"
Expand Down