docs[patch]: google platform page update (#14475)

Added missed tools

---------

Co-authored-by: Erick Friis <erickfriis@gmail.com>
This commit is contained in:
Leonid Ganeline 2023-12-08 17:40:44 -08:00 committed by GitHub
parent 2fa81739b6
commit d9bfdc95ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,6 @@ See a [usage example](/docs/integrations/chat/google_vertex_ai_palm).
from langchain.chat_models import ChatVertexAI from langchain.chat_models import ChatVertexAI
``` ```
## Document Loaders ## Document Loaders
### Google BigQuery ### Google BigQuery
@ -132,8 +131,6 @@ See a [usage example and authorization instructions](/docs/integrations/document
from langchain.document_loaders import GoogleSpeechToTextLoader from langchain.document_loaders import GoogleSpeechToTextLoader
``` ```
## Vector Stores ## Vector Stores
### Google Vertex AI Vector Search ### Google Vertex AI Vector Search
@ -264,14 +261,9 @@ from langchain.tools import GooglePlacesTool
### Google Search ### Google Search
We need to install a python package.
```bash
pip install google-api-python-client
```
- Set up a Custom Search Engine, following [these instructions](https://stackoverflow.com/questions/37083058/programmatically-searching-google-in-python-using-custom-search) - Set up a Custom Search Engine, following [these instructions](https://stackoverflow.com/questions/37083058/programmatically-searching-google-in-python-using-custom-search)
- Get an API Key and Custom Search Engine ID from the previous step, and set them as environment variables `GOOGLE_API_KEY` and `GOOGLE_CSE_ID` respectively - Get an API Key and Custom Search Engine ID from the previous step, and set them as environment variables
`GOOGLE_API_KEY` and `GOOGLE_CSE_ID` respectively.
```python ```python
from langchain.utilities import GoogleSearchAPIWrapper from langchain.utilities import GoogleSearchAPIWrapper
@ -286,6 +278,74 @@ from langchain.agents import load_tools
tools = load_tools(["google-search"]) tools = load_tools(["google-search"])
``` ```
### Google Finance
We need to install a python package.
```bash
pip install google-search-results
```
See a [usage example and authorization instructions](/docs/integrations/tools/google_finance).
```python
from langchain.tools.google_finance import GoogleFinanceQueryRun
from langchain.utilities.google_finance import GoogleFinanceAPIWrapper
```
### Google Jobs
We need to install a python package.
```bash
pip install google-search-results
```
See a [usage example and authorization instructions](/docs/integrations/tools/google_jobs).
```python
from langchain.tools.google_jobs import GoogleJobsQueryRun
from langchain.utilities.google_finance import GoogleFinanceAPIWrapper
```
### Google Lens
See a [usage example and authorization instructions](/docs/integrations/tools/google_lens).
```python
from langchain.tools.google_lens import GoogleLensQueryRun
from langchain.utilities.google_lens import GoogleLensAPIWrapper
```
### Google Scholar
We need to install a python package.
```bash
pip install google-search-results
```
See a [usage example and authorization instructions](/docs/integrations/tools/google_scholar).
```python
from langchain.tools.google_scholar import GoogleScholarQueryRun
from langchain.utilities.google_scholar import GoogleScholarAPIWrapper
```
### Google Trends
We need to install a python package.
```bash
pip install google-search-results
```
See a [usage example and authorization instructions](/docs/integrations/tools/google_trends).
```python
from langchain.tools.google_trends import GoogleTrendsQueryRun
from langchain.utilities.google_trends import GoogleTrendsAPIWrapper
```
## Document Transformers ## Document Transformers
@ -413,6 +473,14 @@ See a [usage example and authorization instructions](/docs/integrations/tools/se
from langchain.utilities import SerpAPIWrapper from langchain.utilities import SerpAPIWrapper
``` ```
### Serper.dev
See a [usage example and authorization instructions](/docs/integrations/tools/google_serper).
```python
from langchain.utilities import GoogleSerperAPIWrapper
```
### YouTube ### YouTube
>[YouTube Search](https://github.com/joetats/youtube_search) package searches `YouTube` videos avoiding using their heavily rate-limited API. >[YouTube Search](https://github.com/joetats/youtube_search) package searches `YouTube` videos avoiding using their heavily rate-limited API.