Skip to content

Interface: LearnPatternResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ILP / LearnPatternResponse

Interface: LearnPatternResponse

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

Response from pattern learning.

Properties

error?

optional error: string | null

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

Error message (if learning failed).


examplesUsed

examplesUsed: number

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

Number of examples used.


pattern?

optional pattern: LearnedPatternDto | null

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

The learned pattern (if successful).


patternId?

optional patternId: string | null

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

Pattern ID for subsequent evaluation calls.


processingTimeMs

processingTimeMs: number

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

Processing time in milliseconds.


success

success: boolean

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

Whether learning succeeded.