2023-06-01 00:54:05 +00:00
|
|
|
# Google Cloud Storage
|
|
|
|
|
|
|
|
>[Google Cloud Storage](https://en.wikipedia.org/wiki/Google_Cloud_Storage) is a managed service for storing unstructured data.
|
|
|
|
|
|
|
|
## Installation and Setup
|
|
|
|
|
|
|
|
First, you need to install `google-cloud-bigquery` python package.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pip install google-cloud-storage
|
|
|
|
```
|
|
|
|
|
|
|
|
## Document Loader
|
|
|
|
|
|
|
|
There are two loaders for the `Google Cloud Storage`: the `Directory` and the `File` loaders.
|
|
|
|
|
2023-06-16 18:52:56 +00:00
|
|
|
See a [usage example](/docs/modules/data_connection/document_loaders/integrations/google_cloud_storage_directory.html).
|
2023-06-01 00:54:05 +00:00
|
|
|
|
|
|
|
```python
|
|
|
|
from langchain.document_loaders import GCSDirectoryLoader
|
|
|
|
```
|
2023-06-16 18:52:56 +00:00
|
|
|
See a [usage example](/docs/modules/data_connection/document_loaders/integrations/google_cloud_storage_file.html).
|
2023-06-01 00:54:05 +00:00
|
|
|
|
|
|
|
```python
|
|
|
|
from langchain.document_loaders import GCSFileLoader
|
|
|
|
```
|