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
idstr: Row id.workspace_idstr: The owning workspace.metricMetricRef: Which metric implementation this default parameterizes. Itsnameidentifies the lineage this version belongs to.config_versionstr: This version. The highest version of a lineage is the one a run resolves; earlier ones stay readable as history.config_namestr: Descriptive name for this configuration; not part of the row's identity, and free to change from one version to the next.paramsdict[str, Any]: Non-prompt parameters for the metric.promptsdict[str, PromptConfig]: Named Jinja2 prompt templates, keyed by slot name.created_bystr | None: Who published this version.updated_bystr | None: Who published this version. Equal tocreated_by— a version is never rewritten.created_atdatetime | None: When this version was published.updated_atdatetime | 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.