In vertex AI search for retail, how can I retrieve all products with one function call?
I found out that the get_product function is so slow. So If I get 10 product ids, then I need to do foreach.
It is too slow.
I would like to know how to retrive all fields information of the products with .search function not only id and product name.
If it's impossible, is there any way to retrieve list of products with all fields using one API invoke?
I tried to do with listproduct but it's not working.
Thank you in advance.
Hi @pavlodidushko,
Welcome to Google Cloud Community!
It looks like you are working with slow retrieval times using get_product in Vertex AI Search for Retail.
Here are potential ways that might help with your use case:
You may refer to the documentation below, which offers pertinent information on field masks and the search method:
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |