mirror of
https://github.com/hwchase17/langchain
synced 2024-11-18 09:25:54 +00:00
23 lines
571 B
Markdown
23 lines
571 B
Markdown
|
# Google Drive
|
||
|
|
||
|
>[Google Drive](https://en.wikipedia.org/wiki/Google_Drive) is a file storage and synchronization service developed by Google.
|
||
|
|
||
|
Currently, only `Google Docs` are supported.
|
||
|
|
||
|
## Installation and Setup
|
||
|
|
||
|
First, you need to install several python package.
|
||
|
|
||
|
```bash
|
||
|
pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib
|
||
|
```
|
||
|
|
||
|
## Document Loader
|
||
|
|
||
|
See a [usage example and authorizing instructions](../modules/indexes/document_loaders/examples/google_drive.ipynb).
|
||
|
|
||
|
|
||
|
```python
|
||
|
from langchain.document_loaders import GoogleDriveLoader
|
||
|
```
|