mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-11 22:04:37 +00:00
templates: gemini-functions-agent readme update (#17288)
This commit is contained in:
parent
1c2facf88d
commit
d9e7675f7e
@ -5,17 +5,15 @@ This template creates an agent that uses Google Gemini function calling to commu
|
||||
|
||||
This example creates an agent that can optionally look up information on the internet using Tavily's search engine.
|
||||
|
||||
[See an example LangSmith trace here](https://smith.langchain.com/public/0ebf1bd6-b048-4019-b4de-25efe8d3d18c/r)
|
||||
|
||||
## Environment Setup
|
||||
|
||||
The following environment variables need to be set:
|
||||
|
||||
Set the `TAVILY_API_KEY` environment variable to access Tavily.
|
||||
Set the `TAVILY_API_KEY` environment variable to access Tavily
|
||||
|
||||
You will also need to authenticate with Google:
|
||||
|
||||
```shell
|
||||
gcloud auth application-default login
|
||||
```
|
||||
Set the `GOOGLE_API_KEY` environment variable to access the Google Gemini APIs.
|
||||
|
||||
## Usage
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user