@lumavox/server 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gen/types.gen.d.ts +26 -17
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -880,9 +880,9 @@ export type TranscribeAssetRequest = {
|
|
|
880
880
|
*/
|
|
881
881
|
asset_id: string;
|
|
882
882
|
/**
|
|
883
|
-
*
|
|
883
|
+
* `scribe_v2` (ElevenLabs, the default) or `inworld-stt-1` (Inworld, which takes no `num_speakers` or `tag_audio_events` and names no `language_code`).
|
|
884
884
|
*/
|
|
885
|
-
model?: 'scribe_v2';
|
|
885
|
+
model?: 'scribe_v2' | 'inworld-stt-1';
|
|
886
886
|
/**
|
|
887
887
|
* ISO-639-1 or -639-3 code. Omit it and the language is detected automatically. Set it when you already know -- detection is very good and not free of mistakes, and a wrong guess costs the whole transcript.
|
|
888
888
|
*
|
|
@@ -894,11 +894,11 @@ export type TranscribeAssetRequest = {
|
|
|
894
894
|
*/
|
|
895
895
|
diarize?: boolean;
|
|
896
896
|
/**
|
|
897
|
-
* The most speakers to look for, when `diarize` is on. Ignored otherwise. Setting it when you know the number improves the labelling; leaving it out lets the provider decide.
|
|
897
|
+
* The most speakers to look for, when `diarize` is on. Ignored otherwise. Setting it when you know the number improves the labelling; leaving it out lets the provider decide. Not with `inworld-stt-1`, which is a 422.
|
|
898
898
|
*/
|
|
899
899
|
num_speakers?: number | null;
|
|
900
900
|
/**
|
|
901
|
-
* Mark laughter, applause and similar in the transcript, as `(laughter)`-style entries with `type: audio_event`.
|
|
901
|
+
* Mark laughter, applause and similar in the transcript, as `(laughter)`-style entries with `type: audio_event`. Not with `inworld-stt-1`, which is a 422.
|
|
902
902
|
*/
|
|
903
903
|
tag_audio_events?: boolean;
|
|
904
904
|
/**
|
|
@@ -1963,7 +1963,7 @@ export type AgentSummary = {
|
|
|
1963
1963
|
/**
|
|
1964
1964
|
* Voice and model settings.
|
|
1965
1965
|
*
|
|
1966
|
-
* **A speaking agent speaks on `eleven_flash_v2_5
|
|
1966
|
+
* **A speaking agent speaks on `eleven_flash_v2_5` or `eleven_multilingual_v2` with an ElevenLabs voice, and on `inworld-tts-2-flash` or `inworld-tts-2` with an Inworld one** — unset, the voice's provider's fastest — with any voice from `GET /v1/voices` that offers it. `eleven_v3` is refused with 422 when `voice_enabled` is true: it cannot stream over the socket agents use. An agent that does not speak may leave this unset.
|
|
1967
1967
|
*/
|
|
1968
1968
|
voice_config: AgentVoiceInfo | null;
|
|
1969
1969
|
/**
|
|
@@ -2002,9 +2002,9 @@ export type AgentSttInfo = {
|
|
|
2002
2002
|
*/
|
|
2003
2003
|
mark_spoken: boolean | null;
|
|
2004
2004
|
/**
|
|
2005
|
-
* Transcription model for this agent's spoken turns. Unset or null means the platform's default model, and follows it if that default ever changes.
|
|
2005
|
+
* Transcription model for this agent's spoken turns: `scribe_v2` (ElevenLabs) or `inworld-stt-1` (Inworld), each heard as the person speaks. A `model` on `user_audio.start` overrides it for one recording. Unset or null means the platform's default model, `scribe_v2`, and follows it if that default ever changes.
|
|
2006
2006
|
*/
|
|
2007
|
-
model: 'scribe_v2' | null;
|
|
2007
|
+
model: 'scribe_v2' | 'inworld-stt-1' | null;
|
|
2008
2008
|
/**
|
|
2009
2009
|
* Hz of the PCM a client sends on `/v1/agent/stream`. One of 8000, 16000, 22050, 24000, 44100.
|
|
2010
2010
|
*
|
|
@@ -2020,7 +2020,7 @@ export type AgentVoiceInfo = {
|
|
|
2020
2020
|
*/
|
|
2021
2021
|
format: 'wav' | 'pcm' | null;
|
|
2022
2022
|
/**
|
|
2023
|
-
* Which model speaks
|
|
2023
|
+
* Which model speaks, one the voice lists as `models` in `GET /v1/voices`: for an ElevenLabs voice `eleven_flash_v2_5` or `eleven_multilingual_v2`, for an Inworld voice `inworld-tts-2-flash` or `inworld-tts-2`. Unset is the voice's provider's fastest — `eleven_flash_v2_5` or `inworld-tts-2-flash`.
|
|
2024
2024
|
*/
|
|
2025
2025
|
model: string | null;
|
|
2026
2026
|
/**
|
|
@@ -2260,7 +2260,7 @@ export type AgentInfo = {
|
|
|
2260
2260
|
/**
|
|
2261
2261
|
* Voice and model settings.
|
|
2262
2262
|
*
|
|
2263
|
-
* **A speaking agent speaks on `eleven_flash_v2_5
|
|
2263
|
+
* **A speaking agent speaks on `eleven_flash_v2_5` or `eleven_multilingual_v2` with an ElevenLabs voice, and on `inworld-tts-2-flash` or `inworld-tts-2` with an Inworld one** — unset, the voice's provider's fastest — with any voice from `GET /v1/voices` that offers it. `eleven_v3` is refused with 422 when `voice_enabled` is true: it cannot stream over the socket agents use. An agent that does not speak may leave this unset.
|
|
2264
2264
|
*/
|
|
2265
2265
|
voice_config: AgentVoiceInfo | null;
|
|
2266
2266
|
/**
|
|
@@ -2499,7 +2499,7 @@ export type AgentCreateRequest = {
|
|
|
2499
2499
|
/**
|
|
2500
2500
|
* Voice and model settings.
|
|
2501
2501
|
*
|
|
2502
|
-
* **A speaking agent speaks on `eleven_flash_v2_5
|
|
2502
|
+
* **A speaking agent speaks on `eleven_flash_v2_5` or `eleven_multilingual_v2` with an ElevenLabs voice, and on `inworld-tts-2-flash` or `inworld-tts-2` with an Inworld one** — unset, the voice's provider's fastest — with any voice from `GET /v1/voices` that offers it. `eleven_v3` is refused with 422 when `voice_enabled` is true: it cannot stream over the socket agents use. An agent that does not speak may leave this unset.
|
|
2503
2503
|
*/
|
|
2504
2504
|
voice_config?: AgentVoice | null;
|
|
2505
2505
|
/**
|
|
@@ -2519,9 +2519,9 @@ export type AgentStt = {
|
|
|
2519
2519
|
*/
|
|
2520
2520
|
mark_spoken?: boolean | null;
|
|
2521
2521
|
/**
|
|
2522
|
-
* Transcription model for this agent's spoken turns. Unset or null means the platform's default model, and follows it if that default ever changes.
|
|
2522
|
+
* Transcription model for this agent's spoken turns: `scribe_v2` (ElevenLabs) or `inworld-stt-1` (Inworld), each heard as the person speaks. A `model` on `user_audio.start` overrides it for one recording. Unset or null means the platform's default model, `scribe_v2`, and follows it if that default ever changes.
|
|
2523
2523
|
*/
|
|
2524
|
-
model?: 'scribe_v2' | null;
|
|
2524
|
+
model?: 'scribe_v2' | 'inworld-stt-1' | null;
|
|
2525
2525
|
/**
|
|
2526
2526
|
* Hz of the PCM a client sends on `/v1/agent/stream`. One of 8000, 16000, 22050, 24000, 44100.
|
|
2527
2527
|
*
|
|
@@ -2537,7 +2537,7 @@ export type AgentVoice = {
|
|
|
2537
2537
|
*/
|
|
2538
2538
|
format?: 'wav' | 'pcm';
|
|
2539
2539
|
/**
|
|
2540
|
-
* Which model speaks
|
|
2540
|
+
* Which model speaks, one the voice lists as `models` in `GET /v1/voices`: for an ElevenLabs voice `eleven_flash_v2_5` or `eleven_multilingual_v2`, for an Inworld voice `inworld-tts-2-flash` or `inworld-tts-2`. Unset is the voice's provider's fastest — `eleven_flash_v2_5` or `inworld-tts-2-flash`.
|
|
2541
2541
|
*/
|
|
2542
2542
|
model?: string;
|
|
2543
2543
|
/**
|
|
@@ -2877,7 +2877,7 @@ export type AgentUpdate = {
|
|
|
2877
2877
|
/**
|
|
2878
2878
|
* Voice and model settings.
|
|
2879
2879
|
*
|
|
2880
|
-
* **A speaking agent speaks on `eleven_flash_v2_5
|
|
2880
|
+
* **A speaking agent speaks on `eleven_flash_v2_5` or `eleven_multilingual_v2` with an ElevenLabs voice, and on `inworld-tts-2-flash` or `inworld-tts-2` with an Inworld one** — unset, the voice's provider's fastest — with any voice from `GET /v1/voices` that offers it. `eleven_v3` is refused with 422 when `voice_enabled` is true: it cannot stream over the socket agents use. An agent that does not speak may leave this unset.
|
|
2881
2881
|
*/
|
|
2882
2882
|
voice_config?: AgentVoice | null;
|
|
2883
2883
|
/**
|
|
@@ -8310,13 +8310,22 @@ export type TranscribeData = {
|
|
|
8310
8310
|
* Return newline-delimited JSON instead of one body. Requires WAV or raw PCM.
|
|
8311
8311
|
*/
|
|
8312
8312
|
stream?: boolean;
|
|
8313
|
-
|
|
8313
|
+
/**
|
|
8314
|
+
* `scribe_v2` (ElevenLabs) or `inworld-stt-1` (Inworld: up to 16 MB a file here, and no `num_speakers` or `tag_audio_events`).
|
|
8315
|
+
*/
|
|
8316
|
+
model?: 'scribe_v2' | 'inworld-stt-1';
|
|
8314
8317
|
/**
|
|
8315
8318
|
* The language spoken, as an ISO 639-1 or 639-3 code; unset detects it.
|
|
8316
8319
|
*/
|
|
8317
8320
|
language?: string;
|
|
8318
8321
|
diarize?: boolean;
|
|
8322
|
+
/**
|
|
8323
|
+
* Not with `inworld-stt-1`, which is a 422.
|
|
8324
|
+
*/
|
|
8319
8325
|
num_speakers?: number;
|
|
8326
|
+
/**
|
|
8327
|
+
* Not with `inworld-stt-1`, which is a 422.
|
|
8328
|
+
*/
|
|
8320
8329
|
tag_audio_events?: boolean;
|
|
8321
8330
|
/**
|
|
8322
8331
|
* Return each word and its timing as `words`.
|
|
@@ -8345,7 +8354,7 @@ export type TranscribeErrors = {
|
|
|
8345
8354
|
*/
|
|
8346
8355
|
403: ErrorResponse;
|
|
8347
8356
|
/**
|
|
8348
|
-
* The file is larger than 25 MB
|
|
8357
|
+
* The file is larger than 25 MB, or 16 MB for `inworld-stt-1`
|
|
8349
8358
|
*/
|
|
8350
8359
|
413: ErrorResponse;
|
|
8351
8360
|
/**
|
|
@@ -8365,7 +8374,7 @@ export type TranscribeErrors = {
|
|
|
8365
8374
|
*/
|
|
8366
8375
|
502: ErrorResponse;
|
|
8367
8376
|
/**
|
|
8368
|
-
* Transcription is not configured on this platform
|
|
8377
|
+
* Transcription is not configured on this platform, or not for the model asked for
|
|
8369
8378
|
*/
|
|
8370
8379
|
503: ErrorResponse;
|
|
8371
8380
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumavox/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "The Lumavox API from your server: end users, ephemeral keys and the rest, typed from the published OpenAPI document. Zero dependencies.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|