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-classicchainsllm_summarization_checker
    Module●Since v1.0

    llm_summarization_checker

    Summarization checker chain for verifying accuracy of text generation.

    Chain that tries to verify the accuracy of text generation by splitting it into a list of facts, then checking if those facts are true or not, and rewriting the text to make it more truthful. It will repeat this loop until it hits max_tries or gets to a "true" output.

    Modules

    module
    base

    Chain for summarization with self-verification.

    View source on GitHub