Skip to content
Home » 2023.03.27 – Stream Notes

2023.03.27 – Stream Notes

  • by
  • Intro
    • How was your weekend?
    • Late today due to looking at finance stuff
  • Music
    • Pretzel Chill
  • Coding
    • Let’s make some OpenAI prompts
      • Found this repo that collects ChatGPT and Bing AI prompts
    • First model
      • Let’s try a prompt that states the dish’s name, dish type (eg dessert), the cuisine it’s from, and 5 important ingredients. It follows up with 5 recipes with the same dish type, different cuisines, and some ingredient overlap
        • Is affogato a dessert or a drink?
        • Is German eisekaffe a dessert or drink?
        • What about Vietnamese coffee?
      • First prompt was:
        • "What can I make with the ingredients from tiramisu that isn’t Italian food? And can you give me recipes, sources, and what cuisines the recipes are from?

        • We manually wanted to return: "Tiramisu is an Italian dessert made of ladyfingers, coffee, sugar, whipped cream and mascarpone. You might want to make

          1. Dark Chocolate-Caramel Macchiato Pie, which is American and can be found here: https://www.tasteofhome.com/recipes/dark-chocolate-caramel-macchiato-pie/
          2. Brownie Mocha Trifle, which is British and can be found here: https://www.tasteofhome.com/recipes/brownie-mocha-trifle/
          3. Coffee Flan, which is Filipino and can be found here: https://www.kawalingpinoy.com/coffee-flan/
          4. Cardamom-Vanilla Coffee Crème Brûlée, which is French and can be found here: https://saltandwind.com/cardamom-vanilla-coffee-creme-brulee-recipe/
          5. Opera Cake, which is French and can be found here: https://izzycooking.com/opera-cake/"
        • This prompt and response was highly manual (and maybe needs a lot of tuning) but was probably the most interesting

      • The programmed prompt could require dish name and a cuisine, and for output exclude the cuisine and the name of the dish….would TF-IDF or some other word extraction capture the uniqueness/importance of certain ingredients
      • Based on this, tried following up with
        • "I want to take ingredients from tiramisu to make desserts that are not Italian. What do you recommend? And can you give me recipe links?"
        • "Sure, here are some dessert ideas that use ingredients from tiramisu but aren’t Italian:
            1. Coffee and Mascarpone Cupcakes: Use the same ingredients as in tiramisu, but turn them into cupcakes. Start with a coffee-flavored cupcake base and top it with a dollop of mascarpone frosting. https://www.delish.com/cooking/recipe-ideas/a19888322/coffee-mascarpone-cupcakes-recipe/
            1. Tiramisu Cheesecake Bars: Combine the flavors of tiramisu and cheesecake by making a graham cracker crust and topping it with a layer of coffee-flavored cheesecake. Top with a dollop of mascarpone whipped cream and a dusting of cocoa powder. https://www.browneyedbaker.com/tiramisu-cheesecake/
            1. Espresso Chocolate Mousse: Take the creamy element from tiramisu and turn it into a rich and decadent chocolate mousse. Use mascarpone cheese, whipped cream, and espresso to create a light and fluffy dessert. https://www.foodnetwork.com/recipes/giada-de-laurentiis/espresso-chocolate-mousse-recipe-1972774
            1. Caramel Macchiato Pudding Cups: Layer vanilla pudding with coffee-flavored whipped cream and drizzle with caramel sauce for a sweet and indulgent treat. https://www.bettycrocker.com/recipes/caramel-macchiato-pudding-cups/aae6d8c6-50ca-4175-a0f5-6d8ecf3ade9b
            1. Toffee Coffee Brownies: Add espresso powder to your favorite brownie recipe, then top with whipped mascarpone cream and crunchy toffee bits. https://www.tasteofhome.com/recipes/toffee-coffee-brownies/
          • This prompt and response is simpler, more conversational, but the results feel like a webscrape that doesn’t consider recipe title reuse/repeating, or excluding the original cuisine
        • I hope these ideas inspire you to get creative in the kitchen!
      • 3rd prompt was "I’m looking for alternate recipes with links for tiramisu that use most of the same ingredients, but are not also called tiramisu and are not Italian." and it returned
        • Sure, here are some recipe ideas that use similar ingredients to tiramisu but are not Italian:
          1. Coffee Cake with Mascarpone Frosting: Use the same coffee-flavored cake base and mascarpone cheese frosting as in tiramisu, but skip the ladyfingers and cocoa powder.
          1. Chocolate-Espresso Cream Pie: Make a pie crust from crushed cookies or graham crackers, then fill it with a mixture of mascarpone cheese, chocolate pudding, and espresso powder.
          1. Espresso Tres Leches Cake: Use light sponge cake instead of ladyfingers, then soak it in a mixture of sweetened condensed milk, evaporated milk, and espresso. Top with whipped cream and grated chocolate.
          1. Coffee Caramel Ice Cream: Make a rich custard base with heavy cream, mascarpone cheese, and coffee extract or strong brewed coffee. Swirl in caramel sauce for a decadent treat.
          1. Mocha Truffles: Combine mascarpone cheese with melted chocolate and espresso powder to make rich truffles rolled in cocoa powder or chopped nuts.
        • I hope these ideas inspire you to try something new with your tiramisu ingredients!
        • Here are some recipe links for these desserts:
          1. Coffee Cake with Mascarpone Frosting: https://www.myrecipes.com/recipe/coffee-cake-with-mascarpone-frosting
          1. Chocolate-Espresso Cream Pie: https://www.tasteofhome.com/recipes/chocolate-espresso-cream-pie/
          1. Espresso Tres Leches Cake: https://www.foodandwine.com/recipes/espresso-tres-leches-cake
          1. Coffee Caramel Ice Cream: https://www.epicurious.com/recipes/food/views/coffee-caramel-ice-cream-51248810
          1. Mocha Truffles: https://www.delish.com/uk/cooking/recipes/a30398525/mocha-truffles-recipe/
        • Would prefer the links for the recipes just get attached to the recipes themselves. Requires more work for user, also the summaries provided by the response may or may not actually be part of the recipe linked. For this example, NONE of these URLs worked!
          • How did these URLs get generated and also not tested? So curious
          • Major con is if the URLs don’t work, there’s not enough information to actually make the dishes, nor is there enough information to see if the suggestions actually do have similar ingredients
      • Tried a few times to ask for correct URLs in follow up, but it just returned the same links over and over again
    • Seems like we cannot ask for recipe links because they may not work reliably, can we just ask it to make the recipe for us?
    • Fourth prompt was: "I’m looking for alternate recipes for tiramisu that use most of the same ingredients, but are not also called tiramisu and are not Italian. Can you give me lists of ingredients and step by step directions on how to make your suggestions?"
      • It returned 1 full recipe with ingredients and directions, but we hit the token limit before the 2nd could be completed
      • eg:
        • Certainly, here are some recipe ideas for desserts that use most of the same ingredients as tiramisu but are not called tiramisu and are not Italian:

          1. Coffee Cupcakes with Whipped Cream Cheese Frosting

