Extracting and Structuring Recipes Using GPT3

The code for this post is here. The second experiment I’ve tried is GPT3 to extract and structure data and have been pretty impressed. The below example took me about an hour to setup, most of it just being iterating on the prompts I’m using as directions to the model. An additional bonus I wasn’t expecting - this also turned out to be a decent recipe generator. If I input in just a recipe name like Pumpkin Pie it’ll generate/hallucinate structured ingredients and instructions....

December 19, 2022 · Binal Patel

Giving GPT3 Long Term Memory via Summarization

The code for this post is here. I’ve been playing around with GPT3 (and ChatGPT) a lot and have been wanting to start posting again, so I decided to start posting little experiments I do. These won’t be polished but hopefully interesting at least. Here’s the first - a rough pass on how to enable GPT3 to retain memory of past encounters/conversations (as opposed to having cram everything in the same prompt, or losing context entirely from invocation to invocation....

December 11, 2022 · Binal Patel