Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5    Statistic    FMM    Blog  


Evaluates the model and returns result as JSON.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WindowsML 10.5 No Yes Yes, Windows only No No
MBS( "WindowsML.Evaluate"; WinMLRef { ; correlationId } )   More


Parameter Description Example Flags
WinMLRef The reference number to the model. $Model
correlationId Optional user-supplied string to connect the output results.
Will be included in JSON for output.


Returns JSON or error.


Evaluates the model and returns result as JSON.
Returned JSON contains an entry for each output key and in that the values.
We can currently serialize arrays for boolean, float, float16, double, int8, uint8, int16, uint16, int32, uint32, int64 and uint64 data types.

MBS Plugins don't support all possible input/output combinations, so if you need something more, please let us know.


Evaluate the model:

Set Variable [ $Result ; Value: MBS( "WindowsML.Evaluate"; $$WinMLRef) ]
If [ MBS("ISError") ]
    Show Custom Dialog [ "Failed to evaluate model" ; $Result ]
    Exit Script [ Text Result: $Result ]
        Set Field [ WindowsML::Result ; $Result ]
End If

See also

Blog Entries

Created 26th September 2020, last changed 27th September 2020

WindowsML.Description   -   WindowsML.Open

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos