langchain_dart  by davidmigloz

Dart/Flutter SDK for LLM application development

Created 2 years ago
612 stars

Top 53.8% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
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

3 hours ago

Responsiveness

1 day

Pull Requests (30d)
10
Issues (30d)
4
Star History
15 stars in the last 30 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Shizhe Diao Shizhe Diao(Author of LMFlow; Research Scientist at NVIDIA), and
20 more.

dify by langgenius

0.5%
116k
Open-source LLM app development platform
Created 2 years ago
Updated 3 hours ago
Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), Magnus Müller Magnus Müller(Cofounder of Browser Use), and
86 more.

langchain by langchain-ai

0.4%
117k
Framework for building LLM-powered applications
Created 3 years ago
Updated 10 hours ago
Feedback? Help us improve.