liquid_ai 1.2.2
liquid_ai: ^1.2.2 copied to clipboard
Run on-device AI models in Flutter with LEAP SDK. Supports text generation, streaming chat, structured output, function calling, and vision.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add liquid_aiThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
liquid_ai: ^1.2.2Alternatively, 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:liquid_ai/liquid_ai.dart';