Get the latest tech news

Extracting financial disclosure and police reports with OpenAI Structured Output


A basic test of OpenAI's Structured Output feature against financial disclosure reports and a newspaper's police blotter. Code examples use the Python SDK and pydantic for the schema defini...

Instantly share code, notes, and snippets.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of police reports

police reports

Photo of financial disclosure

financial disclosure

Related news:

News photo

Chatbots offer cops the “ultimate out” to spin police reports, expert says | Experts warn chatbots writing police reports can make serious errors

News photo

Taser Company Axon Is Selling AI That Turns Body Cam Audio Into Police Reports