Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

I can't get correct Vector index with quick start of Vector search.

Vector search quick start: https://cloud.google.com/vertex-ai/docs/vector-search/quickstart#permissions 

I tried exactly same steps as quick start to index my JSON file, which has "id" in string format and "embedding" in list of float format. Just like:

hoshizora_0-1736435568511.png

But I can't get any response by querying datapoint or vector.

hoshizora_1-1736435700404.png

 

However, when I followed the Colab tutorial to create empty index and then add datapoints one by one, it worked. I can get response by this way. I think the aiplatform didn't process my JSON file correctly.

Here's my code:

hoshizora_2-1736435886757.png

hoshizora_3-1736435898789.png

hoshizora_0-1736436130802.png

Does anyone know the probable reason?

 

0 1 51
1 REPLY 1

LOL, I found I mistook the  contents_delta_uri, it should be the folder path of JSON file, not path of JSON file.