You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/templates/xml-agent
Harrison Chase f35a65124a
improve agent templates (#12528)
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
8 months ago
..
tests Templates (#12294) 8 months ago
xml_agent improve agent templates (#12528) 8 months ago
LICENSE Templates (#12294) 8 months ago
README.md Templates (#12294) 8 months ago
main.py Templates (#12294) 8 months ago
poetry.lock Batch apply `poetry lock --no-update` for all templates (#12531) 8 months ago
pyproject.toml Replace You with DDG in xml agent (#12504) 8 months ago

README.md

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.