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/extraction-anthropic-functions
Harrison Chase 8b5e879171
add a template for the package readme (#12499)
Co-authored-by: Erick Friis <erick@langchain.dev>
8 months ago
..
extraction_anthropic_functions notebook fmt (#12498) 8 months ago
tests various templates improvements (#12500) 8 months ago
LICENSE various templates improvements (#12500) 8 months ago
README.md various templates improvements (#12500) 8 months ago
extraction_anthropic_functions.ipynb add a template for the package readme (#12499) 8 months ago
poetry.lock Batch apply `poetry lock --no-update` for all templates (#12531) 8 months ago
pyproject.toml various templates improvements (#12500) 8 months ago

README.md

Extraction with Anthropic Function Calling

This template enables Anthropic function calling. This is a wrapper around Anthropic's API that uses prompting and output parsing to replicate the OpenAI functions experience.

Specify the information you want to extract in chain.py

By default, it will extract the title and author of papers.

LLM

This template will use Claude2 by default.

Be sure that ANTHROPIC_API_KEY is set in your enviorment.