Home / File/ globals.py — langchain Source File

globals.py — langchain Source File

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

File python 1 imports

Entity Profile

Dependency Diagram

graph LR
  a7ae961d_3074_ef7e_eeb3_c70f7bd8cb85["globals.py"]
  7a643532_4569_6aee_810c_1d094e130674["langchain_core.globals"]
  a7ae961d_3074_ef7e_eeb3_c70f7bd8cb85 --> 7a643532_4569_6aee_810c_1d094e130674
  style a7ae961d_3074_ef7e_eeb3_c70f7bd8cb85 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"""Global values and configuration that apply to all of LangChain."""

from langchain_core.globals import (
    get_debug,
    get_llm_cache,
    get_verbose,
    set_debug,
    set_llm_cache,
    set_verbose,
)

__all__ = [
    "get_debug",
    "get_llm_cache",
    "get_verbose",
    "set_debug",
    "set_llm_cache",
    "set_verbose",
]

Dependencies

  • langchain_core.globals

Frequently Asked Questions

What does globals.py do?
globals.py is a source file in the langchain codebase, written in python.
What does globals.py depend on?
globals.py imports 1 module(s): langchain_core.globals.
Where is globals.py in the architecture?
globals.py is located at libs/langchain/langchain_classic/globals.py (directory: libs/langchain/langchain_classic).

Analyze Your Own Codebase

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

Try Supermodel Free