Interface: QueryTemplate
@kortexya/reasoninglayer / QueryTemplate
Interface: QueryTemplate
Section titled “Interface: QueryTemplate”Defined in: src/types/conversation.ts:197
A reusable query template that matched the turn’s intent and sort.
Properties
Section titled “Properties”description?
Section titled “description?”
optionaldescription?:string|null
Defined in: src/types/conversation.ts:211
Optional user-provided description.
id:
string
Defined in: src/types/conversation.ts:199
Template ID (term UUID).
intent
Section titled “intent”intent:
string
Defined in: src/types/conversation.ts:203
Intent type (query, create, …).
isUserCreated
Section titled “isUserCreated”isUserCreated:
boolean
Defined in: src/types/conversation.ts:209
Whether a user created the template manually.
lastUsed?
Section titled “lastUsed?”
optionallastUsed?:string|null
Defined in: src/types/conversation.ts:213
RFC 3339 timestamp of the last use.
osfqlPattern
Section titled “osfqlPattern”osfqlPattern:
string
Defined in: src/types/conversation.ts:205
The OSFQL pattern.
sortName
Section titled “sortName”sortName:
string
Defined in: src/types/conversation.ts:201
The primary sort the template queries.
usageCount
Section titled “usageCount”usageCount:
number
Defined in: src/types/conversation.ts:207
How many times the pattern was reused.