LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • MCP Adapters
    • Overview
    • Agents
    • Callbacks
    • Chains
    • Chat models
    • Embeddings
    • Evaluation
    • Globals
    • Hub
    • Memory
    • Output parsers
    • Retrievers
    • Runnables
    • LangSmith
    • Storage
    Standard Tests
    Text Splitters
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    MCP Adapters
    OverviewAgentsCallbacksChainsChat modelsEmbeddingsEvaluationGlobalsHubMemoryOutput parsersRetrieversRunnablesLangSmithStorage
    Standard Tests
    Text Splitters
    Language
    Theme
    Pythonlangchain-classicchainsqa_with_sources
    Module●Since v1.0

    qa_with_sources

    Load question answering with sources chains.

    Functions

    deprecatedfunction
    load_qa_with_sources_chain

    Load a question answering with sources chain.

    Modules

    module
    loading

    Load question answering with sources chains.

    module
    retrieval

    Question-answering with sources over an index.

    module
    stuff_prompt
    module
    map_reduce_prompt
    module
    refine_prompts
    module
    vector_db

    Question-answering with sources over a vector database.

    module
    base

    Question answering with sources over documents.

    View source on GitHub