Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions google/genai/tunings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2457,6 +2457,9 @@ def _TuningJob_from_vertex(
),
)

if getv(from_object, ['gcsMetricsUri']) is not None:
setv(to_object, ['gcs_metrics_uri'], getv(from_object, ['gcsMetricsUri']))

return to_object


Expand Down
7 changes: 7 additions & 0 deletions google/genai/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -15656,6 +15656,10 @@ class TuningJob(_common.BaseModel):
distillation_sampling_spec: Optional[DistillationSamplingSpec] = Field(
default=None, description=""""""
)
gcs_metrics_uri: Optional[str] = Field(
default=None,
description="""The Cloud Storage metrics URI associated with this tuning job.""",
)

@property
def has_ended(self) -> bool:
Expand Down Expand Up @@ -15773,6 +15777,9 @@ class TuningJobDict(TypedDict, total=False):
distillation_sampling_spec: Optional[DistillationSamplingSpecDict]
""""""

gcs_metrics_uri: Optional[str]
"""The Cloud Storage metrics URI associated with this tuning job."""


TuningJobOrDict = Union[TuningJob, TuningJobDict]

Expand Down
Loading