langchain/templates/xml-agent
Harrison Chase f35a65124a
improve agent templates (#12528)
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2023-10-30 18:15:13 -07:00
..
tests Templates (#12294) 2023-10-25 18:47:42 -07:00
xml_agent improve agent templates (#12528) 2023-10-30 18:15:13 -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 Batch apply poetry lock --no-update for all templates (#12531) 2023-10-30 15:18:53 -07:00
pyproject.toml Replace You with DDG in xml agent (#12504) 2023-10-30 12:51:00 -07:00
README.md Templates (#12294) 2023-10-25 18:47:42 -07:00

XML Agent

This template creates an agent that uses XML syntax to communicate its decisions of what actions to take. For this example, we use Anthropic since Anthropic's Claude models are particularly good at writing XML syntax. This example creates an agent that can optionally look up things on the internet using You.com's retriever.

LLM

This template will use Anthropic by default.

Be sure that ANTHROPIC_API_KEY is set in your environment.

Tools

This template will use You.com by default.

Be sure that YDC_API_KEY is set in your environment.