Skip to content

Manipulating Structured Data (from PDFs) with the Model behind ChatGPT, LangChain, and Python for Powerful AI-driven Applications.

Notifications You must be signed in to change notification settings

horosin/langchain-json-output-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extracting and Generating JSON Data with OpenAI GPT, LangChain, and Python

Repository for the article: Extracting and Generating JSON Data with OpenAI GPT, LangChain, and Python

Manipulating Structured Data (from PDFs) with the Model behind ChatGPT, LangChain, and Python for Powerful AI-driven Applications.

In this blog post, I'm sharing how to use LangChain, a flexible framework for building AI-driven applications, to extract and generate structured JSON data with GPT and Langchain.

Click here if you're looking for a Node.js version of this article.

Setup

export OPENAI_API_KEY=XXX
pip install langchain openai pypdf

And run the files

About

Manipulating Structured Data (from PDFs) with the Model behind ChatGPT, LangChain, and Python for Powerful AI-driven Applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages