templates: gemini-functions-agent readme update (#17288)

This commit is contained in:
Erick Friis 2024-02-09 14:10:23 -08:00 committed by GitHub
parent 1c2facf88d
commit d9e7675f7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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