|
54 | 54 | },
|
55 | 55 | "query": {
|
56 | 56 | "type": "object",
|
57 |
| - "required": ["sample_rate"], |
| 57 | + "required": [ |
| 58 | + "sample_rate" |
| 59 | + ], |
58 | 60 | "properties": {
|
59 | 61 | "sample_rate": {
|
60 | 62 | "description": "The sample rate of the streamed audio",
|
61 | 63 | "type": "integer",
|
62 |
| - "examples": [16000] |
| 64 | + "examples": [ |
| 65 | + 16000 |
| 66 | + ] |
63 | 67 | },
|
64 | 68 | "word_boost": {
|
65 | 69 | "description": "Add up to 2500 characters of custom vocabulary.\nThe parameter value must be a JSON encoded array of strings. The JSON must be URL encoded like other query string parameters.\n",
|
66 | 70 | "type": "string",
|
67 |
| - "examples": ["[\"foo\",\"bar\"]"] |
| 71 | + "examples": [ |
| 72 | + "[\"foo\",\"bar\"]" |
| 73 | + ] |
68 | 74 | },
|
69 | 75 | "encoding": {
|
70 | 76 | "description": "The encoding of the audio data",
|
|
74 | 80 | "description": "Authenticate using a [generated temporary token](https://www.assemblyai.com/docs/speech-to-text/streaming#authenticate-with-a-temporary-token)\n",
|
75 | 81 | "type": "string",
|
76 | 82 | "format": "password",
|
77 |
| - "examples": ["eyJhbGciOiJIUzI1..."] |
| 83 | + "examples": [ |
| 84 | + "eyJhbGciOiJIUzI1..." |
| 85 | + ] |
78 | 86 | },
|
79 | 87 | "disable_partial_transcripts": {
|
80 | 88 | "summary": "Disable partial transcripts",
|
|
292 | 300 | "RealtimeBaseMessage": {
|
293 | 301 | "type": "object",
|
294 | 302 | "x-fern-sdk-group-name": "realtime",
|
295 |
| - "required": ["message_type"], |
| 303 | + "required": [ |
| 304 | + "message_type" |
| 305 | + ], |
296 | 306 | "properties": {
|
297 | 307 | "message_type": {
|
298 | 308 | "description": "Describes the type of the message",
|
|
328 | 338 | "type": "object",
|
329 | 339 | "x-fern-sdk-group-name": "realtime",
|
330 | 340 | "additionalProperties": false,
|
331 |
| - "required": ["error"], |
| 341 | + "required": [ |
| 342 | + "error" |
| 343 | + ], |
332 | 344 | "properties": {
|
333 | 345 | "error": {
|
334 | 346 | "type": "string"
|
|
354 | 366 | "RealtimeTranscriptType": {
|
355 | 367 | "type": "string",
|
356 | 368 | "x-fern-sdk-group-name": "realtime",
|
357 |
| - "enum": ["PartialTranscript", "FinalTranscript"] |
| 369 | + "enum": [ |
| 370 | + "PartialTranscript", |
| 371 | + "FinalTranscript" |
| 372 | + ] |
358 | 373 | },
|
359 | 374 | "RealtimeTranscript": {
|
360 | 375 | "x-fern-sdk-group-name": "realtime",
|
|
377 | 392 | },
|
378 | 393 | {
|
379 | 394 | "type": "object",
|
380 |
| - "required": ["message_type", "session_id", "expires_at"], |
| 395 | + "required": [ |
| 396 | + "message_type", |
| 397 | + "session_id", |
| 398 | + "expires_at" |
| 399 | + ], |
381 | 400 | "properties": {
|
382 | 401 | "message_type": {
|
383 | 402 | "description": "Describes the type of the message",
|
|
418 | 437 | },
|
419 | 438 | {
|
420 | 439 | "type": "object",
|
421 |
| - "required": ["message_type", "audio_duration_seconds"], |
| 440 | + "required": [ |
| 441 | + "message_type", |
| 442 | + "audio_duration_seconds" |
| 443 | + ], |
422 | 444 | "properties": {
|
423 | 445 | "message_type": {
|
424 | 446 | "description": "Describes the type of the message",
|
|
450 | 472 | },
|
451 | 473 | {
|
452 | 474 | "type": "object",
|
453 |
| - "required": ["message_type"], |
| 475 | + "required": [ |
| 476 | + "message_type" |
| 477 | + ], |
454 | 478 | "properties": {
|
455 | 479 | "message_type": {
|
456 | 480 | "description": "Describes the type of the message",
|
|
524 | 548 | },
|
525 | 549 | {
|
526 | 550 | "type": "object",
|
527 |
| - "required": ["message_type"], |
| 551 | + "required": [ |
| 552 | + "message_type" |
| 553 | + ], |
528 | 554 | "properties": {
|
529 | 555 | "message_type": {
|
530 | 556 | "description": "Describes the type of message",
|
|
581 | 607 | },
|
582 | 608 | {
|
583 | 609 | "type": "object",
|
584 |
| - "required": ["message_type", "punctuated", "text_formatted"], |
| 610 | + "required": [ |
| 611 | + "message_type", |
| 612 | + "punctuated", |
| 613 | + "text_formatted" |
| 614 | + ], |
585 | 615 | "properties": {
|
586 | 616 | "message_type": {
|
587 | 617 | "description": "Describes the type of message",
|
|
684 | 714 | "Word": {
|
685 | 715 | "type": "object",
|
686 | 716 | "x-fern-sdk-group-name": "realtime",
|
687 |
| - "required": ["start", "end", "confidence", "text"], |
| 717 | + "required": [ |
| 718 | + "start", |
| 719 | + "end", |
| 720 | + "confidence", |
| 721 | + "text" |
| 722 | + ], |
688 | 723 | "properties": {
|
689 | 724 | "start": {
|
690 | 725 | "description": "Start time of the word in milliseconds",
|
|
763 | 798 | "description": "Manually end an utterance",
|
764 | 799 | "x-fern-sdk-group-name": "realtime",
|
765 | 800 | "type": "object",
|
766 |
| - "required": ["force_end_utterance"], |
| 801 | + "required": [ |
| 802 | + "force_end_utterance" |
| 803 | + ], |
767 | 804 | "properties": {
|
768 | 805 | "force_end_utterance": {
|
769 | 806 | "description": "A boolean value to communicate that you wish to force the end of the utterance",
|
|
781 | 818 | "description": "Configure the threshold for how long to wait before ending an utterance. Default is 700ms.",
|
782 | 819 | "x-fern-sdk-group-name": "realtime",
|
783 | 820 | "type": "object",
|
784 |
| - "required": ["end_utterance_silence_threshold"], |
| 821 | + "required": [ |
| 822 | + "end_utterance_silence_threshold" |
| 823 | + ], |
785 | 824 | "properties": {
|
786 | 825 | "end_utterance_silence_threshold": {
|
787 | 826 | "description": "The duration threshold in milliseconds",
|
|
801 | 840 | "summary": "Terminate session",
|
802 | 841 | "x-fern-sdk-group-name": "realtime",
|
803 | 842 | "type": "object",
|
804 |
| - "required": ["terminate_session"], |
| 843 | + "required": [ |
| 844 | + "terminate_session" |
| 845 | + ], |
805 | 846 | "properties": {
|
806 | 847 | "terminate_session": {
|
807 | 848 | "description": "Set to true to end your streaming session forever",
|
|
820 | 861 | "x-fern-sdk-group-name": "realtime",
|
821 | 862 | "description": "The encoding of the audio data",
|
822 | 863 | "default": "pcm_s16le",
|
823 |
| - "enum": ["pcm_s16le", "pcm_mulaw"], |
| 864 | + "enum": [ |
| 865 | + "pcm_s16le", |
| 866 | + "pcm_mulaw" |
| 867 | + ], |
824 | 868 | "x-fern-enum": {
|
825 | 869 | "pcm_s16le": {
|
826 | 870 | "description": "PCM signed 16-bit little-endian",
|
|
841 | 885 | }
|
842 | 886 | }
|
843 | 887 | },
|
844 |
| - "examples": ["pcm_s16le", "pcm_mulaw"] |
| 888 | + "examples": [ |
| 889 | + "pcm_s16le", |
| 890 | + "pcm_mulaw" |
| 891 | + ] |
845 | 892 | }
|
846 | 893 | },
|
847 | 894 | "securitySchemes": {
|
|
0 commit comments