Simon Willison’s Weblog

Subscribe

Wednesday, 14th June 2023

Emergency Pod: OpenAI’s new Functions API, 75% Price Drop, 4x Context Length (via) I participated in a Twitter Spaces conversation last night about the new OpenAI functions mechanism. The recording has now been turned into a Latent Space podcast, and swyx has accompanied the recording with a detailed write-up of the different topics we covered.

# 7:23 pm / llms, generative-ai, openai, ai, speaking, podcasts

Example of OpenAI function calling API to extract data from LAPD newsroom articles (via) Fascinating code example from Kyle McDonald. The OpenAI functions mechanism is intended to drive custom function calls, but I hadn’t quite appreciated how useful it can be ignoring the function calls entirely. Kyle instead uses it to define a schema for data he wants to extract from a news article, then uses the gpt-3.5-turbo-0613 to get back that exact set of extracted data as JSON.

# 8:57 pm / generative-ai, openai, ai, data-journalism, llms

2023 » June

MTWTFSS
   1234
567891011
12131415161718
19202122232425
2627282930