LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Caches
    • Callbacks
    • Documents
    • Document loaders
    • Embeddings
    • Exceptions
    • Language models
    • Serialization
    • Output parsers
    • Prompts
    • Rate limiters
    • Retrievers
    • Runnables
    • Utilities
    • Vector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    OverviewCachesCallbacksDocumentsDocument loadersEmbeddingsExceptionsLanguage modelsSerializationOutput parsersPromptsRate limitersRetrieversRunnablesUtilitiesVector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    Language
    Theme
    Pythonlangchain-coredocument_loadersbaseBaseBlobParser
    Class●Since v0.1

    BaseBlobParser

    Abstract interface for blob parsers.

    A blob parser provides a way to parse raw data stored in a blob into one or more Document objects.

    The parser can be composed with blob loaders, making it easy to reuse a parser independent of how the blob was originally loaded.

    Copy
    BaseBlobParser()

    Bases

    ABC

    Methods

    method
    lazy_parse

    Lazy parsing interface.

    Subclasses are required to implement this method.

    method
    parse

    Eagerly parse the blob into a Document or list of Document objects.

    This is a convenience method for interactive development environment.

    Production applications should favor the lazy_parse method instead.

    Subclasses should generally not over-ride this parse method.

    View source on GitHub