|
|
|
|
|
>[AssemblyAI](https://www.assemblyai.com/) builds `Speech AI` models for tasks like |
|
speech-to-text, speaker diarization, speech summarization, and more. |
|
> `AssemblyAI’s` Speech AI models include accurate speech-to-text for voice data |
|
> (such as calls, virtual meetings, and podcasts), speaker detection, sentiment analysis, |
|
> chapter detection, PII redaction. |
|
|
|
|
|
|
|
|
|
|
|
Get your [API key](https://www.assemblyai.com/dashboard/signup). |
|
|
|
Install the `assemblyai` package. |
|
|
|
```bash |
|
pip install -U assemblyai |
|
``` |
|
|
|
|
|
|
|
|
|
|
|
The `AssemblyAIAudioTranscriptLoader` transcribes audio files with the `AssemblyAI API` |
|
and loads the transcribed text into documents. |
|
|
|
See a [usage example](/docs/integrations/document_loaders/assemblyai). |
|
|
|
```python |
|
from langchain_community.document_loaders import AssemblyAIAudioTranscriptLoader |
|
``` |
|
|
|
|
|
|
|
The `AssemblyAIAudioLoaderById` uses the AssemblyAI API to get an existing |
|
transcription and loads the transcribed text into one or more Documents, |
|
depending on the specified format. |
|
|
|
```python |
|
from langchain_community.document_loaders import AssemblyAIAudioLoaderById |
|
``` |
|
|