Dev Shorts’ Post

Langchain Architecture in detail 👇🧵 The langchain Architecture consists of a number of packages. Langchain-core: This package contains the base abstractions of different components and the ways to compose them together. The interfaces for core components are defined in this package without the unavailability of third-party integrations. Langchain: This is the main package and contains chains, agents, and retrieval strategies that make up the cognitive architecture of an application. With no third party integrations present, all chains, agents, and strategies are generic across all integrations. Langchain-community: This package contains all the third party integrations of various components of langchain which is maintained by the community. Dependencies in this package are made optional to keep the package as lightweight as possible. LangGraph: This is an extension of langchain that helps build robust and stateful multifactor applications with LLM through modelling of steps as edges and nodes in a graph. It intregrates seamlessly with langchain but can be used on its own. LangGraph-Cloud: This package is responsible for turning LangGraph applications into production-ready APIs and assistants. LangServe: This package deploys LangChain chains as REST APIs. LangSmith: A developer platform that helps in debugging, testing, evaluating, and monitoring LLM applications. Curious about LangChain Components? Check out the latest DevShorts article for a detailed breakdown! https://www.devshorts.in/

  • No alternative text description for this image

To view or add a comment, sign in

Explore topics