mutterkey
KDE-first push-to-talk transcription tool for KDE Plasma
Loading...
Searching...
No Matches
modelcatalog.h
Go to the documentation of this file.
1#pragma once
2
5
6#include <optional>
7
16class ModelCatalog final
17{
18public:
27 [[nodiscard]] static std::optional<ValidatedModelPackage>
28 inspectPath(const QString &path,
29 QStringView requiredEngine = {},
30 QStringView requiredModelFormat = {},
31 RuntimeError *error = nullptr);
32};
Product-owned entrypoint for inspecting and resolving model artifacts.
static std::optional< ValidatedModelPackage > inspectPath(const QString &path, QStringView requiredEngine={}, QStringView requiredModelFormat={}, RuntimeError *error=nullptr)
Inspects and resolves a model artifact path into a validated package value.
Product-owned model package manifest and validated package value types.
Structured runtime-layer failure with user-facing and diagnostic text.
Shared value types exchanged by the transcription pipeline.