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

Product-owned entrypoint for inspecting and resolving model artifacts. More...

#include <modelcatalog.h>

Static Public Member Functions

static std::optional< ValidatedModelPackageinspectPath (const QString &path, QStringView requiredEngine={}, QStringView requiredModelFormat={}, RuntimeError *error=nullptr)
 Inspects and resolves a model artifact path into a validated package value.
 

Detailed Description

Product-owned entrypoint for inspecting and resolving model artifacts.

Definition at line 16 of file modelcatalog.h.

Member Function Documentation

◆ inspectPath()

static std::optional< ValidatedModelPackage > ModelCatalog::inspectPath ( const QString &  path,
QStringView  requiredEngine = {},
QStringView  requiredModelFormat = {},
RuntimeError error = nullptr 
)
static

Inspects and resolves a model artifact path into a validated package value.

Parameters
pathPackage root, manifest path, or raw compatibility artifact.
requiredEngineOptional engine compatibility filter.
requiredModelFormatOptional model-format compatibility filter.
errorOptional destination for structured failures.
Returns
Validated package description on success.

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