https://github.com/yukinagae/genkit-golang-sample
sample LLM application with Firebase Genkit using Golang
https://github.com/yukinagae/genkit-golang-sample
gemini genkit golang
Last synced: 6 months ago
JSON representation
sample LLM application with Firebase Genkit using Golang
- Host: GitHub
- URL: https://github.com/yukinagae/genkit-golang-sample
- Owner: yukinagae
- Created: 2024-08-21T14:54:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-21T12:12:30.000Z (11 months ago)
- Last Synced: 2025-02-15T04:42:50.996Z (8 months ago)
- Topics: gemini, genkit, golang
- Language: Go
- Homepage: https://medium.com/@yukinagae/firebase-genkit-for-go-developers-a-guide-to-building-llm-applications-f96c51c34b10
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# genkit-golang-sample
`genkit-golang-sample` is a sample repository to help you learn how to build LLM applications with Firebase Genkit using Golang.
- [Requirements](#requirements)
- [Usage](#usage)
- [License](#license)## Requirements
- **Go**: Follow the [Go - Download and install](https://go.dev/doc/install) to install Go.
- **Genkit**: Follow the [Firebase Genkit - Get started](https://firebase.google.com/docs/genkit/get-started) to install Genkit.Verify your installations:
```bash
$ go version
go version go1.23.2 darwin/arm64
$ genkit --version
0.9.1
```## Usage
Set your API key and start Genkit:
```bash
$ export GOOGLE_GENAI_API_KEY=your_api_key
$ genkit start -o -- go run main.go # Starts Genkit
```Open your browser and navigate to [http://localhost:4001](http://localhost:4001) to access the Genkit UI.
## License
MIT