pip install --upgrade embedchain[googledrive].
The data_type must be google_drive. Otherwise, it will be considered a regular web page.
Google Drive requires the setup of credentials. This can be done by following the steps below:
- Go to the Google Cloud Console.
- Create a project if you donโt have one already.
- Enable the Google Drive API
- Authorize credentials for desktop app
- When done, you will be able to download the credentials in jsonformat. Rename the downloaded file tocredentials.jsonand save it in~/.credentials/credentials.json
- Set the environment variable GOOGLE_APPLICATION_CREDENTIALS=~/.credentials/credentials.json