digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
Loading...
Searching...
No Matches
Digikam::DNNModelNaturalLanguage Class Reference

Download-only model wrapper for local GGUF LLMs. More...

Inheritance diagram for Digikam::DNNModelNaturalLanguage:

Public Member Functions

 DNNModelNaturalLanguage (const DNNModelInfoContainer &_info)
Public Member Functions inherited from Digikam::DNNModelBase
 DNNModelBase (const DNNModelInfoContainer &_info)
DownloadInfo getDownloadInformation () const
const QString getModelPath () const
float getThreshold (int uiThreshold=DNN_MODEL_THRESHOLD_NOT_SET) const

Additional Inherited Members

Public Attributes inherited from Digikam::DNNModelBase
const DNNModelInfoContainer info
 Information about the model.
bool modelLoaded = false
 Indicate if the model has been loaded.
QMutex mutex
 Mutex to single-thread model during critical processing functions.
Protected Member Functions inherited from Digikam::DNNModelBase
bool checkFilename () const
const QPair< int, int > getBackendAndTarget () const
Protected Attributes inherited from Digikam::DNNModelBase
QMutex loaderMutex

Detailed Description

The natural-language search feature loads its model with llama.cpp, not OpenCV. This class exists only so the model participates in digiKam's standard model registration and download flow (DNNModelManager + FilesDownloader): it carries the file metadata and verifies the download, but performs no OpenCV loading. SearchLlamaBackend resolves the path via getModelPath() and loads the GGUF itself.