You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/integrations/platforms/google.mdx
+78-10Lines changed: 78 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,6 @@ See a [usage example](/docs/integrations/chat/google_vertex_ai_palm).
54
54
from langchain.chat_models import ChatVertexAI
55
55
```
56
56
57
-
58
57
## Document Loaders
59
58
### Google BigQuery
60
59
@@ -132,8 +131,6 @@ See a [usage example and authorization instructions](/docs/integrations/document
132
131
from langchain.document_loaders import GoogleSpeechToTextLoader
133
132
```
134
133
135
-
136
-
137
134
## Vector Stores
138
135
139
136
### Google Vertex AI Vector Search
@@ -264,14 +261,9 @@ from langchain.tools import GooglePlacesTool
264
261
265
262
### Google Search
266
263
267
-
We need to install a python package.
268
-
269
-
```bash
270
-
pip install google-api-python-client
271
-
```
272
-
273
264
- 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.
275
267
276
268
```python
277
269
from langchain.utilities import GoogleSearchAPIWrapper
@@ -286,6 +278,74 @@ from langchain.agents import load_tools
286
278
tools = load_tools(["google-search"])
287
279
```
288
280
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
+
```
289
349
290
350
## Document Transformers
291
351
@@ -413,6 +473,14 @@ See a [usage example and authorization instructions](/docs/integrations/tools/se
413
473
from langchain.utilities import SerpAPIWrapper
414
474
```
415
475
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
+
416
484
### YouTube
417
485
418
486
>[YouTube Search](https://github.com/joetats/youtube_search) package searches `YouTube` videos avoiding using their heavily rate-limited API.
0 commit comments