mutterkey
KDE-first push-to-talk transcription tool for KDE Plasma
Loading...
Searching...
No Matches
RawWhisperImporter Class Referencefinal

Importer that converts legacy raw Whisper files into native packages. More...

#include <rawwhisperimporter.h>

Static Public Member Functions

static std::optional< ValidatedModelPackageimportFile (const QString &sourcePath, const RawWhisperImportRequest &request={}, RuntimeError *error=nullptr)
 Imports a raw whisper.cpp-compatible .bin file into a native package.
 

Detailed Description

Importer that converts legacy raw Whisper files into native packages.

Definition at line 26 of file rawwhisperimporter.h.

Member Function Documentation

◆ importFile()

static std::optional< ValidatedModelPackage > RawWhisperImporter::importFile ( const QString &  sourcePath,
const RawWhisperImportRequest request = {},
RuntimeError error = nullptr 
)
static

Imports a raw whisper.cpp-compatible .bin file into a native package.

Parameters
sourcePathSource raw Whisper model path.
requestOutput-path and package-id overrides for the import.
errorOptional destination for import failures.
Returns
Validated native package on success.

The documentation for this class was generated from the following file: