googleapis / googleapis/python-aiplatform

aiplatform_v1.ReadIndexDatapointsRequest throws core_exceptions.NotFound

未关闭
#2,854 3 条评论 0 个 reaction 已指派 1 人 已指派给 @ZhenyiQ 在 GitHub 查看
api: vertex-ai type: feature request
主要语言
Python
星标
905
派生
465
平均合并
1 天 13 小时
30 天内合并 PR
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 摘要。