Skip to content

The agent engineering platform.

Pprados/lite google drive (#13175)

Philippe PRADOSe0c03d6c44f4
diff --git a/docs/docs/integrations/document_loaders/google_drive.ipynb b/docs/docs/integrations/document_loaders/google_drive.ipynb
index 2e3067e584..1bfab2c8f2 100644
--- a/docs/docs/integrations/document_loaders/google_drive.ipynb
+++ b/docs/docs/integrations/document_loaders/google_drive.ipynb
@@ -217,7 +217,7 @@
"It's compatible with the ̀`langchain.document_loaders.GoogleDriveLoader` and can be used\n",
"in its place.\n",
"\n",
- "To be compatible with containers, the authentication uses an environment variable ̀GOOGLE_ACCOUNT_FILE` to credential file (for user or service)."
+ "To be compatible with containers, the authentication uses an environment variable `̀GOOGLE_ACCOUNT_FILE` to credential file (for user or service)."
]
},
{
@@ -331,6 +331,7 @@
"Some pre-formated request are proposed (use `{query}`, `{folder_id}` and/or `{mime_type}`):\n",
"\n",
"You can customize the criteria to select the files. A set of predefined filter are proposed:\n",
+ "\n",
"| template | description |\n",
"| -------------------------------------- | --------------------------------------------------------------------- |\n",
"| gdrive-all-in-folder | Return all compatible files from a `folder_id` |\n",
@@ -401,6 +402,14 @@
"id": "375bb465-8f69-407b-94bd-ffa3718ef500",
"metadata": {},
"source": [
+ "The conversion can manage in Markdown format:\n",
+ "- bullet\n",
+ "- link\n",
+ "- table\n",
+ "- titles\n",
+ "\n",
+ "Set the attribut `return_link` to `True` to export links.\n",
+ "\n",
"#### Modes for GSlide and GSheet\n",
"The parameter mode accepts different values:\n",
"\n",
@@ -408,12 +417,6 @@
"- \"snippets\": return the description of each file (set in metadata of Google Drive files).\n",
"\n",
"\n",
- "The conversion can manage in Markdown format:\n",
- "- bullet\n",
- "- link\n",
- "- table\n",
- "- titles\n",
- "\n",
"The parameter `gslide_mode` accepts different values:\n",
"\n",
"- \"single\" : one document with <PAGE BREAK>\n",
@@ -503,14 +506,6 @@
" print(\"---\")\n",
" print(doc.page_content.strip()[:60] + \"...\")"
]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "id": "51efa73a-4e2d-4f9c-abaf-6c9bde2ff69d",
- "metadata": {},
- "outputs": [],
- "source": []
}
],
"metadata": {