mutterkey
KDE-first push-to-talk transcription tool for KDE Plasma
Loading...
Searching...
No Matches
rawwhisperimporter.h
Go to the documentation of this file.
1#pragma once
2
5
6#include <optional>
7
22
27{
28public:
36 [[nodiscard]] static std::optional<ValidatedModelPackage>
37 importFile(const QString &sourcePath, const RawWhisperImportRequest &request = {}, RuntimeError *error = nullptr);
38};
Importer that converts legacy raw Whisper files into native packages.
static std::optional< ValidatedModelPackage > importFile(const QString &sourcePath, const RawWhisperImportRequest &request={}, RuntimeError *error=nullptr)
Imports a raw whisper.cpp-compatible .bin file into a native package.
Product-owned model package manifest and validated package value types.
Request parameters for importing a raw Whisper artifact into a native package.
QString packageIdOverride
Optional package id override.
QString outputPath
Destination package path or parent directory. Empty uses the default models root.
Structured runtime-layer failure with user-facing and diagnostic text.
Shared value types exchanged by the transcription pipeline.