Ingredients:

		- 1 1/2 cups all-purpose flour
		- 3 tbsp instant espresso
		- 1 tsp baking powder
		- 1/2 tsp baking soda
		- 1/4 tsp salt
		- 1/2 cup unsalted butter, softened
		- 3/4 cup granulated sugar
		- 2 large eggs
		- 1/2 cup sour cream
		- 1/4 cup milk
		- 8 oz cream cheese, softened
		- 1 cup heavy whipping cream
		- 1 tsp vanilla extract
		- Cocoa powder for dusting
		    
		  Directions:  
			1. Preheat the oven to 350°F. Line a muffin tin with paper liners.
			2. In a medium bowl, whisk together the flour, espresso, baking powder, baking soda, and salt.
			3. In a separate large bowl, beat the butter and sugar until light and fluffy.
			4. Add the eggs one at a time, mixing well after each addition.
			5. Add the sour cream and mix until combined.
			6. Gradually add the dry ingredients to the wet ingredients, alternating with the milk.
			7. Spoon the batter into the prepared muffin tin.
			8. Bake for 18–20 minutes or until a toothpick inserted into the center comes out clean.
			9. Let cool completely before frosting.
			10. In a large mixing bowl, beat the cream cheese until smooth.
			11. Gradually add in the heavy cream and vanilla extract, beating on high speed until stiff peaks form.
			12. Pipe or spread the whipped cream cheese frosting onto each cupcake and dust with cocoa powder.  
			2. Chocolate Espresso Truffles  

