foundation_models_framework 0.1.0+1
foundation_models_framework: ^0.1.0+1 copied to clipboard
A Flutter package for integrating with Apple's Foundation Models framework on iOS devices. Provides session-based language model interactions and Apple Intelligence features.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add foundation_models_framework
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
foundation_models_framework: ^0.1.0+1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:foundation_models_framework/foundation_models_framework.dart';