Skip to content

druvdub/llm_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLM CLI

A command line interface to interact with multiple LLM instances.

Currently, the CLI supports the following LLMs:

Installation

To install the CLI, you do need to have Python >=3.9 installed on your machine.

pip install llm-cli

Usage

To get started, you can run the following command:

llm-cli --help

Output:

Usage: llm-cli [OPTIONS] COMMAND [ARGS]...

  A CLI tool for interacting with the Gemini API. can be invoked with 'lcli'
  or 'llm-cli'.

  Examples: $ lcli --version

Options:
  -v, --version  Get the version of the llm-cli package.
  --help         Show this message and exit.

Commands:
  configure  Configure the API key for the Gemini API.
  prompt     Generate content from a prompt and/or other files.
  verify     Check if the API key is set.

Development

For developing the application in a virtual environment, you can install the necessary dependencies by installing them using the requirements file.

git clone https://github.com/druvdub/llm_cli

cd llm_cli

pip install -r requirements.txt

and installing the package in editable mode.

pip install -e .

License

Apache 2.0 License - see the LICENSE file for details.

About

A cli wrapper for LLMs built using Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages