I'm trying to upload a pdf file into my 'search&conversation' datastore. I've specified the data_schema to be 'document'. Yet I'm facing the below error.
Waiting for operation to complete: projects/655678175973/locations/global/collections/default_collection/dataStores/automation-test-dp_1706768442339/branches/0/operations/import-documents-2163671234980264541
error_samples {
code: 3
message: "The provided GCS URI has invalid unstructured data format. Please provide a valid GCS path in either NDJSON(.ndjson) or JSON Lines(.jsonl) format."
details {
type_url: "type.googleapis.com/google.rpc.ResourceInfo"
value: "\0224gs://chatgpt_data_source/test-010223-dp/page_1.pdf:0"
}
}
error_config {
gcs_prefix: "gs://655678175973_us_import_document/errors2163671234980262667"
}
Can you try setting it as "content" instead of "document".
Refer below video
https://youtu.be/o9acb2gdWYs
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |