go-genai

command module
v0.0.0-...-9fa62ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 9 Imported by: 0

README

GenAI Chatbot

A simple chatbot that uses the Go SDK for Google Generative AI.

https://github.com/kavinaravind/go-genai/assets/10949859/eff0ce4e-43f7-484e-8174-65f82af59dd5

Getting Started

These instructions will get you up and running on your local machine for development purposes.

Prerequisites

  • Go (currently running: go version go1.22.4 darwin/arm64)
  • Make (currently running: GNU Make 3.81)

Building

git clone https://github.com/kavinaravind/go-genai.git
cd go-genai
make build

Google Generative AI

You can start by Getting an API Key to use the Gemini API.

Running

./chatbot --api-key <API_KEY> # after building the binary via make build

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL