mlflow.autogen

mlflow.autogen.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.

Enables (or disables) and configures autologging from Autogen to MLflow. Currently, MLflow only supports tracing for Autogen agents.

Parameters
  • log_traces – If True, traces are logged for Autogen agents by using runtime logging. If False, no traces are collected during inference. Default to True.

  • disable – If True, disables the Autogen autologging. Default to False.

  • silent – If True, suppress all event logs and warnings from MLflow during Autogen autologging. If False, show all events and warnings.