googleapis / googleapis/python-aiplatform

aiplatform_v1.ReadIndexDatapointsRequest throws core_exceptions.NotFound

Đang mở
#2,854 3 bình luận 0 reaction 1 người được giao Được giao cho @ZhenyiQ Xem trên GitHub
api: vertex-ai type: feature request
Ngôn ngữ chính
Python
Star
905
Fork
465
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
44

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.