Description |
🦜🍎️ LangChain Core
Quick Install
pip install langchain-core
What is it?
LangChain Core contains the base abstractions that power the rest of the LangChain ecosystem.
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, vectorstores, retrievers, and more.
The benefit of having these abstractions is that any provider can implement the required interface and then easily be used in the rest of the LangChain ecosystem.
For full documentation see the API reference.
1️⃣ Core Interface: Runnables
The concept of a Runnable is central to LangChain Core – it is the interface that most LangChain Core components implement, giving them
a common invocation interface (invoke, batch, stream, etc.)
built-in utilities for retries, fallbacks, schemas and runtime configurability
easy deployment with LangServe
For more check out the runnable docs.
|
Requires |
(python3.10dist(langsmith) < 0.4~~ with python3.10dist(langsmith) >= 0.1.125)
rpmlib(PayloadFilesHavePrefix)
rpmlib(PayloadIsZstd)
(python3.10dist(packaging) < 25~~ with python3.10dist(packaging) >= 23.2)
((python3.10dist(tenacity) < 8.4 or python3.10dist(tenacity) > 8.4) with python3.10dist(tenacity) < 10~~ with python3.10dist(tenacity) >= 8.1)
rpmlib(CompressedFileNames)
(python3.10dist(pydantic) < 3~~ with python3.10dist(pydantic) >= 2.0.1)
rpmlib(RichDependencies)
rpmlib(PartialHardlinkSets)
rpmlib(TildeInVersions)
(python3.10dist(jsonpatch) < 2~~ with python3.10dist(jsonpatch) >= 1.33)
rpmlib(FileDigests)
|