Skip to main content

Command-line interface for OpenAI ChatGPT

Project description

CliAI

CliAI is a Python package that allows you to easily chat with OpenAI's ChatGPT using a command-line interface. With CliAI, you can quickly test and prototype new ideas, chatbots, and language models without writing a single line of code.

Installation

You can install CliAI via pip:

pip install cliai

This program requires Python 3.8. If for some reasons you do not want to mess up the old version system python, I recommend you to use tools like pyenv (e.g. pyenv global 3.8.11) to switch between versions.

Usage

To start a conversation, simply run:

cliai chat

or alternatively cliai converse.

The CLI will guide you to create a configuration. Alternatively, you can specify an API using export OPENAI_API_KEY="your-key" or using the --api flag.

License

CliAI is distributed under the MIT license. See LICENSE for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cliai-0.2.3.tar.gz (18.1 kB view hashes)

Uploaded Source

Built Distribution

cliai-0.2.3-py3-none-any.whl (20.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page