I am using the Agent Builder and creating a datastore of PDFs, but I keep getting an error that says the PDFs are not getting indexed. Has anybody been able to get past this before?
Here is the full log of the error, it is the same for every PDF that I have in the datastore:
{
"insertId": "1ipuwtkd1yzi",
"jsonPayload": {
"serviceContext": {
"service": "discoveryengine.googleapis.com"
},
"context": {
"reportLocation": {
"functionName": "google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments"
}
},
"status": {
"message": "Document projects/hidden/locations/us/collections/default_collection/dataStores/test-gen-app_hidden/branches/0/documents/f286e6fc5e5a21733dd0a414d3a955af (uri: gs://test_gen_app_mxa/3-bayesian-network-inference-algorithm.pdf) is imported but not yet indexed. Its index status is still pending.",
"code": 14,
"@type": "type.googleapis.com/google.rpc.Status"
},
"importPayload": {
"gcsPath": "gs://test_gen_app_mxa/3-bayesian-network-inference-algorithm.pdf",
"lineNumber": "0",
"operation": "projects/hidden/locations/us/collections/default_collection/dataStores/test-gen-app_hidden/branches/0/operations/import-documents-4937549450197619152",
"document": ""
},
"@type": "type.googleapis.com/google.cloud.discoveryengine.logging.ErrorLog"
},
"resource": {
"type": "consumed_api",
"labels": {
"project_id": "hidden",
"version": "",
"location": "us",
"service": "discoveryengine.googleapis.com",
"method": "google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments",
"credential_id": ""
}
},
"timestamp": "2024-10-31T18:33:24.732400Z",
"severity": "ERROR",
"logName": "projects/hidden/logs/discoveryengine.googleapis.com%2Fapi_errors",
"receiveTimestamp": "2024-10-31T19:18:15.833065327Z"
}
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |