mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
87e502c6bc
Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
27 lines
785 B
Plaintext
27 lines
785 B
Plaintext
# 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.
|
|
|
|
See a [usage example](/docs/modules/data_connection/document_loaders/integrations/google_cloud_storage_directory.html).
|
|
|
|
```python
|
|
from langchain.document_loaders import GCSDirectoryLoader
|
|
```
|
|
See a [usage example](/docs/modules/data_connection/document_loaders/integrations/google_cloud_storage_file.html).
|
|
|
|
```python
|
|
from langchain.document_loaders import GCSFileLoader
|
|
```
|