Skip to content

Commit 4c6be2e

Browse files
authored
fix: Update discoveryengine.GcsSource data_schema with more options. (GoogleCloudPlatform#12670)
1 parent 4161bdb commit 4c6be2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

discoveryengine/import_documents_sample.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ def import_documents_gcs_sample(
137137
input_uris=[gcs_uri],
138138
# Options:
139139
# - `content` - Unstructured documents (PDF, HTML, DOC, TXT, PPTX)
140-
# - `custom` - Unstructured documents with JSONL metadata
140+
# - `custom` - Unstructured documents with custom JSONL metadata
141+
# - `document` - Structured documents in the discoveryengine.Document format.
141142
# - `csv` - Unstructured documents with CSV metadata
142143
data_schema="content",
143144
),

0 commit comments

Comments
 (0)