Interface: LearnPatternResponse
@kortexya/reasoninglayer / LearnPatternResponse
Interface: LearnPatternResponse
Section titled “Interface: LearnPatternResponse”Defined in: src/types/ilp.ts:78
Response from pattern learning.
Properties
Section titled “Properties”error?
Section titled “error?”
optionalerror?:string|null
Defined in: src/types/ilp.ts:80
Error message (if learning failed).
examplesUsed
Section titled “examplesUsed”examplesUsed:
number
Defined in: src/types/ilp.ts:82
Number of examples used.
pattern?
Section titled “pattern?”
optionalpattern?:LearnedPatternDto|null
Defined in: src/types/ilp.ts:84
The learned pattern (if successful).
patternId?
Section titled “patternId?”
optionalpatternId?:string|null
Defined in: src/types/ilp.ts:86
Pattern ID for subsequent evaluation calls.
processingTimeMs
Section titled “processingTimeMs”processingTimeMs:
number
Defined in: src/types/ilp.ts:88
Processing time in milliseconds.
success
Section titled “success”success:
boolean
Defined in: src/types/ilp.ts:90
Whether learning succeeded.