mlflow.anthropic
-
mlflow.anthropic.
autolog
(log_traces: bool = True, disable: bool = False, silent: bool = False)[source] Note
Experimental: This function may change or be removed in a future release without warning.
Note
Autologging is known to be compatible with the following package versions:
0.30.0
<=anthropic
<=0.40.0
. Autologging may not succeed when used with package versions outside of this range.Enables (or disables) and configures autologging from Anthropic to MLflow. Only synchronous calls are supported. Asynchnorous APIs and streaming are not recorded.
- Parameters
log_traces – If
True
, traces are logged for Anthropic models. IfFalse
, no traces are collected during inference. Default toTrue
.disable – If
True
, disables the Anthropic autologging. Default toFalse
.silent – If
True
, suppress all event logs and warnings from MLflow during Anthropic autologging. IfFalse
, show all events and warnings.