Skip to content

Interface: QueryTemplate

@kortexya/reasoninglayer


@kortexya/reasoninglayer / QueryTemplate

Defined in: src/types/conversation.ts:197

A reusable query template that matched the turn’s intent and sort.

optional description?: 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: string

Defined in: src/types/conversation.ts:203

Intent type (query, create, …).


isUserCreated: boolean

Defined in: src/types/conversation.ts:209

Whether a user created the template manually.


optional lastUsed?: string | null

Defined in: src/types/conversation.ts:213

RFC 3339 timestamp of the last use.


osfqlPattern: string

Defined in: src/types/conversation.ts:205

The OSFQL pattern.


sortName: string

Defined in: src/types/conversation.ts:201

The primary sort the template queries.


usageCount: number

Defined in: src/types/conversation.ts:207

How many times the pattern was reused.