Generative AI Cooking

Dr. Zunaid Kazi
2 min readMay 14, 2023
A chef is working in a kitchen. Instead of a chef it is a software engineer.

Using generative AI, specifically Large Language Models (LLMs), is similar to cooking. You don't just throw a random assortment of spices into a pot and expect a delectable dining experience. Priming the generative AI engine requires a touch of finesse, much like a skilled chef who knows exactly how much of each ingredient to use. Consider prompting to be that special blend of spices that brings everything together, allowing us to steer and shape the creative process personally and meaningfully.

But there's more hidden beneath the lid! Just as a chef understands the ingredients they are working with and adjusts their spices and herbs, you must understand how these AI models work. A real chef needs to know the provenance of their food. Where was it grown? How fresh is it? Has it ever been frozen? And you, too, should familiarize yourself with how these AI models were trained, their architecture, and their inner mechanics. Only then will you be able to realize their potential fully.

All the while, keep in mind that these AI models are not sentient. Not yet, at least. They are, at their core, statistical models that generate text sequences in response to input text sequences. They have no fundamental understanding or consciousness, relying solely on the patterns and probabilities extracted from their training data.

So, just as chefs use their culinary knowledge to create delectable dishes, we shape the generated content using our understanding of the AI model's mechanics. With prompts, we direct the model, steering the output with our input and intent.

We can steer these models' capabilities and limitations by acknowledging their nature as statistical tools, ensuring that our interactions with them are grounded in realism and handled responsibly.

Ultimately, using generative AI can result in a delightful blend of creativity and technical competence. We infuse our expertise into the AI's capabilities, much like a chef's artistry transforms basic ingredients into a gourmet's delight.

--

--

Dr. Zunaid Kazi

Technologist/Entrepreneur — Natural Language Processing, ML, and AI. Proud husband and father. Unapologetically arrogant and liberal. CTO at Infolytx.