Home / File/ __init__.py — langchain Source File

__init__.py — langchain Source File

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

File python 2 imports

Entity Profile

Dependency Diagram

graph LR
  5cbc2f55_54f4_7bd5_f4ac_c7d41a2ad15b["__init__.py"]
  22d9a797_873c_c530_c632_e8f2b4c0df02["langchain_openai.llms.azure"]
  5cbc2f55_54f4_7bd5_f4ac_c7d41a2ad15b --> 22d9a797_873c_c530_c632_e8f2b4c0df02
  d2b4d9a5_b4a3_69ed_ae15_1bbb53103866["langchain_openai.llms.base"]
  5cbc2f55_54f4_7bd5_f4ac_c7d41a2ad15b --> d2b4d9a5_b4a3_69ed_ae15_1bbb53103866
  style 5cbc2f55_54f4_7bd5_f4ac_c7d41a2ad15b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"""Module for OpenAI large language models. Chat models are in `chat_models/`."""

from langchain_openai.llms.azure import AzureOpenAI
from langchain_openai.llms.base import OpenAI

__all__ = ["AzureOpenAI", "OpenAI"]

Dependencies

  • langchain_openai.llms.azure
  • langchain_openai.llms.base

Frequently Asked Questions

What does __init__.py do?
__init__.py is a source file in the langchain codebase, written in python.
What does __init__.py depend on?
__init__.py imports 2 module(s): langchain_openai.llms.azure, langchain_openai.llms.base.
Where is __init__.py in the architecture?
__init__.py is located at libs/partners/openai/langchain_openai/llms/__init__.py (directory: libs/partners/openai/langchain_openai/llms).

Analyze Your Own Codebase

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

Try Supermodel Free