Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ def deploy_model_with_automatic_resources_sample(
metadata: Optional[Sequence[Tuple[str, str]]] = (),
sync: bool = True,
):
"""
model_name: A fully-qualified model resource name or model ID.
Example: "projects/123/locations/us-central1/models/456" or
"456" when project and location are initialized or passed.
"""

aiplatform.init(project=project, location=location)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ def deploy_model_with_dedicated_resources_sample(
metadata: Optional[Sequence[Tuple[str, str]]] = (),
sync: bool = True,
):
"""
model_name: A fully-qualified model resource name or model ID.
Example: "projects/123/locations/us-central1/models/456" or
"456" when project and location are initialized or passed.
"""

aiplatform.init(project=project, location=location)

Expand Down