langchain/templates/openai-functions-agent
2023-10-26 19:44:30 -07:00
..
openai_functions_agent Format Templates (#12396) 2023-10-26 19:44:30 -07:00
tests Templates (#12294) 2023-10-25 18:47:42 -07:00
LICENSE Templates (#12294) 2023-10-25 18:47:42 -07:00
main.py Templates (#12294) 2023-10-25 18:47:42 -07:00
poetry.lock Templates (#12294) 2023-10-25 18:47:42 -07:00
pyproject.toml Templates (#12294) 2023-10-25 18:47:42 -07:00
README.md Templates (#12294) 2023-10-25 18:47:42 -07:00

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.