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
Erick Friis 4b16601d33
Format Templates (#12396)
8 months ago
..
tests Templates (#12294) 8 months ago
xml_agent Format Templates (#12396) 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 Templates (#12294) 8 months ago
pyproject.toml Templates (#12294) 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.