Ingredients:

		- 8 oz bittersweet chocolate, chopped
		- 1/4 cup heavy
	- It's really nice to have the whole step by step thing here, however, I have no idea if this recipe will work. That's why I had wanted links to recipes before, so we could see if there was a "source of truth"
		- Not sure if the memory is being preserved from the first prompt and manual response though
- Cleared out the previous messages, and told system "You are a helpful chef" and restarted with the prompt "I'm looking for alternate recipes for tiramisu that use most of the same ingredients, but are not also called tiramisu and are not Italian. Can you give me lists of ingredients and step by step directions on how to make your suggestions?" It returned
	- Sure! Here are a few ideas for tiramisu-inspired desserts that use similar ingredients:
	    
		1. Irish Cream Trifle:  

Ingredients:

	- 1 package of ladyfingers
	- 1 cup of strong coffee
	- 1/2 cup of Irish cream liqueur
	- 1 cup of heavy cream
	- 8 oz of cream cheese, softened
	- 1/2 cup of powdered sugar
	- Chocolate shavings, for garnish
	    
	  Directions:  
		1. In a small bowl, mix together the coffee and Irish cream liqueur.
		2. Dip the ladyfingers into the coffee mixture and layer them in the bottom of a trifle dish.
		3. In a separate bowl, beat the heavy cream until stiff peaks form.
		4. In another bowl, beat the cream cheese and powdered sugar until smooth.
		5. Fold the whipped cream into the cream cheese mixture.
		6. Spoon half of the mixture on top of the ladyfingers.
		7. Repeat with another layer of ladyfingers and cream cheese mixture.
		8. Garnish with chocolate shavings.  
		2. Chai Spice Mascarpone Mousse:  

Ingredients:

	- 8 oz mascarpone cheese
	- 1/2 cup heavy cream
	- 1/4 cup granulated sugar
	- 1 tsp vanilla extract
	- 1 tbsp chai spice blend (cinnamon, ginger, cardamom, cloves)
	- 1 package ladyfingers
	    
	  Directions:  
		1. In a mixing bowl, beat together the mascarpone cheese, heavy cream, sugar, vanilla extract and chai spice blend until light and fluffy.
		2. Dip the ladyfingers into hot water and arrange them in a single layer at the bottom of a serving dish.
		3. Pour half the mascarpone mixture over the ladyfingers.
		4. Repeat with another layer of ladyfingers and remaining mascarpone mixture.
		5. Chill for at least an hour before serving.  
		3. Maple Pec

	- This is good, but still hits the token limit, which is unfortunate, and is unclear how many ideas it wants to suggest
