Categorygithub.com/Vishwanathan27/gemini-project
repositorypackage
0.0.0-20240612102548-1a46c0a74422
Repository: https://github.com/vishwanathan27/gemini-project.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

Gemini Project

This project is an implementation of a server in Go that interacts with the Gemini API to process and respond to prompts using a generative AI model.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them:

Installing

A step-by-step series of examples that tell you how to get a development environment running:

Clone the repository to your local machine:

git clone https://github.com/Vishwanathan27/gemini-project.git
cd gemini-project
go mod tidy
go run main.go

Usage

curl -X POST -H "Content-Type: application/json" -d '{"prompt":"Write a story about a magic backpack."}' http://localhost:8080/sendprompt