gemini

command module
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Gemini is an interactive client for Google's Gemini API.

Usage:

gemini [-l] [-k keyfile] [prompt...]

Gemini concatenates its arguments, sends the result as a prompt to the Gemini Pro model, and prints the response.

With no arguments, gemini reads standard input until EOF and uses that as the prompt.

The -l flag runs gemini in an interactive line-based mode: it reads a single line of input and prints the Gemini response, and repeats. The -l flag cannot be used with arguments.

The -k flag specifies the name of a file containing the Gemini API key (default $HOME/.geminikey).

Jump to

Keyboard shortcuts

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