- Next prompt
	- Me: "I'm looking for alternate recipes for tiramisu that use most of the same ingredients, but are not also called tiramisu and are not Italian. Can you give me lists of ingredients and step by step directions on how to make your suggestions? Also can you give me the suggestions one by one until I ask for another one?"
	- Returned:
	- Sure! Here's a recipe for a dessert that is similar to tiramisu but is not Italian:
	    
	  No-Bake Espresso Cheesecake Bars  
	    
	  Ingredients:  
	- 24 Oreo cookies (chocolate sandwich cookies)
	- 1/4 cup (1/2 stick) unsalted butter, melted
	- 1 tablespoon instant espresso powder or instant coffee granules
	- 1 tablespoon boiling water
	- 16 ounces cream cheese, softened
	- 1/2 cup granulated sugar
	- 2 teaspoons vanilla extract
	- 1 tablespoon all-purpose flour
	- 2 large eggs
	- Whipped cream and chocolate shavings for serving
	    
	  Instructions:  
	    
		1. Line an 8-inch square baking pan with parchment paper, leaving an overhang on two sides.
		2. Put the Oreo cookies in a food processor and pulse until finely ground.
		3. Add the melted butter and pulse until the mixture is moistened.
		4. Press the mixture into the bottom of the prepared pan and freeze while you make the filling.
		5. In a small bowl, dissolve the espresso powder in boiling water.
		6. In a large bowl, beat the cream cheese, sugar, and vanilla extract until smooth.
		7. Beat in the flour and then add the eggs one at a time, beating well after each addition.
		8. Stir in the espresso mixture until well combined.
		9. Pour the cheesecake batter over the Oreo crust and smooth out the top.
		10. Cover with plastic wrap and refrigerate for at least 4 hours, or until set.
		11. Remove from the pan, cut into bars, and top with whipped cream and chocolate shavings before serving.  

Let me know if you’d like another recipe suggestion!

	- Me: "Could you give me another recipe suggestion?"
	- Of course! How about a recipe for a dessert that uses many of the same ingredients as tiramisu but has a more American twist?
	    
	  Mocha Brownie Trifle  
	    
	  Ingredients:  
	- 1 package fudge brownie mix
	- 1/4 cup water
	- 1/2 cup vegetable oil
	- 2 large eggs
	- 1 tablespoon instant espresso powder or instant coffee granules
	- 1/4 cup boiling water
	- 1 package (8 ounces) cream cheese, softened
	- 1/2 cup granulated sugar
	- 2 cups heavy cream, divided
	- 1 teaspoon vanilla extract
	- Chocolate shavings for serving
	    
	  Instructions:  
	    
		1. Preheat the oven to the temperature specified on the brownie mix package.
		2. Grease a 9x13 inch baking pan.
		3. In a large bowl, mix together the brownie mix, water, vegetable oil, and eggs until well combined.
		4. Pour the batter into the prepared pan and bake according to the package instructions.
		5. Let the brownies cool completely in the pan.
		6. In a small bowl, dissolve the espresso powder in boiling water.
		7. In a large bowl, beat the cream cheese and sugar until smooth.
		8. Beat in the espresso mixture until well combined.
		9. In a separate bowl, beat 1 cup of heavy cream until stiff peaks form.
		10. Fold the whipped cream into the cream cheese mixture until well combined.
		11. Cut the cooled brownies into small squares.
		12. In a large trifle dish or clear glass bowl, layer the brownie squares and mocha cream mixture alternately.
		13. In another bowl, beat the remaining 1 cup of heavy cream with vanilla extract until whipped.
		14. Spread over top of trifle and sprinkle with chocolate shavings before serving.  

Let me know if you’d like another recipe suggestion!

- I would like to feed a model into Langchain, so that we can account for dietary restrictions or preferences, but currently, we can't even make or source a working recipe
- MeaLeon has [some competition!](https://github.com/topics/edamam-api?o=desc&s=updated)
- https://www.makeuseof.com/how-to-use-gpt-3-openai-playground/
  • From Chat/Derail
    • #MaxM9450: Do you think we will see retrieval augmented generative models take on GPT models for scalability or is that wishful thinking for what you’ve seen so far with the current GPT outputs & models?
    • TODO add GDCVault to educational resources
    • #stream_kyle recommends DEFCON, check out the documentary by Jason Scott
    • #maweexy recommends going to GDC
  • We raided #chrissiecodes

Socials