Back to Blog

Build with AI Workshop

Build with AI Workshop

Hands-on practice is the best way to master new technology. In May 2024, I conducted a Build with AI Workshop focused on building real-world applications using Google’s Gemini models.

This workshop moved beyond theory. I walked participants through coding an application that interfaces directly with Gemini APIs, processes unstructured text, and extracts structured data.

Key Takeaways:

  • Structured Outputs: Using Zod and Pydantic schemas to validate Gemini model outputs.
  • Context Grounding: Supplying custom context to prompt templates for Gemini.
  • API Error Handling: Managing rate limits, token counts, and API failures when working with Gemini endpoints.
  • Application Design: Integrating Gemini API calls smoothly into standard application logic.

View the Presentation

View the workshop slides to see the code examples and exercises.