googleapis / googleapis/python-aiplatform

load instantiate model by DISPLAY_NAME; current usage is by Model/Artifact ID.

オープン
#2,040 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
api: vertex-ai
主要言語
Python
スター
905
フォーク
465
平均マージ
1日 13時間
マージ済み PR(30日)
44

説明

Current MODEL load via:
```
model = aiplatform.Model(
model_name=model_id,
project=PROJECT,
version="1",
)
```
requires user to obtain model ID such as:
```
model_id = aiplatform.Model.list(
filter=("display_name={}")
.format(DISPLAY_NAME)
)[0].name
```
which return artifact/model ID by the `DISPLAY_NAME`. It would be really optimal to be able to query the model by its NAME, which seems (by documentation) was the case in previous `google.cloud.aiplatform` releases. The most recent release, however, does not allow querying by NAME, instead require particular MODEL/ARTIFACT ID, which by some might be perceived as awkward. Having query by NAME would be really convenient. Thanks!

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。