Back to blog

Thoughts on Building with Generative AI

May 10, 2024

The rise of generative AI has opened up a new frontier for developers. It's no longer just about writing logic; it's about orchestrating intelligent systems. Integrating AI into my own portfolio site, like the cover letter generator you can find here, was a fascinating and rewarding experience.

Using frameworks like Genkit abstracts away much of the complexity, allowing you to focus on the prompt engineering and application logic. The ability to define structured inputs and outputs with Zod ensures that the data flowing to and from the AI model is predictable and safe.

Challenges and Opportunities:

  • Prompt Crafting: Getting the AI to produce the desired output consistently requires careful prompt design and iteration.
  • Managing State: Handling loading, streaming responses, and errors on the client-side is crucial for a good user experience.
  • The Possibilities: From personalized content to complex problem-solving, the potential applications are virtually limitless.

We are just scratching the surface of what's possible with generative AI. As developers, we have a unique opportunity to build the next generation of intelligent, helpful, and creative applications.