Skip to main content

Google Cloud Storage

Google Cloud Storage is a managed service for storing unstructured data.

Installation and Setup

First, you need to install google-cloud-bigquery python package.

pip install google-cloud-storage

Document Loader

There are two loaders for the Google Cloud Storage: the Directory and the File loaders.

See a usage example.

from langchain.document_loaders import GCSDirectoryLoader

API Reference:

See a usage example.

from langchain.document_loaders import GCSFileLoader

API Reference: