Home / Function/ _import_tongyi() — langchain Function Reference

_import_tongyi() — langchain Function Reference

Architecture documentation for the _import_tongyi() function in __init__.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  6ecbfda4_1571_4837_857f_e72a37aa65dd["_import_tongyi()"]
  2c74953f_f09a_25b9_cd49_d2b3d6fed35a["__init__.py"]
  6ecbfda4_1571_4837_857f_e72a37aa65dd -->|defined in| 2c74953f_f09a_25b9_cd49_d2b3d6fed35a
  style 6ecbfda4_1571_4837_857f_e72a37aa65dd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/llms/__init__.py lines 470–473

def _import_tongyi() -> Any:
    from langchain_community.llms.tongyi import Tongyi

    return Tongyi

Domain

Subdomains

Frequently Asked Questions

What does _import_tongyi() do?
_import_tongyi() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/llms/__init__.py.
Where is _import_tongyi() defined?
_import_tongyi() is defined in libs/langchain/langchain_classic/llms/__init__.py at line 470.

Analyze Your Own Codebase

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

Try Supermodel Free