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

The full structured intent for one natural-language query. More...

Public Member Functions

bool isAmbiguous () const
bool isEmpty () const

Public Attributes

QStringList clarificationChoices
QString clarificationMessage
QList< AmbiguityChoice > clarificationOptions
 Each carries field+value to apply on pick.
QList< SearchQueryConstraint > constraints
QString normalizedQuery
 After optional DOnlineTranslator pass.
QString originalQuery
 Exactly what the user typed.
bool parseSucceeded = false
QString rawModelOutput
 Raw JSON from the backend (debugging).
bool requiresClarification = false

Detailed Description

Produced by SearchIntentParser from raw model output, consumed by SearchIntentResolver, and (after resolution) applied to the Advanced Search UI via SearchWindow programmatic setters.

Member Data Documentation

◆ clarificationMessage

QString Digikam::SearchQueryIntent::clarificationMessage
Note
Populated when the model flags an ambiguous term

◆ originalQuery

QString Digikam::SearchQueryIntent::originalQuery
Note
Book-keeping for transparency / SAlbum storage.