configure() — langchain Function Reference
Architecture documentation for the configure() function in manager.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD ba6695e3_66d3_2ef4_027e_436cea7aa24c["configure()"] f2c19eb2_a092_16e7_b693_b7ae35a0bc8c["CallbackManager"] ba6695e3_66d3_2ef4_027e_436cea7aa24c -->|defined in| f2c19eb2_a092_16e7_b693_b7ae35a0bc8c afb047d4_a471_790b_b243_a82244ee2e5e["configure()"] afb047d4_a471_790b_b243_a82244ee2e5e -->|calls| ba6695e3_66d3_2ef4_027e_436cea7aa24c e694e06d_9c3a_9620_74b6_743814a492ce["trace_as_chain_group()"] e694e06d_9c3a_9620_74b6_743814a492ce -->|calls| ba6695e3_66d3_2ef4_027e_436cea7aa24c 57f655ed_89b3_c486_de7e_73ebe360134a["atrace_as_chain_group()"] 57f655ed_89b3_c486_de7e_73ebe360134a -->|calls| ba6695e3_66d3_2ef4_027e_436cea7aa24c afb047d4_a471_790b_b243_a82244ee2e5e["configure()"] ba6695e3_66d3_2ef4_027e_436cea7aa24c -->|calls| afb047d4_a471_790b_b243_a82244ee2e5e 9459fba6_8a00_1919_2b50_35cd43b2bdcd["_configure()"] ba6695e3_66d3_2ef4_027e_436cea7aa24c -->|calls| 9459fba6_8a00_1919_2b50_35cd43b2bdcd style ba6695e3_66d3_2ef4_027e_436cea7aa24c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/callbacks/manager.py lines 1610–1643
def configure(
cls,
inheritable_callbacks: Callbacks = None,
local_callbacks: Callbacks = None,
verbose: bool = False, # noqa: FBT001,FBT002
inheritable_tags: list[str] | None = None,
local_tags: list[str] | None = None,
inheritable_metadata: dict[str, Any] | None = None,
local_metadata: dict[str, Any] | None = None,
) -> CallbackManager:
"""Configure the callback manager.
Args:
inheritable_callbacks: The inheritable callbacks.
local_callbacks: The local callbacks.
verbose: Whether to enable verbose mode.
inheritable_tags: The inheritable tags.
local_tags: The local tags.
inheritable_metadata: The inheritable metadata.
local_metadata: The local metadata.
Returns:
The configured callback manager.
"""
return _configure(
cls,
inheritable_callbacks,
local_callbacks,
inheritable_tags,
local_tags,
inheritable_metadata,
local_metadata,
verbose=verbose,
)
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does configure() do?
configure() is a function in the langchain codebase, defined in libs/core/langchain_core/callbacks/manager.py.
Where is configure() defined?
configure() is defined in libs/core/langchain_core/callbacks/manager.py at line 1610.
What does configure() call?
configure() calls 2 function(s): _configure, configure.
What calls configure()?
configure() is called by 3 function(s): atrace_as_chain_group, configure, trace_as_chain_group.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free