mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-31 08:32:32 +00:00
docs: updated docs on langchain_google_community (#21064)
Thank you for contributing to LangChain! - [ ] **PR title**: "docs: updated docs on langchain_google_community" - [ ] **PR message**: - **Description:** updated docs on langchain_google_community
This commit is contained in:
parent
c9e96bb5e2
commit
a36935b520
@ -20,7 +20,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"%pip install --upgrade --quiet google-cloud-bigquery"
|
||||
"%pip install --upgrade --quiet langchain-google-community[bigquery]"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -31,7 +31,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from langchain_community.document_loaders import BigQueryLoader"
|
||||
"from langchain_google_community import BigQueryLoader"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -38,7 +38,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"%pip install --upgrade --quiet google-api-python-client google-auth-httplib2 google-auth-oauthlib"
|
||||
"%pip install --upgrade --quiet langchain-google-community[drive]"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -121,10 +121,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from langchain_community.document_loaders import (\n",
|
||||
" GoogleDriveLoader,\n",
|
||||
" UnstructuredFileIOLoader,\n",
|
||||
")"
|
||||
"from langchain_community.document_loaders import UnstructuredFileIOLoader\n",
|
||||
"from langchain_google_community import GoogleDriveLoader"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -219,7 +217,7 @@
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"## Extended usage\n",
|
||||
"An external component can manage the complexity of Google Drive : `langchain-googledrive`\n",
|
||||
"An external (unofficial) component can manage the complexity of Google Drive : `langchain-googledrive`\n",
|
||||
"It's compatible with the ̀`langchain_community.document_loaders.GoogleDriveLoader` and can be used\n",
|
||||
"in its place.\n",
|
||||
"\n",
|
||||
|
@ -32,7 +32,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"%pip install --upgrade --quiet google-cloud-speech"
|
||||
"%pip install --upgrade --quiet langchain-google-community[speech]"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -52,7 +52,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from langchain_community.document_loaders import GoogleSpeechToTextLoader\n",
|
||||
"from langchain_google_community import GoogleSpeechToTextLoader\n",
|
||||
"\n",
|
||||
"project_id = \"<PROJECT_ID>\"\n",
|
||||
"file_path = \"gs://cloud-samples-data/speech/audio.flac\"\n",
|
||||
@ -152,7 +152,7 @@
|
||||
" RecognitionConfig,\n",
|
||||
" RecognitionFeatures,\n",
|
||||
")\n",
|
||||
"from langchain_community.document_loaders import GoogleSpeechToTextLoader\n",
|
||||
"from langchain_google_community import GoogleSpeechToTextLoader\n",
|
||||
"\n",
|
||||
"project_id = \"<PROJECT_ID>\"\n",
|
||||
"location = \"global\"\n",
|
||||
|
@ -39,8 +39,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"%pip install --upgrade --quiet google-cloud-documentai\n",
|
||||
"%pip install --upgrade --quiet google-cloud-documentai-toolbox"
|
||||
"%pip install --upgrade --quiet langchain-google-community[docai]"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -71,8 +70,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from langchain_community.document_loaders.blob_loaders import Blob\n",
|
||||
"from langchain_community.document_loaders.parsers import DocAIParser"
|
||||
"from langchain_core.document_loaders.blob_loaders import Blob\n",
|
||||
"from langchain_google_community import DocAIParser"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -31,8 +31,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from langchain_community.document_transformers import GoogleTranslateTransformer\n",
|
||||
"from langchain_core.documents import Document"
|
||||
"from langchain_core.documents import Document\n",
|
||||
"from langchain_google_community import GoogleTranslateTransformer"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user