# LangChain.dart

LangChain.dart is an unofficial Dart port of the Python LangChain framework, giving Dart and Flutter apps a unified interface to language model providers plus components for retrieval-augmented generation and agents.

LangChain.dart is an unofficial Dart port of the LangChain Python framework, for building LLM-powered Dart and Flutter applications. It offers ready-to-use components for working with language models and a standard interface for chaining them together into use cases such as chatbots, question answering, summarization, translation, extraction and recommendation.

A model I/O module gives a unified API across providers such as OpenAI, Google, Mistral and Ollama, along with prompt templates, example selectors and output parsers. A retrieval module covers document loaders, text splitters, embedding models, vector stores and retrievers for retrieval-augmented generation, and an agents module lets a language model decide which available tools, such as web search, a calculator or a database lookup, to use for a task.

Components compose using a LangChain Expression Language, and the project is organized as a set of separate packages.

Website: http://davidmigloz.github.io/langchain_dart/
