mlflow.strands

mlflow.strands.autolog(log_traces: bool = True, disable: bool = False, silent: bool = False)[source]

注意

实验性功能:此函数可能会在未来版本中更改或移除,恕不另行通知。

启用(或禁用)并配置从 Strands Agents SDK 到 MLflow 的自动日志记录。

参数
  • log_traces – 如果为 True,则会为 Strands Agents 记录跟踪。

  • disable – 如果为 True,则会禁用 Strands 自动日志记录。

  • silent – 如果为 True,则会抑制所有 MLflow 事件日志和警告。