Class: AudioTranscriptSentencesReader
Transcribe audio and return a document for each sentence.
Extends
AssemblyAIReader
Constructors
new AudioTranscriptSentencesReader()
new AudioTranscriptSentencesReader(
assemblyAIOptions
?):AudioTranscriptSentencesReader
Creates a new AssemblyAI Reader.
Parameters
• assemblyAIOptions?: Partial
<BaseServiceParams
>
The options to configure the AssemblyAI Reader.
Configure the assemblyAIOptions.apiKey
with your AssemblyAI API key, or configure it as the ASSEMBLYAI_API_KEY
environment variable.
Returns
AudioTranscriptSentencesReader
Inherited from
AssemblyAIReader.constructor
Source
packages/core/src/readers/AssemblyAIReader.ts:26
Properties
client
protected
client:AssemblyAI
Inherited from
AssemblyAIReader.client
Source
packages/core/src/readers/AssemblyAIReader.ts:19
Methods
getTranscriptId()
protected
getTranscriptId(params
):Promise
<string
>
Parameters
• params: string
| TranscribeParams
Returns
Promise
<string
>
Inherited from
AssemblyAIReader.getTranscriptId
Source
packages/core/src/readers/AssemblyAIReader.ts:53
loadData()
Transcribe audio or get a transcript, and returns a document for each sentence.
Parameters
• params: string
| TranscribeParams
The parameters to transcribe audio or get an existing transcript.