mutterkey
KDE-first push-to-talk transcription tool for KDE Plasma
Loading...
Searching...
No Matches
transcriptiontypes.h File Reference

Shared value types exchanged by the transcription pipeline. More...

#include <QMetaType>
#include <QString>
#include <QStringList>
#include <cstdint>
#include <vector>

Go to the source code of this file.

Classes

struct  RuntimeError
 Structured runtime-layer failure with user-facing and diagnostic text. More...
 
struct  BackendCapabilities
 Product-owned backend/runtime metadata surfaced to app code. More...
 
struct  RuntimeDiagnostics
 Runtime inspection data kept separate from static backend capabilities. More...
 
struct  ModelMetadata
 Product-owned immutable metadata about a validated model artifact. More...
 
struct  NormalizedAudio
 Normalized runtime audio payload. More...
 
struct  AudioChunk
 One normalized streaming audio unit passed into a transcription session. More...
 
struct  TranscriptEvent
 One transcript event produced by a backend session. More...
 
struct  TranscriptUpdate
 Result of one streaming session operation. More...
 
struct  TranscriptionResult
 Result of a single transcription attempt. More...
 

Enumerations

enum class  RuntimeErrorCode : std::uint8_t {
  None , Cancelled , InvalidConfig , ModelNotFound ,
  InvalidModelPackage , UnsupportedModelPackageVersion , ModelIntegrityFailed , IncompatibleModelPackage ,
  ModelTooLarge , ModelLoadFailed , AudioNormalizationFailed , UnsupportedLanguage ,
  DecodeFailed , InternalRuntimeError
}
 Stable categories for runtime-layer failures. More...
 
enum class  TranscriptEventKind : std::uint8_t { Partial , Final }
 Stable transcript event categories emitted by streaming sessions. More...
 

Detailed Description

Shared value types exchanged by the transcription pipeline.

Definition in file transcriptiontypes.h.

Enumeration Type Documentation

◆ RuntimeErrorCode

enum class RuntimeErrorCode : std::uint8_t
strong

Stable categories for runtime-layer failures.

Definition at line 18 of file transcriptiontypes.h.

◆ TranscriptEventKind

enum class TranscriptEventKind : std::uint8_t
strong

Stable transcript event categories emitted by streaming sessions.

Definition at line 174 of file transcriptiontypes.h.