langchain/docs/extras/integrations
Anatolii Kmetiuk 34a64101cc
Add explanations to GoogleDriveLoader how to avoid errors (#11335)
- **Description:** add a paragraph to the GoogleDriveLoader doc on how
to bypass errors on authentication.

For some reason, specifying credential path via `credentials_path`
constructor parameter when creating `GoogleDriveLoader` makes it so that
the oAuth screen is never showing up when first using GoogleDriveLoader.
Instead, the `RefreshError: ('invalid_grant: Bad Request', {'error':
'invalid_grant', 'error_description': 'Bad Request'})` error happens.
Setting it via `os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = ...`
solves the problem. Also, `token_path` constructor parameter is
mandatory, otherwise another error happens when trying to `load()` for
the first time.

These errors are tricky and time-consuming to figure out, so I believe
it's good to mention them in the docs.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2023-10-04 11:12:54 -04:00
..
callbacks Callback integration for Trubrics (#11059) 2023-09-28 16:20:19 -07:00
chat Update fireworks features (#11205) 2023-09-29 08:37:06 -07:00
chat_loaders Harrison/stop importing from init (#10690) 2023-09-16 17:22:48 -07:00
document_loaders Add explanations to GoogleDriveLoader how to avoid errors (#11335) 2023-10-04 11:12:54 -04:00
document_transformers docs: document_transformers consistency (#10467) 2023-09-30 16:36:23 -07:00
llms Add prompt hub support for Mistral w/ Ollama (#11315) 2023-10-03 08:17:46 -07:00
memory docs: integrations/memory consistency (#10255) 2023-09-30 16:35:55 -07:00
platforms add vertex prod features (#10910) 2023-09-22 01:44:09 -07:00
providers Clarifai integration doc improvements (#11251) 2023-10-03 21:47:57 -04:00
retrievers update sec doc (#11336) 2023-10-03 10:22:53 -04:00
text_embedding Fix typo in gradient.ipynb (#11206) 2023-09-29 11:45:40 -04:00
toolkits Harrison/stop importing from init (#10690) 2023-09-16 17:22:48 -07:00
tools SearchApi integration (#11023) 2023-09-28 18:08:37 -07:00
vectorstores Clarifai integration doc improvements (#11251) 2023-10-03 21:47:57 -04:00