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
William FH 199630ff93
Replace You with DDG in xml agent (#12504)
You requires an email to get an API key which IMO is too much friction.
Duckduck go is free and easy to install.
11 months ago
..
tests Templates (#12294) 11 months ago
xml_agent Replace You with DDG in xml agent (#12504) 11 months ago
LICENSE Templates (#12294) 11 months ago
README.md Templates (#12294) 11 months ago
main.py Templates (#12294) 11 months ago
poetry.lock Replace You with DDG in xml agent (#12504) 11 months ago
pyproject.toml Replace You with DDG in xml agent (#12504) 11 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.