gpt3

7 posts tagged “gpt3”.

  1. 2025
  2. Reformatting text with Copilot

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

    1 min read
  3. Using GPT-3 to figure out jq recipes

    I like jq, but I always have to think pretty hard about how to construct the right syntax for it. I wanted to sum up the total number of comments in JSON that looks like this (truncated example): The…

    1 min read
  4. 2024
  5. Using OpenAI functions and their Python library for data extraction

    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.

    2 min read
  6. Using ChatGPT to write AppleScript

    I found a killer application for ChatGPT today: writing AppleScript! I've been stubbornly refusing to learn AppleScript for nearly twenty years at this point.

    1 min read
  7. Using the ChatGPT streaming API from Python

    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.

    1 min read
  8. 2023
  9. Using ChatGPT Browse to name a Python package

    I needed a name for my new Python CLI tool. It was originally called because I checked and https://pypi.org/project/py-grep/ was available - but when I tried to push the package to PyPI I got an error…

    4 min read
  10. Writing tests with Copilot

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

    1 min read