mlflow.pydantic_ai

mlflow.pydantic_ai.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.1.9 <= pydantic-ai <= 0.1.9. Autologging may not succeed when used with package versions outside of this range.

Enable (or disable) autologging for Pydantic_AI.

Parameters
  • log_traces – If True, capture spans for agent + model calls.

  • disable – If True, disable the autologging patches.

  • silent – If True, suppress MLflow warnings/info.