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:
You are trying to use enterprise edition features (like website search, multi-modal search, etc.) in a standard edition search engine.
To enable the Enterprise edition, Visit the following link: Toggle Enterprise Edition. and Enable the Enterprise edition for your project.
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"
}'
hi @Robina unfortunately, in a conversation APP that screen does not exist. this is why I am creating the ticket.
Hi @xavidop have you already found a solution or work around to this issue?
the woraround was basically to create a search app using the same data store.
I have a similar issue. i had created a datastore using Unstructured PDFs. When i try to use datastore with grounding configuration, i get the same error to toggle to enterprise edition.
User | Count |
---|---|
10 | |
2 | |
1 | |
1 | |
1 |