Skip to content

Interface: LearnPatternResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / LearnPatternResponse

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

Response from pattern learning.

optional error?: string | null

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

Error message (if learning failed).


examplesUsed: number

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

Number of examples used.


optional pattern?: LearnedPatternDto | null

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

The learned pattern (if successful).


optional patternId?: string | null

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

Pattern ID for subsequent evaluation calls.


processingTimeMs: number

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

Processing time in milliseconds.


success: boolean

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

Whether learning succeeded.