llm_toolkit 0.0.4
llm_toolkit: ^0.0.4 copied to clipboard
A comprehensive Flutter SDK for running Large Language Models (LLMs) locally on mobile and desktop devices. Supports multiple inference engines including Gemma (TFLite) and Llama (GGUF) with integrate [...]
We analyzed this package 3 hours ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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.
0/10 points: 20% or more of the public API has dartdoc comments
26 out of 178 API elements (14.6 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: llm_toolkit, llm_toolkit.BaseModelProvider, llm_toolkit.BaseModelProvider.BaseModelProvider.new, llm_toolkit.BaseModelProvider.downloadModel, llm_toolkit.BaseModelProvider.getModelDetails.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:llm_toolkit/llm_toolkit.dartthat imports:package:flutter_gemma/pigeon.g.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:llm_toolkit/llm_toolkit.dartthat imports:package:flutter_gemma/pigeon.g.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:llm_toolkit/llm_toolkit.dartthat imports:package:flutter_gemma/pigeon.g.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Web`.
Because:
package:llm_toolkit/llm_toolkit.dartthat imports:package:llm_toolkit/src/core/providers/huggingface/hf_provider.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 226 issues. Showing the first 2:
WARNING: The value of the field '_fft' isn't used.
lib/src/core/inference/tflite_asr_engine.dart:46:12
╷
46 │ late FFT _fft;
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/inference/tflite_asr_engine.dart
WARNING: The value of the field '_melFilterBank' isn't used.
lib/src/core/inference/tflite_asr_engine.dart:47:27
╷
47 │ late List<List<double>> _melFilterBank;
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/inference/tflite_asr_engine.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.17.0 |
1.19.1 | 1.19.1 | |
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
dio |
^5.8.0 |
5.9.0 | 5.9.0 | |
fftea |
^1.0.0 |
1.5.0+1 | 1.5.0+1 | |
flutter_gemma |
^0.9.0 |
0.9.0 | 0.11.15 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
llama_cpp_dart |
^0.0.9 |
0.0.9 | 0.2.1 | |
objectbox |
^4.3.0 |
4.3.1 | 5.1.0 | |
objectbox_flutter_libs |
^4.3.0 |
4.3.1 | 5.1.0 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.1 |
2.1.5 | 2.1.5 | |
record |
^6.0.0 |
6.1.2 | 6.1.2 | |
tflite_flutter |
^0.11.0 |
0.11.0 | 0.12.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flat_buffers |
- | 23.5.26 | 25.9.23 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
large_file_handler |
- | 0.3.1 | 0.3.1 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
quiver |
- | 3.2.2 | 3.2.2 | |
record_android |
- | 1.4.5 | 1.4.5 | |
record_ios |
- | 1.1.5 | 1.1.5 | |
record_linux |
- | 1.2.1 | 1.2.1 | |
record_macos |
- | 1.1.2 | 1.1.2 | |
record_platform_interface |
- | 1.4.0 | 1.4.0 | |
record_web |
- | 1.2.2 | 1.2.2 | |
record_windows |
- | 1.0.7 | 1.0.7 | |
shared_preferences |
- | 2.5.4 | 2.5.4 | |
shared_preferences_android |
- | 2.4.18 | 2.4.18 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.8 | 0.7.8 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
typed_isolate |
- | 6.0.0 | 6.0.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `^0.9.0` on flutter_gemma does not support the stable version `0.10.0`.
Try running dart pub upgrade --major-versions flutter_gemma to update the constraint.
The constraint `^0.0.9` on llama_cpp_dart does not support the stable version `0.1.0`.
Try running dart pub upgrade --major-versions llama_cpp_dart to update the constraint.
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.