Skip to main content
Ctrl+K

🦜🔗 LangChain 0.0.107

Getting Started

  • Quickstart Guide

Modules

  • Prompt Templates
    • Getting Started
    • Key Concepts
    • How-To Guides
      • Create a custom prompt template
      • Create a custom example selector
      • Provide few shot examples to a prompt
      • Prompt Serialization
      • Example Selectors
    • Reference
      • PromptTemplates
      • Example Selector
  • LLMs
    • Getting Started
    • Key Concepts
    • How-To Guides
      • Generic Functionality
        • Custom LLM
        • Fake LLM
        • LLM Caching
        • LLM Serialization
        • Token Usage Tracking
      • Integrations
        • AI21
        • Aleph Alpha
        • Anthropic
        • Azure OpenAI LLM Example
        • Banana
        • CerebriumAI LLM Example
        • Cohere
        • DeepInfra LLM Example
        • ForefrontAI LLM Example
        • GooseAI LLM Example
        • Hugging Face Hub
        • Manifest
        • Modal
        • OpenAI
        • Petals LLM Example
        • PromptLayer OpenAI
        • Self-Hosted Models via Runhouse
        • StochasticAI
        • Writer
      • Async API for LLM
      • Streaming with LLMs
    • Reference
  • Document Loaders
    • Key Concepts
    • How To Guides
      • CoNLL-U
      • Airbyte JSON
      • AZLyrics
      • College Confidential
      • Copy Paste
      • CSV Loader
      • Directory Loader
      • Email
      • EverNote
      • Facebook Chat
      • GCS Directory
      • GCS File Storage
      • GitBook
      • Google Drive
      • Gutenberg
      • Hacker News
      • HTML
      • iFixit
      • Images
      • IMSDb
      • Markdown
      • Microsoft Word
      • Notebook
      • Notion
      • Obsidian
      • Online PDF
      • PDF
      • PowerPoint
      • ReadTheDocs Documentation
      • Roam
      • s3 Directory
      • s3 File
      • Subtitle Files
      • Telegram
      • Unstructured File Loader
      • URL
      • Web Base
      • Word Documents
      • YouTube
  • Utils
    • Key Concepts
    • Generic Utilities
      • Bash
      • Bing Search
      • Google Search
      • Google Serper API
      • IFTTT WebHooks
      • Python REPL
      • Requests
      • SearxNG Search API
      • SerpAPI
      • Wolfram Alpha
    • Reference
      • Python REPL
      • SerpAPI
      • SearxNG Search
      • Docstore
      • Text Splitter
      • Embeddings
      • VectorStores
  • Indexes
    • Getting Started
    • Key Concepts
    • How To Guides
      • Embeddings
      • Hypothetical Document Embeddings
      • Text Splitter
      • VectorStores
      • AtlasDB
      • Chroma
      • Deep Lake
      • ElasticSearch
      • FAISS
      • Milvus
      • OpenSearch
      • Pinecone
      • Qdrant
      • Weaviate
      • Analyze Document
      • Chat Vector DB
      • Graph QA
      • Question Answering with Sources
      • Question Answering
      • Summarization
      • Vector DB Question/Answering
      • VectorDB Question Answering with Sources
      • Vector DB Text Generation
  • Chains
    • Getting Started
    • How-To Guides
      • Generic Chains
        • Loading from LangChainHub
        • LLM Chain
        • Sequential Chains
        • Serialization
        • Transformation Chain
      • Utility Chains
        • API Chains
        • Self-Critique Chain with Constitutional AI
        • BashChain
        • LLMCheckerChain
        • LLM Math
        • LLMRequestsChain
        • LLMSummarizationCheckerChain
        • Moderation
        • PAL
        • SQLite example
      • Async API for Chain
    • Key Concepts
    • Reference
  • Agents
    • Getting Started
    • Key Concepts
    • How-To Guides
      • Agents and Vectorstores
      • Async API for Agent
      • Custom Agent
      • Defining Custom Tools
      • Intermediate Steps
      • Loading from LangChainHub
      • Max Iterations
      • Multi Input Tools
      • Search Tools
      • Serialization
      • CSV Agent
      • JSON Agent
      • OpenAPI Agent
      • Pandas Dataframe Agent
      • Python Agent
      • SQL Database Agent
      • Vectorstore Agent
      • MRKL
      • MRKL Chat
      • ReAct
      • Self Ask With Search
    • Reference
  • Memory
    • Getting Started
    • Key Concepts
    • How-To Guides
      • ConversationBufferMemory
      • ConversationBufferWindowMemory
      • Entity Memory
      • Conversation Knowledge Graph Memory
      • ConversationSummaryMemory
      • ConversationSummaryBufferMemory
      • Adding Memory To an LLMChain
      • Adding Memory to a Multi-Input Chain
      • Adding Memory to an Agent
      • ChatGPT Clone
      • Conversation Agent
      • Conversational Memory Customization
      • Custom Memory
      • Multiple Memory
  • Chat
    • Getting Started
    • Key Concepts
    • How-To Guides
      • Agent
      • Chat Vector DB
      • Few Shot Examples
      • Memory
      • PromptLayer ChatOpenAI
      • Streaming
      • Vector DB Question/Answering
      • VectorDB Question Answering with Sources

Use Cases

  • Agents
  • Chatbots
  • Generate Examples
  • Data Augmented Generation
  • Question Answering
  • Summarization
  • Evaluation
    • Data Augmented Question Answering
    • Using Hugging Face Datasets
    • Question Answering
  • Model Comparison

Reference

  • Installation
  • Integrations
  • API References
    • Prompts
      • PromptTemplates
      • Example Selector
    • Utilities
      • Python REPL
      • SerpAPI
      • SearxNG Search
      • Docstore
      • Text Splitter
      • Embeddings
      • VectorStores
    • Chains
    • Agents

Ecosystem

  • LangChain Ecosystem
    • AI21 Labs
    • AtlasDB
    • Banana
    • CerebriumAI
    • Chroma
    • Cohere
    • DeepInfra
    • Deep Lake
    • ForefrontAI
    • Google Search Wrapper
    • Google Serper Wrapper
    • GooseAI
    • Graphsignal
    • Hazy Research
    • Helicone
    • Hugging Face
    • Modal
    • NLPCloud
    • OpenAI
    • OpenSearch
    • Petals
    • Pinecone
    • PromptLayer
    • Runhouse
    • SearxNG Search API
    • SerpAPI
    • StochasticAI
    • Unstructured
    • Weaviate
    • Wolfram Alpha Wrapper
    • Writer

Additional Resources

  • LangChainHub
  • Glossary
  • LangChain Gallery
  • Deployments
  • Tracing
  • Discord
  • Production Support
  • .rst

Prompts

Prompts#

The reference guides here all relate to objects for working with Prompts.

  • PromptTemplates
  • Example Selector

previous

Example Selectors

next

PromptTemplates

By Harrison Chase

© Copyright 2022, Harrison Chase.