Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

templates: gemini-functions-agent readme update #17288

Merged
merged 2 commits into from
Feb 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions templates/gemini-functions-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

You will also need to authenticate with Google:
Set the `TAVILY_API_KEY` environment variable to access Tavily

```shell
gcloud auth application-default login
```
Set the `GOOGLE_API_KEY` environment variable to access the Google Gemini APIs.

## Usage

Expand Down