How it's Made - Exploring AI x Learning through ShiffBot, an AI experiment powered by the Gemini API- Google Developers Blog
Jan 24, 2024Jasmin Rubinovitz

Summary
This post details the technical implementation of ShiffBot, an experimental AI tool for creative coding education powered by the Gemini API. It describes the use of prompt engineering, including static persona definitions and few-shot learning examples, to imbue the AI with Daniel Shiffman's teaching style. It also explains the application of semantic retrieval using text embeddings to ground the AI's responses in a corpus of educational videos and content, enabling it to surface relevant resources and provide context-aware assistance. The integration with the p5.js editor allows ShiffBot to access conversation and code context for personalized responses.
More from the Predictive APIs and Machine Learning Integration trail
- Expanding Choice in Gemini Enterprise Agent Platform: Introducing Grounding with Parallel Web Search- Google Developers Blog
- Evolving Spec-Driven Development: Conductor Now Supports Antigravity- Google Developers Blog
- Building scalable AI agents with modular prompt transpilation- Google Developers Blog
- LiteRT.js, Google's high performance Web AI Inference- Google Developers Blog
- Gemma 4 12B: The Developer Guide- Google Developers Blog