langchain_core 0.3.6 langchain_core: ^0.3.6 copied to clipboard
Contains core abstractions of LangChain.dart and the LangChain Expression Language (LCEL).
🦜️🔗 LangChain.dart Core #
Core package for LangChain.dart.
What is LangChain.dart Core? #
LangChain.dart Core contains the core abstractions that power the rest of the LangChain.dart ecosystem as well as LangChain Expression Language (LCEL) as a way to compose them together.
These abstractions are designed to be as modular and simple as possible. Examples of these abstractions include those for language models, document loaders, embedding models, vector stores, retrievers, etc.
LangChain Expression Language (LCEL) is a declarative language for composing components (Runnables) into sequences (or DAGs), covering the most common patterns when building with LLMs.
Depend on this package to build frameworks on top of LangChain.dart or to interoperate with it.
For full documentation see the API reference.
Why build on top of LangChain Core? #
The whole LangChain.dart ecosystem is built on top of LangChain Core, so you're in good company when building on top of it. Some of the benefits:
- Modularity: LangChain Core is designed around abstractions that are independent of each other, and not tied to any specific model provider.
- Stability: We are committed to a stable versioning scheme, and will communicate any breaking changes with advance notice and version bumps.
- Battle-tested: LangChain Core components have the largest install base in the LLM ecosystem, and are used in production by many companies.
- Community: LangChain Core is developed in the open, and we welcome contributions from the community.
License #
LangChain.dart is licensed under the MIT License.