/codelab-ai-genkit-rag

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Build gen AI features powered by your data with Firebase Genkit

This is the code for Build gen AI features powered by your data with Firebase Genkit codelab.

Getting Started

First, replace src/lib/firebase.config.js with your own Firebase web app configuration.

Then install the dependencies:

npm install

Then (in terminal 1), run Genkit UI:

npx genkit start

(In terminal 2), run the Next.js development server:

npm run dev

Open http://localhost:4000 with your browser to lauch Genkit UI.

Open http://localhost:3000 with your browser to see the Next.js app.

You can start editing the app by modifying genkit-functions/src/lib/itineraryFlow.ts, src/app/gemini/page.tsx. The page auto-updates as you edit the file.