langchain_firebase 0.2.2+4 copy "langchain_firebase: ^0.2.2+4" to clipboard
langchain_firebase: ^0.2.2+4 copied to clipboard

LangChain.dart integration module for Firebase (Gemini, VertexAI for Firebase, Firestore, etc.).

100/ 160
pub points
7
downloads

We analyzed this package 14 hours ago, and awarded it 100 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

51 out of 51 API elements (100.0 %) have documentation comments.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:langchain_firebase/langchain_firebase.dart that imports:
  • package:langchain_firebase/src/chat_models/chat_models.dart that imports:
  • package:langchain_firebase/src/chat_models/vertex_ai/chat_firebase_vertex_ai.dart that imports:
  • package:langchain_firebase/src/chat_models/vertex_ai/mappers.dart that imports:
  • package:firebase_vertexai/firebase_vertexai.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:langchain_firebase/langchain_firebase.dart that imports:
  • package:langchain_firebase/src/chat_models/chat_models.dart that imports:
  • package:langchain_firebase/src/chat_models/vertex_ai/chat_firebase_vertex_ai.dart that imports:
  • package:langchain_firebase/src/chat_models/vertex_ai/mappers.dart that imports:
  • package:firebase_vertexai/firebase_vertexai.dart that declares support for platforms: Android, iOS, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:langchain_firebase/langchain_firebase.dart that imports:
  • package:langchain_firebase/src/chat_models/chat_models.dart that imports:
  • package:langchain_firebase/src/chat_models/vertex_ai/chat_firebase_vertex_ai.dart that imports:
  • package:langchain_firebase/src/chat_models/vertex_ai/mappers.dart that imports:
  • package:firebase_vertexai/firebase_vertexai.dart that imports:
  • package:firebase_vertexai/src/firebase_vertexai.dart that imports:
  • package:firebase_ai/src/base_model.dart that imports:
  • package:web_socket_channel/io.dart that imports:
  • package:web_socket/io_web_socket.dart that imports:
  • package:web_socket/src/io_web_socket.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

ERROR: The type 'Part' isn't exhaustively matched by the switch cases since it doesn't match the pattern 'ExecutableCodePart()'.

lib/src/chat_models/vertex_ai/mappers.dart:126:22

    ╷
126 │               (p) => switch (p) {
    │                      ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/chat_models/vertex_ai/mappers.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
collection ^1.19.1 1.19.1 1.19.1
firebase_ai ^3.1.0 3.3.0 3.3.0
firebase_app_check ^0.4.0 0.4.1 0.4.1
firebase_auth ^6.0.0 6.1.0 6.1.0
firebase_core ^4.0.0 4.1.1 4.1.1
firebase_vertexai ^2.1.0 2.2.0 2.2.0 Discontinued
langchain_core 0.3.9 0.3.9 0.3.9
meta ^1.16.0 1.16.0 1.17.0
uuid ^4.5.1 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.62 1.3.62
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
fake_async - 1.3.3 1.3.3
firebase_app_check_platform_interface - 0.2.1 0.2.1
firebase_app_check_web - 0.2.1 0.2.1
firebase_auth_platform_interface - 8.1.2 8.1.2
firebase_auth_web - 6.0.3 6.0.3
firebase_core_platform_interface - 6.0.1 6.0.1
firebase_core_web - 3.1.1 3.1.1
fixnum - 1.1.1 1.1.1
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.28.0 0.28.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
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.6 0.7.7
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • firebase_vertexai.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
6
likes
100
points
7
downloads

Publisher

verified publisherlangchaindart.dev

Weekly Downloads

LangChain.dart integration module for Firebase (Gemini, VertexAI for Firebase, Firestore, etc.).

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#ai #nlp #llms #langchain #firebase

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

collection, firebase_ai, firebase_app_check, firebase_auth, firebase_core, firebase_vertexai, langchain_core, meta, uuid

More

Packages that depend on langchain_firebase