googleapis / googleapis/python-aiplatform

aiplatform_v1.ReadIndexDatapointsRequest throws core_exceptions.NotFound

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

説明

calling aiplatform_v1.ReadIndexDatapointsRequest throws core_exceptions.NotFound if I pass an ID that does not exist in the index.
It will be nice if ReadIndexDatapointsRequest would return only existing ids and not trowing any exception.

In my case, I am calling matching engine to get last five embeddings of the products that user had visited.
I am updating the index once a week with product embeddings. So there is the case that new products appear on the website and they do not have embeddings.
And when I want to get last visited product embeddings, and one product is new, I get NotFound Exception.
My workaround is to call matching engine 5 times in a row but this cost me precious time.

Thank you.

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

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

評価

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

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

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