open_ai_simplified 0.0.8
open_ai_simplified: ^0.0.8 copied to clipboard
OpenAI Simplified is an application that aims to provide easy and intuitive access to OpenAI services.
We analyzed this package 19 hours ago, and awarded it 140 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
159 out of 309 API elements (51.5 %) have documentation comments.
Some symbols that are missing documentation: completion_response
, completion_response.Choices
, completion_response.Choices.Choices.new
, completion_response.CompletionResponse
, completion_response.CompletionResponse.CompletionResponse.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 does not support platform `Web`.
Because:
package:open_ai_simplified/open_ai_simplified.dart
that imports:package:open_ai_simplified/data/repositories/open_ai_repository.dart
that imports:package:open_ai_simplified/data/remote/open_ia_service.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:open_ai_simplified/open_ai_simplified.dart
that imports:package:open_ai_simplified/data/repositories/open_ai_repository.dart
that imports:package:open_ai_simplified/data/remote/open_ia_service.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 51 issues. Showing the first 2:
INFO: Missing type annotation.
lib/data/remote/open_ia_service.dart:282:17
╷
282 │ {required fineTuneId, required String apiKey}) async {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/data/remote/open_ia_service.dart
INFO: Angle brackets will be interpreted as HTML.
lib/data/repositories/open_ai_repository.dart:218:30
╷
218 │ /// get a Completion as Map<String, dynamic>
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/data/repositories/open_ai_repository.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
dio |
>=4.0.6 <5.0.0 |
4.0.6 | 5.9.0 | |
http_parser |
^4.0.2 |
4.1.2 | 4.1.2 | |
path_provider |
^2.0.12 |
2.1.5 | 2.1.5 | |
provider |
^6.0.5 |
6.1.5+1 | 6.1.5+1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
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 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `>=4.0.6 <5.0.0` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
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.22.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.