TranscriptionResponse
Response from the transcription endpoint containing the transcribed text, detected language, and confidence score.
Example Usage
typescript
import { TranscriptionResponse } from "@meetkai/mka1/models/components";
let value: TranscriptionResponse = {
text: "Hello, this is a sample transcription of the audio file.",
language: "en",
confidence: 0.95,
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
text | string | ✔️ | The transcribed text from the audio file |
language | string | ➖ | The detected or specified language code in ISO-639-1 format (e.g., 'en', 'es', 'fr') |
confidence | number | ➖ | Confidence score from 0 to 1 where 1 indicates highest confidence in transcription accuracy |