langchain/templates/extraction-openai-functions
2023-10-27 09:32:57 -07:00
..
extraction_openai_functions Format Templates (#12396) 2023-10-26 19:44:30 -07:00
tests Templates (#12294) 2023-10-25 18:47:42 -07:00
extraction_openai_functions.ipynb Clean-up template READMEs (#12403) 2023-10-26 22:23:03 -07:00
LICENSE Templates (#12294) 2023-10-25 18:47:42 -07:00
poetry.lock Templates (#12294) 2023-10-25 18:47:42 -07:00
pyproject.toml Fix templates typos (#12428) 2023-10-27 09:32:57 -07:00
README.md Clean-up template READMEs (#12403) 2023-10-26 22:23:03 -07:00

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.