Skip to content

Interface: LearnPatternResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / LearnPatternResponse

Defined in: src/types/ilp.ts:107

Response from pattern learning.

optional error?: string | null

Defined in: src/types/ilp.ts:109

Error message (if learning failed).


examplesUsed: number

Defined in: src/types/ilp.ts:111

Number of examples used.


optional pattern?: LearnedPatternDto | null

Defined in: src/types/ilp.ts:113

The learned pattern (if successful).


optional patternId?: string | null

Defined in: src/types/ilp.ts:115

Pattern ID for subsequent evaluation calls.


processingTimeMs: number

Defined in: src/types/ilp.ts:117

Processing time in milliseconds.


success: boolean

Defined in: src/types/ilp.ts:119

Whether learning succeeded.