mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-29 09:58:44 +00:00
docs[patch]: google
platform page update (#14475)
Added missed tools --------- Co-authored-by: Erick Friis <erickfriis@gmail.com>
This commit is contained in:
parent
2fa81739b6
commit
d9bfdc95ea
@ -54,7 +54,6 @@ See a [usage example](/docs/integrations/chat/google_vertex_ai_palm).
|
||||
from langchain.chat_models import ChatVertexAI
|
||||
```
|
||||
|
||||
|
||||
## Document Loaders
|
||||
### Google BigQuery
|
||||
|
||||
@ -132,8 +131,6 @@ See a [usage example and authorization instructions](/docs/integrations/document
|
||||
from langchain.document_loaders import GoogleSpeechToTextLoader
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Vector Stores
|
||||
|
||||
### Google Vertex AI Vector Search
|
||||
@ -264,14 +261,9 @@ from langchain.tools import GooglePlacesTool
|
||||
|
||||
### 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)
|
||||
- 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
|
||||
from langchain.utilities import GoogleSearchAPIWrapper
|
||||
@ -286,6 +278,74 @@ from langchain.agents import load_tools
|
||||
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
|
||||
|
||||
@ -413,6 +473,14 @@ See a [usage example and authorization instructions](/docs/integrations/tools/se
|
||||
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 Search](https://github.com/joetats/youtube_search) package searches `YouTube` videos avoiding using their heavily rate-limited API.
|
||||
|
Loading…
Reference in New Issue
Block a user