Download WhatsApp voice notes, transcribe them, and correct common mining site mis-transcriptions (max 300 chars)
Transcribe WhatsApp voice notes with automatic correction of commonly mis-transcribed mining terminology.
Via slash command:
/transcribe-voice-notes
Via Python (if running independently):
python transcribe_voice_notes.py --contact "27833911315" --limit 5
gpt-4o-mini-transcribe model accessmedia/audio/ folder exists in vaultThe skill performs these steps:
media/audio/ for processinggpt-4o-mini-transcribe to convert audio to text| Mis-Transcribed | Actual Term | Notes |
|---|---|---|
| Trinity | Nchwaning 3 / N3 | Most common - sounds like "Trinity" |
| Hutt | Haut | Plant/equipment location |
| Ubuntu | Update | When discussing software/systems |
| N2/NCH2 | Nchwaning 2 | Sometimes transcribed as different letters |
| Glory/Gloria | Gloria | Mine site name (usually correct) |
Input: Voice note: "This is an overview of the Trinity underground plant conveyors."
Processed: "This is an overview of the Nchwaning 3 underground plant conveyors."
Input: Voice note: "Why only ten faces blasted?"
Processed: "Why only ten faces blasted?" (No corrections needed)
Returns array of corrected transcriptions:
{
"transcriptions": [
{
"timestamp": "2025-11-26 06:49",
"original": "This is an overview of the Trinity underground plant conveyors.",
"corrected": "This is an overview of the Nchwaning 3 underground plant conveyors.",
"corrections_applied": ["Trinity → Nchwaning 3"],
"file_name": "voice_20251126_065442.ogg"
}
]
}
media/audio/Issue: "File not found" on transcription
media/audio/ before transcribingIssue: Correction not applied
Issue: Wrong contact selected
Edit the corrections_dict in transcribe_voice_notes.py:
corrections_dict = {
'trinity': 'Nchwaning 3',
'hutt': 'Haut',
'ubuntu': 'Update',
# Add new corrections here
}
Then restart the skill for changes to take effect.