Home / File/ __init__.py — langchain Source File

__init__.py — langchain Source File

Architecture documentation for __init__.py, a python file in the langchain codebase. 4 imports, 0 dependents.

File python CoreAbstractions Serialization 4 imports 2 functions

Entity Profile

Dependency Diagram

graph LR
  d761a898_e67d_b0af_6e64_4cb62478db68["__init__.py"]
  8e2034b7_ceb8_963f_29fc_2ea6b50ef9b3["typing"]
  d761a898_e67d_b0af_6e64_4cb62478db68 --> 8e2034b7_ceb8_963f_29fc_2ea6b50ef9b3
  439a4142_6fa6_fe9a_2cba_7c9fb0cdceb7["langchain_classic._api"]
  d761a898_e67d_b0af_6e64_4cb62478db68 --> 439a4142_6fa6_fe9a_2cba_7c9fb0cdceb7
  1c9358b6_c985_3c85_5382_b0cfd1a3409c["langchain_community.document_loaders"]
  d761a898_e67d_b0af_6e64_4cb62478db68 --> 1c9358b6_c985_3c85_5382_b0cfd1a3409c
  2a596110_eecb_6975_0f38_02fb4494758e["langchain_core.document_loaders"]
  d761a898_e67d_b0af_6e64_4cb62478db68 --> 2a596110_eecb_6975_0f38_02fb4494758e
  style d761a898_e67d_b0af_6e64_4cb62478db68 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"""**Document Loaders**  are classes to load Documents.

**Document Loaders** are usually used to load a lot of Documents in a single run.
"""

from typing import TYPE_CHECKING, Any

from langchain_classic._api import create_importer

if TYPE_CHECKING:
    from langchain_community.document_loaders import (
        AcreomLoader,
        AirbyteCDKLoader,
        AirbyteGongLoader,
        AirbyteHubspotLoader,
        AirbyteJSONLoader,
        AirbyteSalesforceLoader,
        AirbyteShopifyLoader,
        AirbyteStripeLoader,
        AirbyteTypeformLoader,
        AirbyteZendeskSupportLoader,
        AirtableLoader,
        AmazonTextractPDFLoader,
        ApifyDatasetLoader,
        ArcGISLoader,
        ArxivLoader,
        AssemblyAIAudioTranscriptLoader,
        AsyncChromiumLoader,
        AsyncHtmlLoader,
        AZLyricsLoader,
        AzureAIDataLoader,
        AzureBlobStorageContainerLoader,
        AzureBlobStorageFileLoader,
        BibtexLoader,
        BigQueryLoader,
        BiliBiliLoader,
        BlackboardLoader,
        BlockchainDocumentLoader,
        BraveSearchLoader,
        BrowserlessLoader,
        BSHTMLLoader,
        ChatGPTLoader,
        CollegeConfidentialLoader,
        ConcurrentLoader,
        ConfluenceLoader,
        CoNLLULoader,
        CouchbaseLoader,
        CSVLoader,
        CubeSemanticLoader,
        DatadogLogsLoader,
        DataFrameLoader,
        DiffbotLoader,
        DirectoryLoader,
        DiscordChatLoader,
        DocugamiLoader,
        DocusaurusLoader,
        Docx2txtLoader,
        DropboxLoader,
        DuckDBLoader,
        EtherscanLoader,
// ... (482 more lines)

Subdomains

Dependencies

  • langchain_classic._api
  • langchain_community.document_loaders
  • langchain_core.document_loaders
  • typing

Frequently Asked Questions

What does __init__.py do?
__init__.py is a source file in the langchain codebase, written in python. It belongs to the CoreAbstractions domain, Serialization subdomain.
What functions are defined in __init__.py?
__init__.py defines 2 function(s): __getattr__, langchain_community.
What does __init__.py depend on?
__init__.py imports 4 module(s): langchain_classic._api, langchain_community.document_loaders, langchain_core.document_loaders, typing.
Where is __init__.py in the architecture?
__init__.py is located at libs/langchain/langchain_classic/document_loaders/__init__.py (domain: CoreAbstractions, subdomain: Serialization, directory: libs/langchain/langchain_classic/document_loaders).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free