| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
FoundationModels.BeginSession
Start a new session in blank slate state with instructions.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| FoundationModels | 15.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "FoundationModels.BeginSession"; FoundationModel; Instructions ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| FoundationModel | The identifier for the model. | $model |
| Instructions | The instructions." | "Be polite." |
Result
Returns OK or error.
Description
Start a new session in blank slate state with instructions.Examples
Start a session:
Set Variable [ $unavailable ; Value: MBS("FoundationModels.BeginSession"; "Be polite. You run as chat bot in FileMaker.") ]
See also
Blog Entries
This function checks for a license.
Created 26th September 2025, last changed 27th September 2025
FoundationModels.AvailableStatus - FoundationModels.CloseSession