langchain_dart  by davidmigloz

Dart/Flutter SDK for LLM application development

created 2 years ago
573 stars

Top 56.1% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a Dart SDK for building LLM-powered applications, targeting developers using Dart and Flutter. It aims to simplify the integration of large language models into Dart/Flutter projects, enabling the creation of intelligent features and applications.

How It Works

The SDK offers a modular architecture, abstracting away the complexities of interacting with various LLM providers. It implements core LangChain concepts like Chains, Agents, and Memory, allowing developers to compose LLM workflows. This approach promotes code reusability and simplifies the development of sophisticated AI features.

Quick Start & Requirements

  • Install via dart pub add langchain_dart.
  • Requires Dart SDK 3.0.0+ and Flutter SDK 3.0.0+.
  • API keys for LLM providers (e.g., OpenAI, Hugging Face) are necessary.
  • Official documentation: https://pub.dev/packages/langchain_dart

Highlighted Details

  • Supports multiple LLM providers including OpenAI, Hugging Face, and Cohere.
  • Implements core LangChain components: LLMs, Prompts, Chains, Agents, Memory, and Document Loaders.
  • Offers integrations for vector stores like Chroma and FAISS.
  • Includes example applications demonstrating various use cases.

Maintenance & Community

Licensing & Compatibility

  • Licensed under the MIT License.
  • Permissive license allows for commercial use and integration into closed-source applications.

Limitations & Caveats

The project is relatively new, and while it covers many core LangChain features, some advanced functionalities or integrations might still be under development or missing compared to more mature Python-based LangChain implementations.

Health Check
Last commit

1 week ago

Responsiveness

1 day

Pull Requests (30d)
11
Issues (30d)
4
Star History
54 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.