Skip to content

Commit d9bfdc9

Browse files
leo-ganefriis
andauthored
docs[patch]: google platform page update (#14475)
Added missed tools --------- Co-authored-by: Erick Friis <erickfriis@gmail.com>
1 parent 2fa8173 commit d9bfdc9

1 file changed

Lines changed: 78 additions & 10 deletions

File tree

docs/docs/integrations/platforms/google.mdx

Lines changed: 78 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ See a [usage example](/docs/integrations/chat/google_vertex_ai_palm).
5454
from langchain.chat_models import ChatVertexAI
5555
```
5656

57-
5857
## Document Loaders
5958
### Google BigQuery
6059

@@ -132,8 +131,6 @@ See a [usage example and authorization instructions](/docs/integrations/document
132131
from langchain.document_loaders import GoogleSpeechToTextLoader
133132
```
134133

135-
136-
137134
## Vector Stores
138135

139136
### Google Vertex AI Vector Search
@@ -264,14 +261,9 @@ from langchain.tools import GooglePlacesTool
264261

265262
### Google Search
266263

267-
We need to install a python package.
268-
269-
```bash
270-
pip install google-api-python-client
271-
```
272-
273264
- Set up a Custom Search Engine, following [these instructions](https://stackoverflow.com/questions/37083058/programmatically-searching-google-in-python-using-custom-search)
274-
- 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
265+
- Get an API Key and Custom Search Engine ID from the previous step, and set them as environment variables
266+
`GOOGLE_API_KEY` and `GOOGLE_CSE_ID` respectively.
275267

276268
```python
277269
from langchain.utilities import GoogleSearchAPIWrapper
@@ -286,6 +278,74 @@ from langchain.agents import load_tools
286278
tools = load_tools(["google-search"])
287279
```
288280

281+
### Google Finance
282+
283+
We need to install a python package.
284+
285+
```bash
286+
pip install google-search-results
287+
```
288+
289+
See a [usage example and authorization instructions](/docs/integrations/tools/google_finance).
290+
291+
```python
292+
from langchain.tools.google_finance import GoogleFinanceQueryRun
293+
from langchain.utilities.google_finance import GoogleFinanceAPIWrapper
294+
```
295+
296+
### Google Jobs
297+
298+
We need to install a python package.
299+
300+
```bash
301+
pip install google-search-results
302+
```
303+
304+
See a [usage example and authorization instructions](/docs/integrations/tools/google_jobs).
305+
306+
```python
307+
from langchain.tools.google_jobs import GoogleJobsQueryRun
308+
from langchain.utilities.google_finance import GoogleFinanceAPIWrapper
309+
```
310+
311+
### Google Lens
312+
313+
See a [usage example and authorization instructions](/docs/integrations/tools/google_lens).
314+
315+
```python
316+
from langchain.tools.google_lens import GoogleLensQueryRun
317+
from langchain.utilities.google_lens import GoogleLensAPIWrapper
318+
```
319+
320+
### Google Scholar
321+
322+
We need to install a python package.
323+
324+
```bash
325+
pip install google-search-results
326+
```
327+
328+
See a [usage example and authorization instructions](/docs/integrations/tools/google_scholar).
329+
330+
```python
331+
from langchain.tools.google_scholar import GoogleScholarQueryRun
332+
from langchain.utilities.google_scholar import GoogleScholarAPIWrapper
333+
```
334+
335+
### Google Trends
336+
337+
We need to install a python package.
338+
339+
```bash
340+
pip install google-search-results
341+
```
342+
343+
See a [usage example and authorization instructions](/docs/integrations/tools/google_trends).
344+
345+
```python
346+
from langchain.tools.google_trends import GoogleTrendsQueryRun
347+
from langchain.utilities.google_trends import GoogleTrendsAPIWrapper
348+
```
289349

290350
## Document Transformers
291351

@@ -413,6 +473,14 @@ See a [usage example and authorization instructions](/docs/integrations/tools/se
413473
from langchain.utilities import SerpAPIWrapper
414474
```
415475

476+
### Serper.dev
477+
478+
See a [usage example and authorization instructions](/docs/integrations/tools/google_serper).
479+
480+
```python
481+
from langchain.utilities import GoogleSerperAPIWrapper
482+
```
483+
416484
### YouTube
417485

418486
>[YouTube Search](https://github.com/joetats/youtube_search) package searches `YouTube` videos avoiding using their heavily rate-limited API.

0 commit comments

Comments
 (0)