Documentation / @agentick/apple / createAppleModel
Function: createAppleModel() ​
createAppleModel(
config?):ModelClass
Defined in: apple.ts:59
Create an Apple Foundation Models adapter.
Uses a compiled Swift bridge to communicate with the on-device model. The bridge must be compiled from the provided inference.swift:
bash
swiftc -parse-as-library -framework FoundationModels inference.swift -o apple-fm-bridgeParameters ​
config? ​
AppleAdapterConfig = {}