It's compatible with the ÃÄlangchain.document_loaders.GoogleDriveLoader and can be used
in its place.To be compatible with containers, the authentication uses an environment variable ÃÄGOOGLE_ACCOUNT_FILE` to credential file (for user or service).pip install langchain-googledrivefolder_id='root'#folder_id='1yucgL9WGgWZdM1TOuKkeghlPizuzMYb5'# Use the advanced version.from langchain_googledrive.document_loaders import GoogleDriveLoaderloader = GoogleDriveLoader(    folder_id=folder_id,    recursive=False,    num_results=2,  # Maximum number of file to load)By default, all files with these mime-type can be converted to Document.text/texttext/plaintext/htmltext/csvtext/markdownimage/pngimage/jpegapplication/epub+zipapplication/pdfapplication/rtfapplication/vnd.google-apps.document (GDoc)application/vnd.google-apps.presentation (GSlide)application/vnd.google-apps.spreadsheet (GSheet)application/vnd.google.colaboratory (Notebook colab)application/vnd.openxmlformats-officedocument.presentationml.presentation (PPTX)application/vnd.openxmlformats-officedocument.wordprocessingml.document (DOCX)It's possible to update or customize this. See the documentation of GDriveLoader.But, the corresponding packages must be installed.pip install unstructuredfor doc in loader.load():    print("---")    print(doc.page_content.strip()[:60]+"...")Customize the search pattern‚ÄãAll parameter compatible with Google list()
API can be set.To specify the new pattern of the Google request, you can use a PromptTemplate().
The variables for the prompt can be set with kwargs in the constructor.
Some pre-formated request are proposed (use {query}, {folder_id} and/or {mime_type}):You can customize the criteria to select the files. A set of predefined filter are proposed:
| template                               | description                                                           |
| -------------------------------------- | --------------------------------------------------------------------- |
Google Drive is a file storage and synchronization service developed by Google.
Google Drive is a file storage and synchronization service developed by Google. ->: It's compatible with the ÃÄlangchain.document_loaders.GoogleDriveLoader and can be used
in its place.To be compatible with containers, the authentication uses an environment variable ÃÄGOOGLE_ACCOUNT_FILE` to credential file (for user or service).pip install langchain-googledrivefolder_id='root'#folder_id='1yucgL9WGgWZdM1TOuKkeghlPizuzMYb5'# Use the advanced version.from langchain_googledrive.document_loaders import GoogleDriveLoaderloader = GoogleDriveLoader(    folder_id=folder_id,    recursive=False,    num_results=2,  # Maximum number of file to load)By default, all files with these mime-type can be converted to Document.text/texttext/plaintext/htmltext/csvtext/markdownimage/pngimage/jpegapplication/epub+zipapplication/pdfapplication/rtfapplication/vnd.google-apps.document (GDoc)application/vnd.google-apps.presentation (GSlide)application/vnd.google-apps.spreadsheet (GSheet)application/vnd.google.colaboratory (Notebook colab)application/vnd.openxmlformats-officedocument.presentationml.presentation (PPTX)application/vnd.openxmlformats-officedocument.wordprocessingml.document (DOCX)It's possible to update or customize this. See the documentation of GDriveLoader.But, the corresponding packages must be installed.pip install unstructuredfor doc in loader.load():    print("---")    print(doc.page_content.strip()[:60]+"...")Customize the search pattern‚ÄãAll parameter compatible with Google list()
API can be set.To specify the new pattern of the Google request, you can use a PromptTemplate().
The variables for the prompt can be set with kwargs in the constructor.
Some pre-formated request are proposed (use {query}, {folder_id} and/or {mime_type}):You can customize the criteria to select the files. A set of predefined filter are proposed:
| template                               | description                                                           |
| -------------------------------------- | --------------------------------------------------------------------- |