langchain_community.callbacks.manager.wandb_tracing_enabled¶

langchain_community.callbacks.manager.wandb_tracing_enabled(session_name: str = 'default') Generator[None, None, None][source]¶

Get the WandbTracer in a context manager.

Parameters

session_name (str, optional) – The name of the session. Defaults to “default”.

Returns

None

Return type

Generator[None, None, None]

Example

>>> with wandb_tracing_enabled() as session:
...     # Use the WandbTracer session

Examples using wandb_tracing_enabled¶