Add NOTES.md with TranscriptionInfo unused fields

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 09:24:53 +00:00
parent 0afe761625
commit 81e9ea82cf

9
NOTES.md Normal file
View File

@@ -0,0 +1,9 @@
# Notes
## TranscriptionInfo — unused fields
`model.transcribe()` returns a `TranscriptionInfo` object as its second value. We currently use `language` and `language_probability`. Other available fields:
- **`all_language_probs`** — full ranked list of `(language, probability)` tuples for the segment. Useful for debugging misdetection — e.g. when the model hallucinates Sinhala on noise, this would show Sinhala at the top with a high probability. Could be included in transcript events or exposed as a diagnostic endpoint.
- **`duration`** — total audio duration fed to the model.
- **`duration_after_vad`** — speech duration according to Whisper's internal VAD (not meaningful since we pass `vad_filter=False`).