Skip to content

Commit 0f29ab1

Browse files
authored
Merge pull request #120 from AssemblyAI/EA17A79D514289B819B9AE7C9AB1132F
feat: `de_ch` support 🇨🇭
2 parents 957d305 + eb6e037 commit 0f29ab1

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ TEST_TRANSCRIPT_IDS=...
5555
## Generate types from OpenAPI and AsyncAPI spec
5656

5757
1. Configure the location of the OpenAPI and AsyncAPI spec as environment variables:
58+
5859
- `OPENAPI_SPEC`: Path or URL to the AssemblyAI OpenAPI spec
5960
- `ASYNCAPI_SPEC`: Path or URL to the AssemblyAI AsyncAPI spec
6061

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "assemblyai",
3-
"version": "4.22.0",
3+
"version": "4.22.1",
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"

src/types/openapi.generated.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1704,6 +1704,10 @@ export type LanguageDetectionOptions = {
17041704
* Controls behavior when language confidence is below threshold. Either "error" (default) or "fallback".
17051705
*/
17061706
on_low_language_confidence?: string | null;
1707+
/**
1708+
* If True, route German language requests as Swiss German audio. Only applies when language_detection is enabled and German is detected.
1709+
*/
1710+
swiss_german?: boolean | null;
17071711
};
17081712

17091713
/**
@@ -2961,6 +2965,7 @@ export type TranscriptLanguageCode =
29612965
| "es"
29622966
| "fr"
29632967
| "de"
2968+
| "de_ch"
29642969
| "it"
29652970
| "pt"
29662971
| "nl"

0 commit comments

Comments
 (0)