Hi,
I created a Data Store and I linked it to Dialogflow CX. I want to query it through the Discoverengine API and it is not working:
curl -X POST -H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
"https://discoveryengine.googleapis.com/v1alpha/projects/test-cx-346408/locations/global/collections/default_collection/dataStores/cxcli_1703976487926/servingConfigs/default_search:search" \
-d '{
"query": "cxcli",
}'
And this is the result:
{
"error": {
"code": 400,
"message": "Cannot use enterprise edition features (website search, multi-modal search, extractive answers/segments, etc.) in a standard edition search engine. Please follow https://cloud.google.com/generative-ai-app-builder/docs/enterprise-edition#toggle-enterprise to enable Enterprise edition. Data store: cxcli_1703976487926",
"status": "FAILED_PRECONDITION"
}
}
The data store seems okay and it is indexed:
I have the same behaviour in golang. That code is here: