llama_cpp_dart 0.0.1 copy "llama_cpp_dart: ^0.0.1" to clipboard
llama_cpp_dart: ^0.0.1 copied to clipboard

Dart binding for llama.cpp

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add llama_cpp_dart

With Flutter:

 $ flutter pub add llama_cpp_dart

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  llama_cpp_dart: ^0.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:llama_cpp_dart/context_params.dart';
import 'package:llama_cpp_dart/llama.dart';
import 'package:llama_cpp_dart/llama_cpp.dart';
import 'package:llama_cpp_dart/llama_processor.dart';
import 'package:llama_cpp_dart/llama_split_mode.dart';
import 'package:llama_cpp_dart/model_params.dart';
37
likes
0
pub points
73%
popularity

Publisher

unverified uploader

Dart binding for llama.cpp

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi, flutter, path_provider

More

Packages that depend on llama_cpp_dart