|
| 1 | +export default { |
| 2 | + metadata: { |
| 3 | + desc: `Metadata about the transcription response, including timing, models, and IDs.`, |
| 4 | + }, |
| 5 | + transaction_key: { |
| 6 | + desc: `A unique transaction key; currently always “deprecated”.`, |
| 7 | + }, |
| 8 | + request_id: { |
| 9 | + desc: `A UUID identifying this specific transcription request.`, |
| 10 | + }, |
| 11 | + sha256: { |
| 12 | + desc: `The SHA-256 hash of the submitted audio file (for pre-recorded requests).`, |
| 13 | + }, |
| 14 | + created: { |
| 15 | + desc: `ISO-8601 timestamp.`, |
| 16 | + }, |
| 17 | + duration: { |
| 18 | + desc: `Length of the audio in seconds.`, |
| 19 | + }, |
| 20 | + channels: { |
| 21 | + desc: `Number of independent audio channels detected/submitted.`, |
| 22 | + }, |
| 23 | + models: { |
| 24 | + desc: `List of model UUIDs used for this transcription`, |
| 25 | + }, |
| 26 | + model_info: { |
| 27 | + desc: `Mapping from each model UUID (in 'models') to detailed info: its name, version, and architecture.`, |
| 28 | + name: { |
| 29 | + desc: `The human-readable name of the model — identifies which model was used.`, |
| 30 | + }, |
| 31 | + version: { |
| 32 | + desc: `The specific version of the model.`, |
| 33 | + }, |
| 34 | + arch: { |
| 35 | + desc: `The architecture of the model — describes the model family / generation.`, |
| 36 | + }, |
| 37 | + }, |
| 38 | + status: { |
| 39 | + desc: `The current status of the generation task.`, |
| 40 | + }, |
| 41 | + channels: { |
| 42 | + desc: `The top-level results object containing per-channel transcription alternatives.`, |
| 43 | + }, |
| 44 | + alternatives: { |
| 45 | + desc: `List of possible transcription hypotheses (“alternatives”) for each channel.`, |
| 46 | + }, |
| 47 | + transcript: { |
| 48 | + desc: `The full transcript text for this alternative.`, |
| 49 | + }, |
| 50 | + confidence: { |
| 51 | + desc: `Overall confidence score (0-1) that assigns to this transcript alternative.`, |
| 52 | + }, |
| 53 | + words: { |
| 54 | + desc: `List of word-level timing, confidence, and punctuation details.`, |
| 55 | + word: { |
| 56 | + desc: `The raw recognized word, without punctuation or capitalization.`, |
| 57 | + }, |
| 58 | + start: { |
| 59 | + desc: `Start timestamp of the word (in seconds, from beginning of audio).`, |
| 60 | + }, |
| 61 | + end: { |
| 62 | + desc: `End timestamp of the word (in seconds).`, |
| 63 | + }, |
| 64 | + confidence: { |
| 65 | + desc: `Confidence score (0-1) for this individual word.`, |
| 66 | + }, |
| 67 | + punctuated_word: { |
| 68 | + desc: `The same word but with punctuation/capitalization applied (if smart_format is enabled).`, |
| 69 | + }, |
| 70 | + }, |
| 71 | + paragraphs: { |
| 72 | + desc: `An array of paragraph objects, present when the paragraphs feature is enabled.`, |
| 73 | + transcript: { |
| 74 | + desc: `The transcript split into paragraphs (with line breaks), when paragraphing is enabled.`, |
| 75 | + }, |
| 76 | + paragraphs: { |
| 77 | + desc: `Structure describing each paragraph: its timespan, word count, and sentence breakdown.`, |
| 78 | + sentences: { |
| 79 | + desc: `List of sentences in this paragraph, with start/end times.`, |
| 80 | + text: { |
| 81 | + desc: `Text of a single sentence in the paragraph.`, |
| 82 | + }, |
| 83 | + start: { |
| 84 | + desc: `Start time of the sentence (in seconds).`, |
| 85 | + }, |
| 86 | + end: { |
| 87 | + desc: `End time of the sentence (in seconds).`, |
| 88 | + }, |
| 89 | + }, |
| 90 | + num_words: { |
| 91 | + desc: `Number of words in this paragraph.`, |
| 92 | + }, |
| 93 | + start: { |
| 94 | + desc: `Start time of the paragraph (in seconds).`, |
| 95 | + }, |
| 96 | + end: { |
| 97 | + desc: `End time of the paragraph (in seconds).`, |
| 98 | + }, |
| 99 | + }, |
| 100 | + }, |
| 101 | +}; |
0 commit comments