Public Member Functions | |
| QString | buildPrompt (const QString &userQuery, const QStringList &knownTags={}, const QStringList &knownAlbums={}, const QStringList &knownPeople={}) const |
| Build the full prompt for one user query. | |
| QString | schemaDescription () const |
| JSON schema description embedded in every prompt. | |
| QString | systemPrompt () const |
| Static instruction block. | |
| QString Digikam::SearchPromptBuilder::buildPrompt | ( | const QString & | userQuery, |
| const QStringList & | knownTags = {}, | ||
| const QStringList & | knownAlbums = {}, | ||
| const QStringList & | knownPeople = {} ) const |
Known tags/albums/people are truncated internally (s_maxHintItems) to keep the prompt small for tiny-model context windows.