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

    document_transformers

    Document Transformers are classes to transform Documents.

    Document Transformers usually used to transform a lot of Documents in a single run.

    Attributes

    attribute
    DEPRECATED_LOOKUP: dict

    Functions

    function
    create_importer

    Create a function that helps retrieve objects from their new locations.

    The goal of this function is to help users transition from deprecated imports to new imports.

    The function will raise deprecation warning on loops using deprecated_lookups or fallback_module.

    Module lookups will import without deprecation warnings (used to speed up imports from large namespaces like llms or chat models).

    This function should ideally only be used with deprecated imports not with existing imports that are valid, as in addition to raising deprecation warnings the dynamic imports can create other issues for developers (e.g., loss of type information, IDE support for going to definition etc).

    Modules

    module
    beautiful_soup_transformer
    module
    nuclia_text_transform
    module
    google_translate
    module
    html2text
    module
    long_context_reorder
    module
    openai_functions
    module
    doctran_text_extract
    module
    doctran_text_translate
    module
    doctran_text_qa
    module
    embeddings_redundant_filter
    View source on GitHub