feat: upload audio, get a private Swedish transcript, discuss it (#33, ADR-033) #39
@@ -226,6 +226,14 @@ const (
|
||||
UploadErrInterrupted UploadErrorKind = "interrupted"
|
||||
// UploadErrTranscriptionFailed: every configured transcription endpoint failed.
|
||||
UploadErrTranscriptionFailed UploadErrorKind = "transcription_failed"
|
||||
// UploadErrTooLong: the audio, once converted, is longer than the limit. The limit is
|
||||
// first checked against the file's header, which a hostile or damaged file can lie
|
||||
// about (ADR-035 review).
|
||||
UploadErrTooLong UploadErrorKind = "audio_too_long"
|
||||
// UploadErrIncomplete: the audio, once converted, ends far earlier than the file
|
||||
// claimed: a truncated recording that would otherwise give a partial transcript with
|
||||
// no warning.
|
||||
UploadErrIncomplete UploadErrorKind = "audio_incomplete"
|
||||
)
|
||||
|
||||
// UploadedTranscript is a user's PRIVATE transcript of audio they uploaded. It is
|
||||
|
||||
Reference in New Issue
Block a user