Quickstart GuideQuickstart Guide
Models LLMs Getting Started Generic Functionality How to use the async API for LLMs How to write a custom LLM wrapper How (and why) to use the fake LLM How to cache LLM calls How to serialize LLM classes How to stream LLM and Chat Model responses How to track token usage
Integrations AI21 Aleph Alpha Azure OpenAI Banana CerebriumAI Cohere DeepInfra ForefrontAI GooseAI GPT4All Hugging Face Hub Hugging Face Local Pipelines Llama-cpp Manifest Modal NLP Cloud OpenAI Petals PipelineAI PredictionGuard PromptLayer OpenAI Replicate Runhouse SageMakerEndpoint StochasticAI Writer
Reference
Chat Models Getting Started How-To Guides How to use few shot examples How to stream responses
Integrations Anthropic Azure OpenAI PromptLayer ChatOpenAI
Text Embedding Models Aleph Alpha AzureOpenAI Cohere Fake Embeddings Hugging Face Hub InstructEmbeddings Jina Llama-cpp OpenAI SageMaker Endpoint Embeddings Self Hosted Embeddings Sentence Transformers Embeddings TensorflowHub[Models LLMs Getting Started Generic Functionality How to use the async API for LLMs How to write a custom LLM wrapper How (and why) to use the fake LLM How to cache LLM calls How to serialize LLM classes How to stream LLM and Chat Model responses How to track token usage
Integrations AI21 Aleph Alpha Azure OpenAI Banana CerebriumAI Cohere DeepInfra ForefrontAI GooseAI GPT4All Hugging Face Hub Hugging Face Local Pipelines Llama-cpp Manifest Modal NLP Cloud OpenAI Petals PipelineAI PredictionGuard PromptLayer OpenAI Replicate Runhouse SageMakerEndpoint StochasticAI Writer
Reference
Chat Models Getting Started How-To Guides How to use few shot examples How to stream responses
Integrations Anthropic Azure OpenAI PromptLayer ChatOpenAI
Text Embedding Models Aleph Alpha AzureOpenAI Cohere Fake Embeddings Hugging Face Hub InstructEmbeddings Jina Llama-cpp OpenAI SageMaker Endpoint Embeddings Self Hosted Embeddings Sentence Transformers Embeddings TensorflowHub](None)
Prompts Prompt Templates Getting Started How-To Guides Connecting to a Feature Store How to create a custom prompt template How to create a prompt template that uses few shot examples How to work with partial Prompt Templates How to serialize prompts
Reference PromptTemplates Example Selector Output Parsers
Chat Prompt Template Example Selectors How to create a custom example selector LengthBased ExampleSelector Maximal Marginal Relevance ExampleSelector NGram Overlap ExampleSelector Similarity ExampleSelector
Output Parsers Output Parsers CommaSeparatedListOutputParser OutputFixingParser PydanticOutputParser RetryOutputParser Structured Output Parser[Prompts Prompt Templates Getting Started How-To Guides Connecting to a Feature Store How to create a custom prompt template How to create a prompt template that uses few shot examples How to work with partial Prompt Templates How to serialize prompts
Reference PromptTemplates Example Selector Output Parsers
Chat Prompt Template Example Selectors How to create a custom example selector LengthBased ExampleSelector Maximal Marginal Relevance ExampleSelector NGram Overlap ExampleSelector Similarity ExampleSelector
Output Parsers Output Parsers CommaSeparatedListOutputParser OutputFixingParser PydanticOutputParser RetryOutputParser Structured Output Parser](None)
Indexes Getting Started Document Loaders CoNLL-U Airbyte JSON Apify Dataset Arxiv AZLyrics Azure Blob Storage Container Azure Blob Storage File BigQuery Loader Bilibili Blackboard Blockchain ChatGPT Data Loader College Confidential Confluence Copy Paste CSV Loader DataFrame Loader Diffbot Directory Loader Discord DuckDB Loader Email EPubs EverNote Facebook Chat Figma GCS Directory GCS File Storage Git GitBook Google Drive Gutenberg Hacker News HTML HuggingFace dataset loader iFixit Images Image captions IMSDb Markdown Notebook Notion Notion DB Loader Obsidian PDF PowerPoint ReadTheDocs Documentation Reddit Roam s3 Directory s3 File Sitemap Loader Slack (Local Exported Zipfile) Subtitle Files Stripe Telegram Twitter Unstructured File Loader URL Web Base WhatsApp Chat Word Documents YouTube
Text Splitters Getting Started Character Text Splitter Hugging Face Length Function Latex Text Splitter Markdown Text Splitter NLTK Text Splitter Python Code Text Splitter RecursiveCharacterTextSplitter Spacy Text Splitter tiktoken (OpenAI) Length Function TiktokenText Splitter
Vectorstores Getting Started AnalyticDB Annoy AtlasDB Chroma Deep Lake ElasticSearch FAISS LanceDB Milvus MyScale OpenSearch PGVector Pinecone Qdrant Redis SupabaseVectorStore Tair Weaviate Zilliz
Retrievers ChatGPT Plugin Retriever Contextual Compression Retriever Databerry ElasticSearch BM25 Metal Pinecone Hybrid Search Self-querying retriever SVM Retriever TF-IDF Retriever Time Weighted VectorStore Retriever VectorStore Retriever Vespa retriever Weaviate Hybrid Search[Indexes Getting Started Document Loaders CoNLL-U Airbyte JSON Apify Dataset Arxiv AZLyrics Azure Blob Storage Container Azure Blob Storage File BigQuery Loader Bilibili Blackboard Blockchain ChatGPT Data Loader College Confidential Confluence Copy Paste CSV Loader DataFrame Loader Diffbot Directory Loader Discord DuckDB Loader Email EPubs EverNote Facebook Chat Figma GCS Directory GCS File Storage Git GitBook Google Drive Gutenberg Hacker News HTML HuggingFace dataset loader iFixit Images Image captions IMSDb Markdown Notebook Notion Notion DB Loader Obsidian PDF PowerPoint ReadTheDocs Documentation Reddit Roam s3 Directory s3 File Sitemap Loader Slack (Local Exported Zipfile) Subtitle Files Stripe Telegram Twitter Unstructured File Loader URL Web Base WhatsApp Chat Word Documents YouTube
Text Splitters Getting Started Character Text Splitter Hugging Face Length Function Latex Text Splitter Markdown Text Splitter NLTK Text Splitter Python Code Text Splitter RecursiveCharacterTextSplitter Spacy Text Splitter tiktoken (OpenAI) Length Function TiktokenText Splitter
Vectorstores Getting Started AnalyticDB Annoy AtlasDB Chroma Deep Lake ElasticSearch FAISS LanceDB Milvus MyScale OpenSearch PGVector Pinecone Qdrant Redis SupabaseVectorStore Tair Weaviate Zilliz
Retrievers ChatGPT Plugin Retriever Contextual Compression Retriever Databerry ElasticSearch BM25 Metal Pinecone Hybrid Search Self-querying retriever SVM Retriever TF-IDF Retriever Time Weighted VectorStore Retriever VectorStore Retriever Vespa retriever Weaviate Hybrid Search](None)
Memory Getting Started How-To Guides ConversationBufferMemory ConversationBufferWindowMemory Entity Memory Conversation Knowledge Graph Memory ConversationSummaryMemory ConversationSummaryBufferMemory ConversationTokenBufferMemory VectorStore-Backed Memory How to add Memory to an LLMChain How to add memory to a Multi-Input Chain How to add Memory to an Agent Adding Message Memory backed by a database to an Agent How to customize conversational memory How to create a custom Memory class Motörhead Memory How to use multiple memory classes in the same chain Postgres Chat Message History Redis Chat Message HistoryMemory Getting Started How-To Guides ConversationBufferMemory ConversationBufferWindowMemory Entity Memory Conversation Knowledge Graph Memory ConversationSummaryMemory ConversationSummaryBufferMemory ConversationTokenBufferMemory VectorStore-Backed Memory How to add Memory to an LLMChain How to add memory to a Multi-Input Chain How to add Memory to an Agent Adding Message Memory backed by a database to an Agent How to customize conversational memory How to create a custom Memory class Motörhead Memory How to use multiple memory classes in the same chain Postgres Chat Message History Redis Chat Message History
Chains Getting Started How-To Guides Async API for Chain Loading from LangChainHub LLM Chain Sequential Chains Serialization Transformation Chain Analyze Document Chat Over Documents with Chat History Graph QA Hypothetical Document Embeddings Question Answering with Sources Question Answering Summarization Retrieval Question/Answering Retrieval Question Answering with Sources Vector DB Text Generation API Chains Self-Critique Chain with Constitutional AI BashChain LLMCheckerChain LLM Math LLMRequestsChain LLMSummarizationCheckerChain Moderation OpenAPI Chain PAL SQL Chain example
Reference[Chains Getting Started How-To Guides Async API for Chain Loading from LangChainHub LLM Chain Sequential Chains Serialization Transformation Chain Analyze Document Chat Over Documents with Chat History Graph QA Hypothetical Document Embeddings Question Answering with Sources Question Answering Summarization Retrieval Question/Answering Retrieval Question Answering with Sources Vector DB Text Generation API Chains Self-Critique Chain with Constitutional AI BashChain LLMCheckerChain LLM Math LLMRequestsChain LLMSummarizationCheckerChain Moderation OpenAPI Chain PAL SQL Chain example
Reference](None)
Agents Getting Started Tools Getting Started Defining Custom Tools Multi-Input Tools Tool Input Schema Apify Arxiv API Shell Tool Bing Search ChatGPT Plugins DuckDuckGo Search File System Tools Google Places Google Search Google Serper API Gradio Tools Human as a tool IFTTT WebHooks OpenWeatherMap API Python REPL Requests SceneXplain Search Tools SearxNG Search API SerpAPI Wikipedia API Wolfram Alpha Zapier Natural Language Actions API
Agents Agent Types Custom Agent Custom LLM Agent Custom LLM Agent (with a ChatModel) Custom MRKL Agent Custom MultiAction Agent Custom Agent with Tool Retrieval Conversation Agent (for Chat Models) Conversation Agent MRKL MRKL Chat ReAct Self Ask With Search
Toolkits CSV Agent Jira JSON Agent OpenAPI agents Natural Language APIs Pandas Dataframe Agent PlayWright Browser Toolkit PowerBI Dataset Agent Python Agent SQL Database Agent Vectorstore Agent
Agent Executors How to combine agents and vectorstores How to use the async API for Agents How to create ChatGPT Clone How to access intermediate steps How to cap the max number of iterations How to use a timeout for the agent How to add SharedMemory to an Agent and its Tools[Agents Getting Started Tools Getting Started Defining Custom Tools Multi-Input Tools Tool Input Schema Apify Arxiv API Shell Tool Bing Search ChatGPT Plugins DuckDuckGo Search File System Tools Google Places Google Search Google Serper API Gradio Tools Human as a tool IFTTT WebHooks OpenWeatherMap API Python REPL Requests SceneXplain Search Tools SearxNG Search API SerpAPI Wikipedia API Wolfram Alpha Zapier Natural Language Actions API
Agents Agent Types Custom Agent Custom LLM Agent Custom LLM Agent (with a ChatModel) Custom MRKL Agent Custom MultiAction Agent Custom Agent with Tool Retrieval Conversation Agent (for Chat Models) Conversation Agent MRKL MRKL Chat ReAct Self Ask With Search
Toolkits CSV Agent Jira JSON Agent OpenAPI agents Natural Language APIs Pandas Dataframe Agent PlayWright Browser Toolkit PowerBI Dataset Agent Python Agent SQL Database Agent Vectorstore Agent
Agent Executors How to combine agents and vectorstores How to use the async API for Agents How to create ChatGPT Clone How to access intermediate steps How to cap the max number of iterations How to use a timeout for the agent How to add SharedMemory to an Agent and its Tools](None)
Personal Assistants (Agents)Personal Assistants (Agents)
Autonomous AgentsAutonomous Agents
Agent SimulationsAgent Simulations
Question Answering over DocsQuestion Answering over Docs
ChatbotsChatbots
Querying Tabular DataQuerying Tabular Data
Code UnderstandingCode Understanding
Interacting with APIsInteracting with APIs
SummarizationSummarization
ExtractionExtraction
Evaluation Agent Benchmarking: Search + Calculator Agent VectorDB Question Answering Benchmarking Benchmarking Template Data Augmented Question Answering Generic Agent Evaluation Using Hugging Face Datasets LLM Math Evaluating an OpenAPI Chain Question Answering Benchmarking: Paul Graham Essay Question Answering Benchmarking: State of the Union Address QA Generation Question Answering SQL Question Answering Benchmarking: ChinookEvaluation Agent Benchmarking: Search + Calculator Agent VectorDB Question Answering Benchmarking Benchmarking Template Data Augmented Question Answering Generic Agent Evaluation Using Hugging Face Datasets LLM Math Evaluating an OpenAPI Chain Question Answering Benchmarking: Paul Graham Essay Question Answering Benchmarking: State of the Union Address QA Generation Question Answering SQL Question Answering Benchmarking: Chinook
InstallationInstallation
IntegrationsIntegrations
API References Models LLMs Chat Models Embeddings
Prompts PromptTemplates Example Selector Output Parsers
Indexes Docstore Text Splitter Document Loaders Vector Stores Retrievers Document Compressors Document Transformers
Memory Chains Agents Agents Tools Agent Toolkits
Utilities Experimental Modules[API References Models LLMs Chat Models Embeddings
Prompts PromptTemplates Example Selector Output Parsers
Indexes Docstore Text Splitter Document Loaders Vector Stores Retrievers Document Compressors Document Transformers
Memory Chains Agents Agents Tools Agent Toolkits
Utilities Experimental Modules](None)
LangChain Ecosystem AI21 Labs Aim AnalyticDB Apify AtlasDB Banana CerebriumAI Chroma ClearML Integration Cohere Comet Databerry DeepInfra Deep Lake ForefrontAI Google Search Wrapper Google Serper Wrapper GooseAI GPT4All Graphsignal Hazy Research Helicone Hugging Face Jina LanceDB Llama.cpp Metal Milvus Modal MyScale NLPCloud OpenAI OpenSearch Petals PGVector Pinecone PipelineAI Prediction Guard PromptLayer Qdrant Redis Replicate Runhouse RWKV-4 SearxNG Search API SerpAPI StochasticAI Tair Unstructured Weights & Biases Weaviate Wolfram Alpha Wrapper Writer Yeager.ai ZillizLangChain Ecosystem AI21 Labs Aim AnalyticDB Apify AtlasDB Banana CerebriumAI Chroma ClearML Integration Cohere Comet Databerry DeepInfra Deep Lake ForefrontAI Google Search Wrapper Google Serper Wrapper GooseAI GPT4All Graphsignal Hazy Research Helicone Hugging Face Jina LanceDB Llama.cpp Metal Milvus Modal MyScale NLPCloud OpenAI OpenSearch Petals PGVector Pinecone PipelineAI Prediction Guard PromptLayer Qdrant Redis Replicate Runhouse RWKV-4 SearxNG Search API SerpAPI StochasticAI Tair Unstructured Weights & Biases Weaviate Wolfram Alpha Wrapper Writer Yeager.ai Zilliz
LangChainHubLangChainHub
GlossaryGlossary
LangChain GalleryLangChain Gallery
DeploymentsDeployments
TracingTracing
DiscordDiscord
YouTubeYouTube
Production SupportProduction Support
LLMs Getting Started Generic Functionality How to use the async API for LLMs How to write a custom LLM wrapper How (and why) to use the fake LLM How to cache LLM calls How to serialize LLM classes How to stream LLM and Chat Model responses How to track token usage
Integrations AI21 Aleph Alpha Azure OpenAI Banana CerebriumAI Cohere DeepInfra ForefrontAI GooseAI GPT4All Hugging Face Hub Hugging Face Local Pipelines Llama-cpp Manifest Modal NLP Cloud OpenAI Petals PipelineAI PredictionGuard PromptLayer OpenAI Replicate Runhouse SageMakerEndpoint StochasticAI Writer
Reference[LLMs Getting Started Generic Functionality How to use the async API for LLMs How to write a custom LLM wrapper How (and why) to use the fake LLM How to cache LLM calls How to serialize LLM classes How to stream LLM and Chat Model responses How to track token usage
Integrations AI21 Aleph Alpha Azure OpenAI Banana CerebriumAI Cohere DeepInfra ForefrontAI GooseAI GPT4All Hugging Face Hub Hugging Face Local Pipelines Llama-cpp Manifest Modal NLP Cloud OpenAI Petals PipelineAI PredictionGuard PromptLayer OpenAI Replicate Runhouse SageMakerEndpoint StochasticAI Writer
Reference](None)
Chat Models Getting Started How-To Guides How to use few shot examples How to stream responses
Integrations Anthropic Azure OpenAI PromptLayer ChatOpenAI[Chat Models Getting Started How-To Guides How to use few shot examples How to stream responses
Integrations Anthropic Azure OpenAI PromptLayer ChatOpenAI](None)
Text Embedding Models Aleph Alpha AzureOpenAI Cohere Fake Embeddings Hugging Face Hub InstructEmbeddings Jina Llama-cpp OpenAI SageMaker Endpoint Embeddings Self Hosted Embeddings Sentence Transformers Embeddings TensorflowHubText Embedding Models Aleph Alpha AzureOpenAI Cohere Fake Embeddings Hugging Face Hub InstructEmbeddings Jina Llama-cpp OpenAI SageMaker Endpoint Embeddings Self Hosted Embeddings Sentence Transformers Embeddings TensorflowHub
Prompt Templates Getting Started How-To Guides Connecting to a Feature Store How to create a custom prompt template How to create a prompt template that uses few shot examples How to work with partial Prompt Templates How to serialize prompts
Reference PromptTemplates Example Selector Output Parsers[Prompt Templates Getting Started How-To Guides Connecting to a Feature Store How to create a custom prompt template How to create a prompt template that uses few shot examples How to work with partial Prompt Templates How to serialize prompts
Reference PromptTemplates Example Selector Output Parsers](None)
Chat Prompt TemplateChat Prompt Template
Example Selectors How to create a custom example selector LengthBased ExampleSelector Maximal Marginal Relevance ExampleSelector NGram Overlap ExampleSelector Similarity ExampleSelectorExample Selectors How to create a custom example selector LengthBased ExampleSelector Maximal Marginal Relevance ExampleSelector NGram Overlap ExampleSelector Similarity ExampleSelector
Output Parsers Output Parsers CommaSeparatedListOutputParser OutputFixingParser PydanticOutputParser RetryOutputParser Structured Output ParserOutput Parsers Output Parsers CommaSeparatedListOutputParser OutputFixingParser PydanticOutputParser RetryOutputParser Structured Output Parser
Getting StartedGetting Started
Document Loaders CoNLL-U Airbyte JSON Apify Dataset Arxiv AZLyrics Azure Blob Storage Container Azure Blob Storage File BigQuery Loader Bilibili Blackboard Blockchain ChatGPT Data Loader College Confidential Confluence Copy Paste CSV Loader DataFrame Loader Diffbot Directory Loader Discord DuckDB Loader Email EPubs EverNote Facebook Chat Figma GCS Directory GCS File Storage Git GitBook Google Drive Gutenberg Hacker News HTML HuggingFace dataset loader iFixit Images Image captions IMSDb Markdown Notebook Notion Notion DB Loader Obsidian PDF PowerPoint ReadTheDocs Documentation Reddit Roam s3 Directory s3 File Sitemap Loader Slack (Local Exported Zipfile) Subtitle Files Stripe Telegram Twitter Unstructured File Loader URL Web Base WhatsApp Chat Word Documents YouTubeDocument Loaders CoNLL-U Airbyte JSON Apify Dataset Arxiv AZLyrics Azure Blob Storage Container Azure Blob Storage File BigQuery Loader Bilibili Blackboard Blockchain ChatGPT Data Loader College Confidential Confluence Copy Paste CSV Loader DataFrame Loader Diffbot Directory Loader Discord DuckDB Loader Email EPubs EverNote Facebook Chat Figma GCS Directory GCS File Storage Git GitBook Google Drive Gutenberg Hacker News HTML HuggingFace dataset loader iFixit Images Image captions IMSDb Markdown Notebook Notion Notion DB Loader Obsidian PDF PowerPoint ReadTheDocs Documentation Reddit Roam s3 Directory s3 File Sitemap Loader Slack (Local Exported Zipfile) Subtitle Files Stripe Telegram Twitter Unstructured File Loader URL Web Base WhatsApp Chat Word Documents YouTube
Text Splitters Getting Started Character Text Splitter Hugging Face Length Function Latex Text Splitter Markdown Text Splitter NLTK Text Splitter Python Code Text Splitter RecursiveCharacterTextSplitter Spacy Text Splitter tiktoken (OpenAI) Length Function TiktokenText SplitterText Splitters Getting Started Character Text Splitter Hugging Face Length Function Latex Text Splitter Markdown Text Splitter NLTK Text Splitter Python Code Text Splitter RecursiveCharacterTextSplitter Spacy Text Splitter tiktoken (OpenAI) Length Function TiktokenText Splitter
Vectorstores Getting Started AnalyticDB Annoy AtlasDB Chroma Deep Lake ElasticSearch FAISS LanceDB Milvus MyScale OpenSearch PGVector Pinecone Qdrant Redis SupabaseVectorStore Tair Weaviate ZillizVectorstores Getting Started AnalyticDB Annoy AtlasDB Chroma Deep Lake ElasticSearch FAISS LanceDB Milvus MyScale OpenSearch PGVector Pinecone Qdrant Redis SupabaseVectorStore Tair Weaviate Zilliz
Retrievers ChatGPT Plugin Retriever Contextual Compression Retriever Databerry ElasticSearch BM25 Metal Pinecone Hybrid Search Self-querying retriever SVM Retriever TF-IDF Retriever Time Weighted VectorStore Retriever VectorStore Retriever Vespa retriever Weaviate Hybrid SearchRetrievers ChatGPT Plugin Retriever Contextual Compression Retriever Databerry ElasticSearch BM25 Metal Pinecone Hybrid Search Self-querying retriever SVM Retriever TF-IDF Retriever Time Weighted VectorStore Retriever VectorStore Retriever Vespa retriever Weaviate Hybrid Search
Getting StartedGetting Started
How-To Guides ConversationBufferMemory ConversationBufferWindowMemory Entity Memory Conversation Knowledge Graph Memory ConversationSummaryMemory ConversationSummaryBufferMemory ConversationTokenBufferMemory VectorStore-Backed Memory How to add Memory to an LLMChain How to add memory to a Multi-Input Chain How to add Memory to an Agent Adding Message Memory backed by a database to an Agent How to customize conversational memory How to create a custom Memory class Motörhead Memory How to use multiple memory classes in the same chain Postgres Chat Message History Redis Chat Message HistoryHow-To Guides ConversationBufferMemory ConversationBufferWindowMemory Entity Memory Conversation Knowledge Graph Memory ConversationSummaryMemory ConversationSummaryBufferMemory ConversationTokenBufferMemory VectorStore-Backed Memory How to add Memory to an LLMChain How to add memory to a Multi-Input Chain How to add Memory to an Agent Adding Message Memory backed by a database to an Agent How to customize conversational memory How to create a custom Memory class Motörhead Memory How to use multiple memory classes in the same chain Postgres Chat Message History Redis Chat Message History
Getting StartedGetting Started
How-To Guides Async API for Chain Loading from LangChainHub LLM Chain Sequential Chains Serialization Transformation Chain Analyze Document Chat Over Documents with Chat History Graph QA Hypothetical Document Embeddings Question Answering with Sources Question Answering Summarization Retrieval Question/Answering Retrieval Question Answering with Sources Vector DB Text Generation API Chains Self-Critique Chain with Constitutional AI BashChain LLMCheckerChain LLM Math LLMRequestsChain LLMSummarizationCheckerChain Moderation OpenAPI Chain PAL SQL Chain exampleHow-To Guides Async API for Chain Loading from LangChainHub LLM Chain Sequential Chains Serialization Transformation Chain Analyze Document Chat Over Documents with Chat History Graph QA Hypothetical Document Embeddings Question Answering with Sources Question Answering Summarization Retrieval Question/Answering Retrieval Question Answering with Sources Vector DB Text Generation API Chains Self-Critique Chain with Constitutional AI BashChain LLMCheckerChain LLM Math LLMRequestsChain LLMSummarizationCheckerChain Moderation OpenAPI Chain PAL SQL Chain example
ReferenceReference
Getting StartedGetting Started
Tools Getting Started Defining Custom Tools Multi-Input Tools Tool Input Schema Apify Arxiv API Shell Tool Bing Search ChatGPT Plugins DuckDuckGo Search File System Tools Google Places Google Search Google Serper API Gradio Tools Human as a tool IFTTT WebHooks OpenWeatherMap API Python REPL Requests SceneXplain Search Tools SearxNG Search API SerpAPI Wikipedia API Wolfram Alpha Zapier Natural Language Actions APITools Getting Started Defining Custom Tools Multi-Input Tools Tool Input Schema Apify Arxiv API Shell Tool Bing Search ChatGPT Plugins DuckDuckGo Search File System Tools Google Places Google Search Google Serper API Gradio Tools Human as a tool IFTTT WebHooks OpenWeatherMap API Python REPL Requests SceneXplain Search Tools SearxNG Search API SerpAPI Wikipedia API Wolfram Alpha Zapier Natural Language Actions API
Agents Agent Types Custom Agent Custom LLM Agent Custom LLM Agent (with a ChatModel) Custom MRKL Agent Custom MultiAction Agent Custom Agent with Tool Retrieval Conversation Agent (for Chat Models) Conversation Agent MRKL MRKL Chat ReAct Self Ask With SearchAgents Agent Types Custom Agent Custom LLM Agent Custom LLM Agent (with a ChatModel) Custom MRKL Agent Custom MultiAction Agent Custom Agent with Tool Retrieval Conversation Agent (for Chat Models) Conversation Agent MRKL MRKL Chat ReAct Self Ask With Search
Toolkits CSV Agent Jira JSON Agent OpenAPI agents Natural Language APIs Pandas Dataframe Agent PlayWright Browser Toolkit PowerBI Dataset Agent Python Agent SQL Database Agent Vectorstore AgentToolkits CSV Agent Jira JSON Agent OpenAPI agents Natural Language APIs Pandas Dataframe Agent PlayWright Browser Toolkit PowerBI Dataset Agent Python Agent SQL Database Agent Vectorstore Agent
Agent Executors How to combine agents and vectorstores How to use the async API for Agents How to create ChatGPT Clone How to access intermediate steps How to cap the max number of iterations How to use a timeout for the agent How to add SharedMemory to an Agent and its ToolsAgent Executors How to combine agents and vectorstores How to use the async API for Agents How to create ChatGPT Clone How to access intermediate steps How to cap the max number of iterations How to use a timeout for the agent How to add SharedMemory to an Agent and its Tools
Agent Benchmarking: Search + CalculatorAgent Benchmarking: Search + Calculator
Agent VectorDB Question Answering BenchmarkingAgent VectorDB Question Answering Benchmarking
Benchmarking TemplateBenchmarking Template
Data Augmented Question AnsweringData Augmented Question Answering
Generic Agent EvaluationGeneric Agent Evaluation
Using Hugging Face DatasetsUsing Hugging Face Datasets
LLM MathLLM Math
Evaluating an OpenAPI ChainEvaluating an OpenAPI Chain
Question Answering Benchmarking: Paul Graham EssayQuestion Answering Benchmarking: Paul Graham Essay
Question Answering Benchmarking: State of the Union AddressQuestion Answering Benchmarking: State of the Union Address
QA GenerationQA Generation
Question AnsweringQuestion Answering
SQL Question Answering Benchmarking: ChinookSQL Question Answering Benchmarking: Chinook
Models LLMs Chat Models EmbeddingsModels LLMs Chat Models Embeddings
Prompts PromptTemplates Example Selector Output ParsersPrompts PromptTemplates Example Selector Output Parsers
Indexes Docstore Text Splitter Document Loaders Vector Stores Retrievers Document Compressors Document TransformersIndexes Docstore Text Splitter Document Loaders Vector Stores Retrievers Document Compressors Document Transformers
MemoryMemory
ChainsChains
Agents Agents Tools Agent ToolkitsAgents Agents Tools Agent Toolkits
UtilitiesUtilities
Experimental ModulesExperimental Modules
AI21 LabsAI21 Labs
AimAim
AnalyticDBAnalyticDB
ApifyApify
AtlasDBAtlasDB
BananaBanana
CerebriumAICerebriumAI
ChromaChroma
ClearML IntegrationClearML Integration
CohereCohere
CometComet
DataberryDataberry
DeepInfraDeepInfra
Deep LakeDeep Lake
ForefrontAIForefrontAI
Google Search WrapperGoogle Search Wrapper
Google Serper WrapperGoogle Serper Wrapper
GooseAIGooseAI
GPT4AllGPT4All
GraphsignalGraphsignal
Hazy ResearchHazy Research
HeliconeHelicone
Hugging FaceHugging Face
JinaJina
LanceDBLanceDB
Llama.cppLlama.cpp
MetalMetal
MilvusMilvus
ModalModal
MyScaleMyScale
NLPCloudNLPCloud
OpenAIOpenAI
OpenSearchOpenSearch
PetalsPetals
PGVectorPGVector
PineconePinecone
PipelineAIPipelineAI
Prediction GuardPrediction Guard
PromptLayerPromptLayer
QdrantQdrant
RedisRedis
ReplicateReplicate
RunhouseRunhouse
RWKV-4RWKV-4
SearxNG Search APISearxNG Search API
SerpAPISerpAPI
StochasticAIStochasticAI
TairTair
UnstructuredUnstructured
Weights & BiasesWeights & Biases
WeaviateWeaviate
Wolfram Alpha WrapperWolfram Alpha Wrapper
WriterWriter
Yeager.aiYeager.ai
ZillizZilliz
Getting StartedGetting Started
Generic Functionality How to use the async API for LLMs How to write a custom LLM wrapper How (and why) to use the fake LLM How to cache LLM calls How to serialize LLM classes How to stream LLM and Chat Model responses How to track token usageGeneric Functionality How to use the async API for LLMs How to write a custom LLM wrapper How (and why) to use the fake LLM How to cache LLM calls How to serialize LLM classes How to stream LLM and Chat Model responses How to track token usage
Integrations AI21 Aleph Alpha Azure OpenAI Banana CerebriumAI Cohere DeepInfra ForefrontAI GooseAI GPT4All Hugging Face Hub Hugging Face Local Pipelines Llama-cpp Manifest Modal NLP Cloud OpenAI Petals PipelineAI PredictionGuard PromptLayer OpenAI Replicate Runhouse SageMakerEndpoint StochasticAI WriterIntegrations AI21 Aleph Alpha Azure OpenAI Banana CerebriumAI Cohere DeepInfra ForefrontAI GooseAI GPT4All Hugging Face Hub Hugging Face Local Pipelines Llama-cpp Manifest Modal NLP Cloud OpenAI Petals PipelineAI PredictionGuard PromptLayer OpenAI Replicate Runhouse SageMakerEndpoint StochasticAI Writer
ReferenceReference
Getting StartedGetting Started
How-To Guides How to use few shot examples How to stream responsesHow-To Guides How to use few shot examples How to stream responses
Integrations Anthropic Azure OpenAI PromptLayer ChatOpenAIIntegrations Anthropic Azure OpenAI PromptLayer ChatOpenAI
Aleph AlphaAleph Alpha
AzureOpenAIAzureOpenAI
CohereCohere
Fake EmbeddingsFake Embeddings
Hugging Face HubHugging Face Hub
InstructEmbeddingsInstructEmbeddings
JinaJina
Llama-cppLlama-cpp
OpenAIOpenAI
SageMaker Endpoint EmbeddingsSageMaker Endpoint Embeddings
Self Hosted EmbeddingsSelf Hosted Embeddings
Sentence Transformers EmbeddingsSentence Transformers Embeddings
TensorflowHubTensorflowHub
Getting StartedGetting Started
How-To Guides Connecting to a Feature Store How to create a custom prompt template How to create a prompt template that uses few shot examples How to work with partial Prompt Templates How to serialize promptsHow-To Guides Connecting to a Feature Store How to create a custom prompt template How to create a prompt template that uses few shot examples How to work with partial Prompt Templates How to serialize prompts
Reference PromptTemplates Example Selector Output ParsersReference PromptTemplates Example Selector Output Parsers
How to create a custom example selectorHow to create a custom example selector
LengthBased ExampleSelectorLengthBased ExampleSelector
Maximal Marginal Relevance ExampleSelectorMaximal Marginal Relevance ExampleSelector
NGram Overlap ExampleSelectorNGram Overlap ExampleSelector
Similarity ExampleSelectorSimilarity ExampleSelector
Output ParsersOutput Parsers
CommaSeparatedListOutputParserCommaSeparatedListOutputParser
OutputFixingParserOutputFixingParser
PydanticOutputParserPydanticOutputParser
RetryOutputParserRetryOutputParser
Structured Output ParserStructured Output Parser
CoNLL-UCoNLL-U
Airbyte JSONAirbyte JSON
Apify DatasetApify Dataset
ArxivArxiv
AZLyricsAZLyrics
Azure Blob Storage ContainerAzure Blob Storage Container
Azure Blob Storage FileAzure Blob Storage File
BigQuery LoaderBigQuery Loader
BilibiliBilibili
BlackboardBlackboard
BlockchainBlockchain
ChatGPT Data LoaderChatGPT Data Loader
College ConfidentialCollege Confidential
ConfluenceConfluence
Copy PasteCopy Paste
CSV LoaderCSV Loader
DataFrame LoaderDataFrame Loader
DiffbotDiffbot
Directory LoaderDirectory Loader
DiscordDiscord
DuckDB LoaderDuckDB Loader
EmailEmail
EPubsEPubs
EverNoteEverNote
Facebook ChatFacebook Chat
FigmaFigma
GCS DirectoryGCS Directory
GCS File StorageGCS File Storage
GitGit
GitBookGitBook
Google DriveGoogle Drive
GutenbergGutenberg
Hacker NewsHacker News
HTMLHTML
HuggingFace dataset loaderHuggingFace dataset loader
iFixitiFixit
ImagesImages
Image captionsImage captions
IMSDbIMSDb
MarkdownMarkdown
NotebookNotebook
NotionNotion
Notion DB LoaderNotion DB Loader
ObsidianObsidian
PDFPDF
PowerPointPowerPoint
ReadTheDocs DocumentationReadTheDocs Documentation
RedditReddit
RoamRoam
s3 Directorys3 Directory
s3 Files3 File
Sitemap LoaderSitemap Loader
Slack (Local Exported Zipfile)Slack (Local Exported Zipfile)
Subtitle FilesSubtitle Files
StripeStripe
TelegramTelegram
TwitterTwitter
Unstructured File LoaderUnstructured File Loader
URLURL
Web BaseWeb Base
WhatsApp ChatWhatsApp Chat
Word DocumentsWord Documents
YouTubeYouTube
Getting StartedGetting Started
Character Text SplitterCharacter Text Splitter
Hugging Face Length FunctionHugging Face Length Function
Latex Text SplitterLatex Text Splitter
Markdown Text SplitterMarkdown Text Splitter
NLTK Text SplitterNLTK Text Splitter
Python Code Text SplitterPython Code Text Splitter
RecursiveCharacterTextSplitterRecursiveCharacterTextSplitter
Spacy Text SplitterSpacy Text Splitter
tiktoken (OpenAI) Length Functiontiktoken (OpenAI) Length Function
TiktokenText SplitterTiktokenText Splitter
Getting StartedGetting Started
AnalyticDBAnalyticDB
AnnoyAnnoy
AtlasDBAtlasDB
ChromaChroma
Deep LakeDeep Lake
ElasticSearchElasticSearch
FAISSFAISS
LanceDBLanceDB
MilvusMilvus
MyScaleMyScale
OpenSearchOpenSearch
PGVectorPGVector
PineconePinecone
QdrantQdrant
RedisRedis
SupabaseVectorStoreSupabaseVectorStore
TairTair
WeaviateWeaviate
ZillizZilliz
ChatGPT Plugin RetrieverChatGPT Plugin Retriever
Contextual Compression RetrieverContextual Compression Retriever
DataberryDataberry
ElasticSearch BM25ElasticSearch BM25
MetalMetal
Pinecone Hybrid SearchPinecone Hybrid Search
Self-querying retrieverSelf-querying retriever
SVM RetrieverSVM Retriever
TF-IDF RetrieverTF-IDF Retriever
Time Weighted VectorStore RetrieverTime Weighted VectorStore Retriever
VectorStore RetrieverVectorStore Retriever
Vespa retrieverVespa retriever
Weaviate Hybrid SearchWeaviate Hybrid Search
ConversationBufferMemoryConversationBufferMemory
ConversationBufferWindowMemoryConversationBufferWindowMemory
Entity MemoryEntity Memory
Conversation Knowledge Graph MemoryConversation Knowledge Graph Memory
ConversationSummaryMemoryConversationSummaryMemory
ConversationSummaryBufferMemoryConversationSummaryBufferMemory
ConversationTokenBufferMemoryConversationTokenBufferMemory
VectorStore-Backed MemoryVectorStore-Backed Memory
How to add Memory to an LLMChainHow to add Memory to an LLMChain
How to add memory to a Multi-Input ChainHow to add memory to a Multi-Input Chain
How to add Memory to an AgentHow to add Memory to an Agent
Adding Message Memory backed by a database to an AgentAdding Message Memory backed by a database to an Agent
How to customize conversational memoryHow to customize conversational memory
How to create a custom Memory classHow to create a custom Memory class
Motörhead MemoryMotörhead Memory
How to use multiple memory classes in the same chainHow to use multiple memory classes in the same chain
Postgres Chat Message HistoryPostgres Chat Message History
Redis Chat Message HistoryRedis Chat Message History
Async API for ChainAsync API for Chain
Loading from LangChainHubLoading from LangChainHub
LLM ChainLLM Chain
Sequential ChainsSequential Chains
SerializationSerialization
Transformation ChainTransformation Chain
Analyze DocumentAnalyze Document
Chat Over Documents with Chat HistoryChat Over Documents with Chat History
Graph QAGraph QA
Hypothetical Document EmbeddingsHypothetical Document Embeddings
Question Answering with SourcesQuestion Answering with Sources
Question AnsweringQuestion Answering
SummarizationSummarization
Retrieval Question/AnsweringRetrieval Question/Answering
Retrieval Question Answering with SourcesRetrieval Question Answering with Sources
Vector DB Text GenerationVector DB Text Generation
API ChainsAPI Chains
Self-Critique Chain with Constitutional AISelf-Critique Chain with Constitutional AI
BashChainBashChain
LLMCheckerChainLLMCheckerChain
LLM MathLLM Math
LLMRequestsChainLLMRequestsChain
LLMSummarizationCheckerChainLLMSummarizationCheckerChain
ModerationModeration
OpenAPI ChainOpenAPI Chain
PALPAL
SQL Chain exampleSQL Chain example
Getting StartedGetting Started
Defining Custom ToolsDefining Custom Tools
Multi-Input ToolsMulti-Input Tools
Tool Input SchemaTool Input Schema
ApifyApify
Arxiv APIArxiv API
Shell ToolShell Tool
Bing SearchBing Search
ChatGPT PluginsChatGPT Plugins
DuckDuckGo SearchDuckDuckGo Search
File System ToolsFile System Tools
Google PlacesGoogle Places
Google SearchGoogle Search
Google Serper APIGoogle Serper API
Gradio ToolsGradio Tools
Human as a toolHuman as a tool
IFTTT WebHooksIFTTT WebHooks
OpenWeatherMap APIOpenWeatherMap API
Python REPLPython REPL
RequestsRequests
SceneXplainSceneXplain
Search ToolsSearch Tools
SearxNG Search APISearxNG Search API
SerpAPISerpAPI
Wikipedia APIWikipedia API
Wolfram AlphaWolfram Alpha
Zapier Natural Language Actions APIZapier Natural Language Actions API
Agent TypesAgent Types
Custom AgentCustom Agent
Custom LLM AgentCustom LLM Agent
Custom LLM Agent (with a ChatModel)Custom LLM Agent (with a ChatModel)
Custom MRKL AgentCustom MRKL Agent
Custom MultiAction AgentCustom MultiAction Agent
Custom Agent with Tool RetrievalCustom Agent with Tool Retrieval
Conversation Agent (for Chat Models)Conversation Agent (for Chat Models)
Conversation AgentConversation Agent
MRKLMRKL
MRKL ChatMRKL Chat
ReActReAct
Self Ask With SearchSelf Ask With Search
CSV AgentCSV Agent
JiraJira
JSON AgentJSON Agent
OpenAPI agentsOpenAPI agents
Natural Language APIsNatural Language APIs
Pandas Dataframe AgentPandas Dataframe Agent
PlayWright Browser ToolkitPlayWright Browser Toolkit
PowerBI Dataset AgentPowerBI Dataset Agent
Python AgentPython Agent
SQL Database AgentSQL Database Agent
Vectorstore AgentVectorstore Agent
How to combine agents and vectorstoresHow to combine agents and vectorstores
How to use the async API for AgentsHow to use the async API for Agents
How to create ChatGPT CloneHow to create ChatGPT Clone
How to access intermediate stepsHow to access intermediate steps
How to cap the max number of iterationsHow to cap the max number of iterations
How to use a timeout for the agentHow to use a timeout for the agent
How to add SharedMemory to an Agent and its ToolsHow to add SharedMemory to an Agent and its Tools
LLMsLLMs
Chat ModelsChat Models
EmbeddingsEmbeddings
PromptTemplatesPromptTemplates
Example SelectorExample Selector
Output ParsersOutput Parsers
DocstoreDocstore
Text SplitterText Splitter
Document LoadersDocument Loaders
Vector StoresVector Stores
RetrieversRetrievers
Document CompressorsDocument Compressors
Document TransformersDocument Transformers
AgentsAgents
ToolsTools
Agent ToolkitsAgent Toolkits
How to use the async API for LLMsHow to use the async API for LLMs
How to write a custom LLM wrapperHow to write a custom LLM wrapper
How (and why) to use the fake LLMHow (and why) to use the fake LLM
How to cache LLM callsHow to cache LLM calls
How to serialize LLM classesHow to serialize LLM classes
How to stream LLM and Chat Model responsesHow to stream LLM and Chat Model responses
How to track token usageHow to track token usage
AI21AI21
Aleph AlphaAleph Alpha
Azure OpenAIAzure OpenAI
BananaBanana
CerebriumAICerebriumAI
CohereCohere
DeepInfraDeepInfra
ForefrontAIForefrontAI
GooseAIGooseAI
GPT4AllGPT4All
Hugging Face HubHugging Face Hub
Hugging Face Local PipelinesHugging Face Local Pipelines
Llama-cppLlama-cpp
ManifestManifest
ModalModal
NLP CloudNLP Cloud
OpenAIOpenAI
PetalsPetals
PipelineAIPipelineAI
PredictionGuardPredictionGuard
PromptLayer OpenAIPromptLayer OpenAI
ReplicateReplicate
RunhouseRunhouse
SageMakerEndpointSageMakerEndpoint
StochasticAIStochasticAI
WriterWriter
How to use few shot examplesHow to use few shot examples
How to stream responsesHow to stream responses
AnthropicAnthropic
AzureAzure
OpenAIOpenAI
PromptLayer ChatOpenAIPromptLayer ChatOpenAI
Connecting to a Feature StoreConnecting to a Feature Store
How to create a custom prompt templateHow to create a custom prompt template
How to create a prompt template that uses few shot examplesHow to create a prompt template that uses few shot examples
How to work with partial Prompt TemplatesHow to work with partial Prompt Templates
How to serialize promptsHow to serialize prompts
PromptTemplatesPromptTemplates
Example SelectorExample Selector
Output ParsersOutput Parsers