|
58 | 58 | "sample_rate": {
|
59 | 59 | "description": "The sample rate of the streamed audio",
|
60 | 60 | "type": "integer",
|
61 |
| - "examples": [ |
62 |
| - 16000 |
63 |
| - ] |
| 61 | + "examples": [16000] |
64 | 62 | },
|
65 | 63 | "word_boost": {
|
66 | 64 | "description": "Add up to 2500 characters of custom vocabulary.\nThe parameter value must be a JSON encoded array of strings.\n",
|
67 | 65 | "type": "string",
|
68 |
| - "examples": [ |
69 |
| - "[\"foo\",\"bar\"]" |
70 |
| - ] |
| 66 | + "examples": ["[\"foo\",\"bar\"]"] |
71 | 67 | },
|
72 | 68 | "encoding": {
|
73 | 69 | "description": "The encoding of the audio data",
|
|
268 | 264 | "RealtimeBaseMessage": {
|
269 | 265 | "type": "object",
|
270 | 266 | "x-fern-sdk-group-name": "realtime",
|
271 |
| - "required": [ |
272 |
| - "message_type" |
273 |
| - ], |
| 267 | + "required": ["message_type"], |
274 | 268 | "properties": {
|
275 | 269 | "message_type": {
|
276 | 270 | "description": "Describes the type of the message",
|
|
302 | 296 | "type": "object",
|
303 | 297 | "x-fern-sdk-group-name": "realtime",
|
304 | 298 | "additionalProperties": false,
|
305 |
| - "required": [ |
306 |
| - "error" |
307 |
| - ], |
| 299 | + "required": ["error"], |
308 | 300 | "properties": {
|
309 | 301 | "error": {
|
310 | 302 | "type": "string"
|
|
329 | 321 | "RealtimeTranscriptType": {
|
330 | 322 | "type": "string",
|
331 | 323 | "x-fern-sdk-group-name": "realtime",
|
332 |
| - "enum": [ |
333 |
| - "PartialTranscript", |
334 |
| - "FinalTranscript" |
335 |
| - ] |
| 324 | + "enum": ["PartialTranscript", "FinalTranscript"] |
336 | 325 | },
|
337 | 326 | "RealtimeTranscript": {
|
338 | 327 | "x-fern-sdk-group-name": "realtime",
|
|
354 | 343 | },
|
355 | 344 | {
|
356 | 345 | "type": "object",
|
357 |
| - "required": [ |
358 |
| - "message_type", |
359 |
| - "session_id", |
360 |
| - "expires_at" |
361 |
| - ], |
| 346 | + "required": ["message_type", "session_id", "expires_at"], |
362 | 347 | "properties": {
|
363 | 348 | "message_type": {
|
364 | 349 | "description": "Describes the type of the message",
|
|
397 | 382 | },
|
398 | 383 | {
|
399 | 384 | "type": "object",
|
400 |
| - "required": [ |
401 |
| - "message_type" |
402 |
| - ], |
| 385 | + "required": ["message_type"], |
403 | 386 | "properties": {
|
404 | 387 | "message_type": {
|
405 | 388 | "description": "Describes the type of the message",
|
|
472 | 455 | },
|
473 | 456 | {
|
474 | 457 | "type": "object",
|
475 |
| - "required": [ |
476 |
| - "message_type" |
477 |
| - ], |
| 458 | + "required": ["message_type"], |
478 | 459 | "properties": {
|
479 | 460 | "message_type": {
|
480 | 461 | "description": "Describes the type of message",
|
|
530 | 511 | },
|
531 | 512 | {
|
532 | 513 | "type": "object",
|
533 |
| - "required": [ |
534 |
| - "message_type", |
535 |
| - "punctuated", |
536 |
| - "text_formatted" |
537 |
| - ], |
| 514 | + "required": ["message_type", "punctuated", "text_formatted"], |
538 | 515 | "properties": {
|
539 | 516 | "message_type": {
|
540 | 517 | "description": "Describes the type of message",
|
|
637 | 614 | "Word": {
|
638 | 615 | "type": "object",
|
639 | 616 | "x-fern-sdk-group-name": "realtime",
|
640 |
| - "required": [ |
641 |
| - "start", |
642 |
| - "end", |
643 |
| - "confidence", |
644 |
| - "text" |
645 |
| - ], |
| 617 | + "required": ["start", "end", "confidence", "text"], |
646 | 618 | "properties": {
|
647 | 619 | "start": {
|
648 | 620 | "description": "Start time of the word in milliseconds",
|
|
721 | 693 | "description": "Manually end an utterance",
|
722 | 694 | "x-fern-sdk-group-name": "realtime",
|
723 | 695 | "type": "object",
|
724 |
| - "required": [ |
725 |
| - "force_end_utterance" |
726 |
| - ], |
| 696 | + "required": ["force_end_utterance"], |
727 | 697 | "properties": {
|
728 | 698 | "force_end_utterance": {
|
729 | 699 | "description": "A boolean value to communicate that you wish to force the end of the utterance",
|
|
741 | 711 | "description": "Configure the threshold for how long to wait before ending an utterance. Default is 700ms.",
|
742 | 712 | "x-fern-sdk-group-name": "realtime",
|
743 | 713 | "type": "object",
|
744 |
| - "required": [ |
745 |
| - "end_utterance_silence_threshold" |
746 |
| - ], |
| 714 | + "required": ["end_utterance_silence_threshold"], |
747 | 715 | "properties": {
|
748 | 716 | "end_utterance_silence_threshold": {
|
749 | 717 | "description": "The duration threshold in milliseconds",
|
|
762 | 730 | "TerminateSession": {
|
763 | 731 | "x-fern-sdk-group-name": "realtime",
|
764 | 732 | "type": "object",
|
765 |
| - "required": [ |
766 |
| - "terminate_session" |
767 |
| - ], |
| 733 | + "required": ["terminate_session"], |
768 | 734 | "properties": {
|
769 | 735 | "terminate_session": {
|
770 | 736 | "description": "Set to true to end your streaming session forever",
|
|
783 | 749 | "x-fern-sdk-group-name": "realtime",
|
784 | 750 | "description": "The encoding of the audio data",
|
785 | 751 | "default": "pcm_s16le",
|
786 |
| - "enum": [ |
787 |
| - "pcm_s16le", |
788 |
| - "pcm_mulaw" |
789 |
| - ], |
| 752 | + "enum": ["pcm_s16le", "pcm_mulaw"], |
790 | 753 | "x-fern-enum": {
|
791 | 754 | "pcm_s16le": {
|
792 | 755 | "description": "PCM signed 16-bit little-endian",
|
|
807 | 770 | }
|
808 | 771 | }
|
809 | 772 | },
|
810 |
| - "examples": [ |
811 |
| - "pcm_s16le", |
812 |
| - "pcm_mulaw" |
813 |
| - ] |
| 773 | + "examples": ["pcm_s16le", "pcm_mulaw"] |
814 | 774 | }
|
815 | 775 | },
|
816 | 776 | "securitySchemes": {
|
|
0 commit comments