
LangChain
Manage LLM performance with LangSmith. Ship faster with LangSmith’s debug, test, deploy, and monitoring workflows. Don’t rely on “vibes” – add engineering rigor to your LLM-development workflow, whether you’re building with LangChain or not.
Introduction | ️ LangChain
LangChain simplifies every stage of the LLM application lifecycle: Development: Build your applications using LangChain's open-source components and third-party integrations. Use LangGraph to build stateful agents with first-class streaming and human-in-the-loop support.
Tutorials | ️ LangChain
LangSmith allows you to closely trace, monitor and evaluate your LLM application. It seamlessly integrates with LangChain, and you can use it to inspect and debug individual steps of your chains as you build.
Conceptual guide | ️ LangChain
Text splitters: Split long text into smaller chunks that can be individually indexed to enable granular retrieval. Embedding models: Models that represent data such as text or images in a vector space. Vector stores: Storage of and efficient …
Build a simple LLM application with chat models and prompt …
In this tutorial you've learned how to create your first simple LLM application. You've learned how to work with language models, how to create a prompt template, and how to get great observability into applications you create with LangSmith.
LLMChain — LangChain documentation
Prepare chain inputs, including adding inputs from memory. Parameters: inputs (Dict[str, Any] | Any) – Dictionary of raw inputs, or single input if chain expects only one param. Should contain all inputs specified in Chain.input_keys except for inputs that …
LLM | ️ Langchain
An LLMChain is a simple chain that adds some functionality around language models. It is used widely throughout LangChain, including in other chains and agents.
langchain.chains.llm.LLMChain — LangChain 0.2.17
Validate and prepare chain outputs, and save info about this run to memory. Parameters. inputs (Dict[str, str]) – Dictionary of chain inputs, including any inputs added by chain memory. outputs (Dict[str, str]) – Dictionary of initial chain outputs. return_only_outputs (bool) – Whether to only return the chain outputs. If False, inputs ...
How-to guides | ️ LangChain
LangSmith allows you to closely trace, monitor and evaluate your LLM application. It seamlessly integrates with LangChain and LangGraph, and you can use it to inspect and debug individual steps of your chains and agents as you build. LangSmith documentation is hosted on a …
Summarize Text | ️ LangChain
In the context of retrieval-augmented generation, summarizing text can help distill the information in a large number of retrieved documents to provide context for a LLM. In this walkthrough we'll go over how to summarize content from multiple documents using LLMs.