Here's the pattern I figured out for using the openai Python library to extract structured data from text using a single call to the model. …
I needed a name for my new Python CLI tool. …
I came up with a really useful prompt for GPT-4 today. I was considering options for refactoring how Datasette's core view functions work, and was contemplating alternative ways to dispatch to different functions based on a combination of the URL path and the HTTP verb. …
I wanted to stream the results from the ChatGPT API as they were generated, rather than waiting for the entire thing to complete before displaying anything. …
I found a killer application for ChatGPT today: writing AppleScript! …
OpenAI released an API for ChatGPT yesterday. It's 1/10th of the price of the text-davinci-003
model! …
I wanted to write alt text for the following screenshot (of this page), so I could include it in this post on Mastodon. …
I needed to write a relatively repetitive collection of tests, for a number of different possible error states. …
I wanted to start playing around with OpenAPI. I decided to see if I could get GPT-3 to generate the first version of a specification for me. …
I was experimenting with the new Readwise export API and it gave me back the following JSON: …
I like jq, but I always have to think pretty hard about how to construct the right syntax for it. …