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
Bagatur 2424fff3f1
notebook fmt (#12498)
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 notebook fmt (#12498) 8 months ago
poetry.lock various templates improvements (#12500) 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.