Hi Community,
Currently, I have created a datastore which is synced with logs stored in bigquery. I am trying to enable naturalLanguageQueryUnderstandingConfig on it and getting below error
curl -X PATCH -H "Authorization: Bearer $(gcloud auth print-access-token)" -H "Content-Type: application/json" -H "X-Goog-User-Project: $PROJECT_ID" "https://us-discoveryengine.googleapis.com/v1/projects/$PROJECT_ID/locations/us/collections/default_c..." -d '{"naturalLanguageQueryUnderstandingConfig": {"mode": "ENABLED"}}'
{
"error": {
"code": 400,
"message": "Invalid JSON payload received. Unknown name \"naturalLanguageQueryUnderstandingConfig\" at 'data_store': Cannot find field.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"field": "data_store",
"description": "Invalid JSON payload received. Unknown name \"naturalLanguageQueryUnderstandingConfig\" at 'data_store': Cannot find field."
}
]
}
]
}
}
Here is the datastore config
curl -X GET -H "Authorization: Bearer $(gcloud auth print-access-token)" -H "Content-Type: application/json" -H "X-Goog-User-Project: $PROJECT_ID" "https://us-discoveryengine.googleapis.com/v1/projects/$PROJECT_ID/locations/us/collections/default_c..."
{
"name": "projects/$PROJECT_ID/locations/us/collections/default_collection/dataStores/$DATA_STORE_ID",
"displayName": "$DISPLAY_NAME",
"industryVertical": "GENERIC",
"createTime": "2025-04-25T01:50:19.254667Z",
"solutionTypes": [
"SOLUTION_TYPE_SEARCH"
],
"defaultSchemaId": "default_schema",
"billingEstimation": {
"structuredDataSize": "12226443350",
"structuredDataUpdateTime": "2025-04-30T15:01:01.367793765Z"
},
"servingConfigDataStore": {}
}
Am i missing anything? Any help will be appreciated!!
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |