Skip to main content
Google Cloud Storage 是用于存储非结构化数据的托管服务。
本文介绍如何load document objects from an Google Cloud Storage (GCS) directory (bucket).

Specifying a prefix

你也可以指定a prefix for more fine-grained control over what files to load -including loading all files from a specific folder-.

Continue on failure to load a single file

Files in a GCS bucket may cause errors during processing. Enable the continue_on_failure=True argument to allow silent failure. This means failure to process a single file will not break the function, it will log a warning instead.