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-openai-functions
Bagatur 2424fff3f1
notebook fmt (#12498)
8 months ago
..
extraction_openai_functions Format Templates (#12396) 8 months ago
tests Templates (#12294) 8 months ago
LICENSE Templates (#12294) 8 months ago
README.md Clean-up template READMEs (#12403) 8 months ago
extraction_openai_functions.ipynb notebook fmt (#12498) 8 months ago
poetry.lock Templates (#12294) 8 months ago
pyproject.toml Fix templates typos (#12428) 8 months ago

README.md

Extraction with OpenAI Function Calling

This template shows how to do extraction of structured data from unstructured data, using OpenAI function calling.

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 OpenAI by default.

Be sure that OPENAI_API_KEY is set in your environment.