aria_engine 1.4.7
aria_engine: ^1.4.7 copied to clipboard
Flutter FFI binding for Aria Engine. Load an Aria bundle and run complete() via package:aria_engine.
aria_engine (Flutter) #
Flutter FFI binding for Aria Engine. Published to pub.dev under publisher ariacompute.com.
dependencies:
aria_engine: ^0.1.0
import 'package:aria_engine/aria_engine.dart';
final eng = AriaEngine('/path/to/bundle');
print(eng.complete('[{"role":"user","content":"hi"}]'));
eng.dispose();
JNI/FFI must load libaria_ffi (ARIA_FFI_LIB or libPath).
Published to pub.dev via publish-pub.yml. Secret PUB_CREDENTIALS is the
JSON from dart pub login as a publisher member (browser Google
account, e.g. the ariacompute.com publisher admin). The WSL/local OS user
that owns the file, and the GitHub Actions identity, are not the pub.dev
user. Device-farm: .github/workflows/bindings-mobile.yml.