user22793858
user22793858

Reputation: 1

Impossibility of creating a service control in Vertex AI Search

I am looking to set up a serving control to influence and modify the results returned by Vertex AI Search. I call the url:

"https://discoveryengine.googleapis.com/v1alpha/projects/PROJECT_ID/locations/global/collections/default_collection/dataStores/DATA_STORE_ID/controls?CONTROL_ID=XXXX"

in CURL but I get a 404 Method not found error

I thought it was a rights error but I couldn't resolve it. Someone would have any idea ?

Thanks in advance

Upvotes: 0

Views: 240

Answers (1)

Holt Skinner
Holt Skinner

Reputation: 2234

I see two possible issues here:

  1. Serving controls is an allowlist-only feature. You must have a Google Cloud account team in order to request access at this time.

  2. If you have allowlist access, The REST command you're using isn't following the correct format as shown in the documentation.

However, the documentation is also incorrect and the correct URL path should be in this format. (The URL is missing controlId=). I'm in the process of fixing the documentation. Documentation has been fixed.

"https://discoveryengine.googleapis.com/v1alpha/projects/PROJECT_ID/locations/global/collections/default_collection/dataStores/DATA_STORE_ID/controls?controlId=CONTROL_ID"

Upvotes: 0

Related Questions