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

    Chat LangChain

    What can I help with?

    Enter to sendยทShift+Enter new line

    Menu

    MCP Adapters
    Standard Tests
    Text Splitters
    OverviewAgentsCallbacksChainsChat modelsEmbeddingsEvaluationGlobalsHubMemoryOutput parsersRetrieversRunnablesLangSmithStorage
    Language
    Theme
    Pythonlangchain-classicchainsqa_with_sources
    Moduleโ—Since v1.5

    qa_with_sources

    Functions

    Modules

    View source on GitHub
    deprecatedfunction
    load_qa_with_sources_chain

    Load a question answering with sources chain.

    module
    base

    Question answering with sources over documents.

    module
    map_reduce_prompt
    module
    retrieval

    Question-answering with sources over an index.

    module
    refine_prompts
    module
    loading

    Load question answering with sources chains.

    module
    vector_db

    Question-answering with sources over a vector database.

    module
    stuff_prompt

    Load question answering with sources chains.