dart_llama 0.2.0
dart_llama: ^0.2.0 copied to clipboard
A Dart package for interfacing with llama.cpp models using FFI
We analyzed this package 13 hours ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
42 out of 51 API elements (82.4 %) have documentation comments.
Some symbols that are missing documentation: dart_llama.ContextCreationException.ContextCreationException.new, dart_llama.ContextOverflowException.ContextOverflowException.new, dart_llama.DecodeException.DecodeException.new, dart_llama.LlamaException.message, dart_llama.ModelLoadException.ModelLoadException.new.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:dart_llama/dart_llama.dartthat imports:package:dart_llama/src/llama_model.dartthat imports:package:dart_llama/src/ffi/llama_bindings_generated.dartthat imports:dart:ffi
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 18 issues. Showing the first 2:
INFO: The line length exceeds the 80-character limit.
lib/dart_llama.dart:2:81
╷
2 │ /// A Dart FFI wrapper for llama.cpp, providing high-performance local LLM inference.
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/dart_llama.dart
INFO: The line length exceeds the 80-character limit.
lib/dart_llama.dart:5:81
╷
5 │ /// in Dart applications without requiring external API calls or internet connectivity.
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/dart_llama.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
^2.4.2 |
2.7.0 | 2.7.0 | |
ffi |
^2.1.0 |
2.1.5 | 2.1.5 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.9, Dart 3.10.8.
Check the analysis log for details.