mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
d39b4b61b6
Ran the following bash script for all templates ```bash #!/bin/bash set -e current_dir="$(pwd)" for directory in */; do if [ -d "$directory" ]; then (cd "$directory" && poetry lock --no-update) fi done cd "$current_dir" ``` Co-authored-by: Bagatur <baskaryan@gmail.com> |
||
---|---|---|
.. | ||
tests | ||
xml_agent | ||
LICENSE | ||
main.py | ||
poetry.lock | ||
pyproject.toml | ||
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.