mlflow.anthropic
- mlflow.anthropic.autolog(log_traces: bool = True, disable: bool = False, silent: bool = False)[source]
- Note - Autologging is known to be compatible with the following package versions: - 0.30.0<=- anthropic<=- 0.59.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 and asynchronous APIs are supported. Streaming is not recorded. - Parameters
- log_traces – If - True, traces are logged for Anthropic models. If- False, no traces are collected during inference. Default to- True.
- disable – If - True, disables the Anthropic autologging. Default to- False.
- silent – If - True, suppress all event logs and warnings from MLflow during Anthropic autologging. If- False, show all events and warnings.