mutterkey
KDE-first push-to-talk transcription tool for KDE Plasma
Loading...
Searching...
No Matches
ValidatedModelPackage Struct Reference

Fully validated model package resolved from disk. More...

#include <modelpackage.h>

Public Member Functions

const ModelMetadatametadata () const
 Returns the immutable model metadata carried by this package.
 
bool isLegacyCompatibility () const
 Reports whether this package came from the legacy raw-file compatibility path.
 
QString description () const
 Returns a human-readable description for diagnostics and logs.
 

Public Attributes

QString packageRootPath
 Resolved package root directory.
 
QString manifestPath
 Resolved model.json path when the artifact is a native package.
 
QString sourcePath
 Original user-provided source path resolved to an absolute path.
 
QString weightsPath
 Resolved weights asset path used by the backend adapter.
 
ModelPackageManifest manifest
 Parsed product-owned manifest data.
 

Detailed Description

Fully validated model package resolved from disk.

Definition at line 60 of file modelpackage.h.

Member Function Documentation

◆ description()

QString ValidatedModelPackage::description ( ) const

Returns a human-readable description for diagnostics and logs.

Returns
Display label derived from package metadata and source path.

◆ isLegacyCompatibility()

bool ValidatedModelPackage::isLegacyCompatibility ( ) const
inline

Reports whether this package came from the legacy raw-file compatibility path.

Returns
true for raw Whisper compatibility artifacts.

Definition at line 82 of file modelpackage.h.

◆ metadata()

const ModelMetadata & ValidatedModelPackage::metadata ( ) const
inline

Returns the immutable model metadata carried by this package.

Returns
Product-owned metadata for the resolved artifact.

Definition at line 76 of file modelpackage.h.

Member Data Documentation

◆ manifest

ModelPackageManifest ValidatedModelPackage::manifest

Parsed product-owned manifest data.

Definition at line 70 of file modelpackage.h.

◆ manifestPath

QString ValidatedModelPackage::manifestPath

Resolved model.json path when the artifact is a native package.

Definition at line 64 of file modelpackage.h.

◆ packageRootPath

QString ValidatedModelPackage::packageRootPath

Resolved package root directory.

Definition at line 62 of file modelpackage.h.

◆ sourcePath

QString ValidatedModelPackage::sourcePath

Original user-provided source path resolved to an absolute path.

Definition at line 66 of file modelpackage.h.

◆ weightsPath

QString ValidatedModelPackage::weightsPath

Resolved weights asset path used by the backend adapter.

Definition at line 68 of file modelpackage.h.


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