Kuandika hotuba ya moja kwa moja kutoka kwa mikrofoni au mtiririko wa moja kwa moja
Kufuatilia na kudhibiti hali ya transcription na mikutano
Kutafsiri maandishi transcribed kwa lugha nyingine
Kuandika hotuba kutoka sauti iliyorekodiwa katika URL hadi maandishi ya kawaida
Kujenga muda authentication token kwa maombi upande wa mteja
Common maombi chaguzi na majibu kwa ajili ya shughuli zote transcription
Kuunda mkutano ambao unaweza kutumika kwa ajili ya kutangaza kuishi transcription kupitia umma shareable kiungo
Transcriptions
Kupata moja TranscriptionJavaScriptimport { Transcriptions } from '@vocalstack/js-sdk'; const sdk = new Transcriptions({ apiKey: 'YOUR-API-KEY' }); const transcriptions = await sdk.getAllTranscriptions(); transcriptions.data?.forEach((transcription) => { // the transcription ID (use this to get more details about the transcription) console.log(transcription.id); // 'waiting', 'processing', 'done', or 'error' console.log(transcription.status); // the time the transcription started console.log(transcription.start); // the time the transcription finalized console.log(transcription.end); // the keywords associated with the transcription console.log(transcription.keywords); // the length of the transcription in seconds console.log(transcription.duration); });
id
ni kurudi wakati wowote mchakato wa transcription ni kwanza kuanzishwa. Hata hivyo, inaweza pia kupatikana kwa kuangalia transcriptions zote kwa kutumia API hapo juu. id
Ili kupata matumizi ya transcription maalum Transcriptions
KusubiriJavaScriptimport { Transcriptions } from '@vocalstack/js-sdk'; const sdk = new Transcriptions({ apiKey: 'YOUR-API-KEY' }); const transcription = await sdk.getTranscription({ id: 'TRANSCRIPTION-ID' }); const data = transcription.data; if (data) { // the transcription ID (use this to get more details about the transcription) console.log(data.id); // 'waiting', 'processing', 'done', or 'error' console.log(data.status); // the time the transcription started console.log(data.start); // the time the transcription finalized console.log(data.end); // the keywords associated with the transcription console.log(data.keywords); // the length of the transcription in seconds console.log(data.duration); // an object with the transcription timeline console.log(data.timeline); // a summary of the transcription console.log(data.summary); // the entire transcription in paragraph form console.log(data.paragraphs); }
timeline
.keywords
na summary
Hatua ijayoparagraphs
.