Skip to content

Interface: QueryTemplate

@kortexya/reasoninglayer


@kortexya/reasoninglayer / QueryTemplate

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

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

optional description?: string | null

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

Optional user-provided description.


id: string

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

Template ID (term UUID).


intent: string

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

Intent type (query, create, …).


isUserCreated: boolean

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

Whether a user created the template manually.


optional lastUsed?: string | null

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

RFC 3339 timestamp of the last use.


osfqlPattern: string

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

The OSFQL pattern.


sortName: string

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

The primary sort the template queries.


usageCount: number

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

How many times the pattern was reused.