3min chapter

The Gradient: Perspectives on AI cover image

Riley Goodside: The Art and Craft of Prompt Engineering

The Gradient: Perspectives on AI

CHAPTER

How to Make a Regular Expression More Reliable

You can design a chain of thought prompts around the limitations of the model. You could design it to be to let it to like lay out calculations in a form that that it can get it more reliably. So you could have you could prepare things in a lot of ways that that work even for reasons that the model couldn't possibly appreciate right? And so I would often come up with these kind of like can't formula of like multi stage prompts that work in this way, or just turning them into single stage prompts through some things like the format track.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode