https://github.com/peterfriese/codelab-ai-genkit-rag
https://github.com/peterfriese/codelab-ai-genkit-rag
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/peterfriese/codelab-ai-genkit-rag
- Owner: peterfriese
- License: apache-2.0
- Created: 2024-07-17T09:39:57.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-18T12:30:02.000Z (almost 2 years ago)
- Last Synced: 2025-02-04T15:47:47.331Z (over 1 year ago)
- Language: TypeScript
- Size: 21.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- License: LICENSE
- Code of conduct: docs/code-of-conduct.md
Awesome Lists containing this project
README
# 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](https://firebase.google.com/codelabs/ai-genkit-rag) codelab.
## Getting Started
First, replace `src/lib/firebase.config.js` with your own Firebase web app configuration.
Then install the dependencies:
```bash
npm install
```
Then (in terminal 1), run Genkit UI:
```bash
npx genkit start
```
(In terminal 2), run the Next.js development server:
```bash
npm run dev
```
Open [http://localhost:4000](http://localhost:4000) with your browser to lauch Genkit UI.
Open [http://localhost:3000](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.