Genkit is a framework for building AI-powered applications. It provides open source libraries for Node.js and Go, along with tools to help you debug and iterate quickly.
The Genkit CLI includes commands for running and evaluating your Genkit functions (flows).
- Install:
npm install -g genkit-cli
- Clone repository:
git clone https://github.com/lperezp/genkit-template.git
- Run a command:
npm run genkit:dev
This last command brings up the Genkit UI, as well as compiling index.ts
- It has the
dotenv
dependency to be able to handle environment variables. - In the
.env
file you can configure the Google GeminiAPI KEY
.
Love genkit-template? Give our repo a star ⭐ ⬆️.