Skip to main content

aip_sdk.WorkspaceMetricConfigDefault

aip_sdk.WorkspaceMetricConfigDefault(id: str, workspace_id: str, metric: MetricRef, config_version: str, config_name: str, params: dict[str, Any], prompts: dict[str, PromptConfig], created_by: str | None, updated_by: str | None, created_at: datetime | None, updated_at: datetime | None)

One stored version of a workspace's default MetricConfig for a metric.

Attributes

  • id str: Row id.
  • workspace_id str: The owning workspace.
  • metric MetricRef: Which metric implementation this default parameterizes. Its name identifies the lineage this version belongs to.
  • config_version str: This version. The highest version of a lineage is the one a run resolves; earlier ones stay readable as history.
  • config_name str: Descriptive name for this configuration; not part of the row's identity, and free to change from one version to the next.
  • params dict[str, Any]: Non-prompt parameters for the metric.
  • prompts dict[str, PromptConfig]: Named Jinja2 prompt templates, keyed by slot name.
  • created_by str | None: Who published this version.
  • updated_by str | None: Who published this version. Equal to created_by — a version is never rewritten.
  • created_at datetime | None: When this version was published.
  • updated_at datetime | None: When this version was published.

aip_sdk.WorkspaceMetricConfigDefault.config_name​

aip_sdk.WorkspaceMetricConfigDefault.config_name: str

No docstring is defined in the source.

aip_sdk.WorkspaceMetricConfigDefault.config_version​

aip_sdk.WorkspaceMetricConfigDefault.config_version: str

No docstring is defined in the source.

aip_sdk.WorkspaceMetricConfigDefault.created_at​

aip_sdk.WorkspaceMetricConfigDefault.created_at: datetime | None

No docstring is defined in the source.

aip_sdk.WorkspaceMetricConfigDefault.created_by​

aip_sdk.WorkspaceMetricConfigDefault.created_by: str | None

No docstring is defined in the source.

aip_sdk.WorkspaceMetricConfigDefault.id​

aip_sdk.WorkspaceMetricConfigDefault.id: str

No docstring is defined in the source.

aip_sdk.WorkspaceMetricConfigDefault.metric​

aip_sdk.WorkspaceMetricConfigDefault.metric: MetricRef

No docstring is defined in the source.

aip_sdk.WorkspaceMetricConfigDefault.params​

aip_sdk.WorkspaceMetricConfigDefault.params: dict[str, Any]

No docstring is defined in the source.

aip_sdk.WorkspaceMetricConfigDefault.prompts​

aip_sdk.WorkspaceMetricConfigDefault.prompts: dict[str, PromptConfig]

No docstring is defined in the source.

aip_sdk.WorkspaceMetricConfigDefault.updated_at​

aip_sdk.WorkspaceMetricConfigDefault.updated_at: datetime | None

No docstring is defined in the source.

aip_sdk.WorkspaceMetricConfigDefault.updated_by​

aip_sdk.WorkspaceMetricConfigDefault.updated_by: str | None

No docstring is defined in the source.

aip_sdk.WorkspaceMetricConfigDefault.workspace_id​

aip_sdk.WorkspaceMetricConfigDefault.workspace_id: str

No docstring is defined in the source.