Genkit by Example is a collection of pre-built examples of using Firebase Genkit to build a variety of AI-powered features for Next.js applications.
Each example highlights a specific feature or pattern of Genkit and includes source code references and a working demo. Choose an example from the menu on the left or click a link below to get started:
A simple chatbot with streaming responses and a customizable system message.
A D&D character generator that utilizes Genkit's structured output with incremental streaming.
A chatbot with 'getWeather' and 'rollDice' tools and custom tool response rendering.
A chatbot that uses interrupts to ask the user clarifying questions.
A chatbot that uses action context to secure tool use and provide relevant context.