Simon Willison: TILs on gpt3

Atom feed for gpt3

gpt3 Using OpenAI functions and their Python library for data extraction - 2023-07-09

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. …

gpt3 Using ChatGPT Browse to name a Python package - 2023-06-18

I needed a name for my new Python CLI tool. …

gpt3 GPT-4 for API design research - 2023-04-06

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. …

gpt3 Using the ChatGPT streaming API from Python - 2023-04-01

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. …

gpt3 Using ChatGPT to write AppleScript - 2023-03-08

I found a killer application for ChatGPT today: writing AppleScript! …

gpt3 A simple Python wrapper for the ChatGPT API - 2023-03-02

OpenAI released an API for ChatGPT yesterday. It's 1/10th of the price of the text-davinci-003 model! …

gpt3 Reformatting text with Copilot - 2022-12-09

I wanted to write alt text for the following screenshot (of this page), so I could include it in this post on Mastodon. …

gpt3 Writing tests with Copilot - 2022-11-14

I needed to write a relatively repetitive collection of tests, for a number of different possible error states. …

gpt3 Generating OpenAPI specifications using GPT-3 - 2022-11-13

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. …

gpt3 Guessing Amazon image URLs using GitHub Copilot - 2022-10-15

I was experimenting with the new Readwise export API and it gave me back the following JSON: …

gpt3 Using GPT-3 to figure out jq recipes - 2022-08-10

I like jq, but I always have to think pretty hard about how to construct the right syntax for it. …