langchain.callbacks.manager.wandb_tracing_enabled

langchain.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

Example

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

Examples using wandb_tracing_enabled