langchain/templates/openai-functions-agent/README.md

17 lines
486 B
Markdown
Raw Normal View History

# OpenAI Functions Agent
This template creates an agent that uses OpenAI function calling to communicate its decisions of what actions to take.
This example creates an agent that can optionally look up things on the internet using Tavily's search engine.
## LLM
This template will use `OpenAI` by default.
Be sure that `OPENAI_API_KEY` is set in your environment.
## Tools
This template will use `Tavily` by default.
Be sure that `TAVILY_API_KEY` is set in your environment.