juice_llm_llamacpp 0.2.0
juice_llm_llamacpp: ^0.2.0 copied to clipboard
Embedded on-device LLM runtime for juice_llm — an LlamaCppProvider backed by llama.cpp (GGUF, Metal) via llama_cpp_dart.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add juice_llm_llamacppThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
juice_llm_llamacpp: ^0.2.0Alternatively, 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:juice_llm_llamacpp/juice_llm_llamacpp.dart';