Interface: EvaluateFunctionRequest
@kortexya/reasoninglayer / EvaluateFunctionRequest
Interface: EvaluateFunctionRequest
Section titled “Interface: EvaluateFunctionRequest”Defined in: src/types/functions.ts:211
Request to evaluate a function using LIFE-style FunctionEvaluator.
Remarks
Section titled “Remarks”No tenant field: the function is looked up in the tenant of the client’s
X-Tenant-Id header.
Properties
Section titled “Properties”arguments
Section titled “arguments”arguments:
FunctionValueDto[]
Defined in: src/types/functions.ts:213
Argument values to pass to the function.
expectedResult?
Section titled “expectedResult?”
optionalexpectedResult?:FunctionValueDto|null
Defined in: src/types/functions.ts:227
An optional result equation. Every argument stays an input; the engine
attempts an inverse calculation only when this constraint supplies the
result. One solved input is returned as Value; insufficient information
answers Suspend.
functionName
Section titled “functionName”functionName:
string
Defined in: src/types/functions.ts:215
Name of the function to evaluate.
maxDepth?
Section titled “maxDepth?”
optionalmaxDepth?:number
Defined in: src/types/functions.ts:220
Maximum recursion depth.
Default Value
Section titled “Default Value”100