Skip to main content

A CLI application to interact with OpenAI's GPT models

Project description

GPT CLI

A CLI application to interact with OpenAI GPT models.

Installation

  1. Clone the repository:

    git clone https://github.com/invincibleRD/gpt_cli.git
    cd gpt_cli
    
  2. Install the package:

    pip install .
    
  3. Set the OPENAI_API_KEY environment variable:

    export OPENAI_API_KEY='your-api-key-here'
    

Usage

Ask a question to the GPT model:

gpt "What is the capital of France?"

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

gpt_4o_cli-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

gpt_4o_cli-0.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file gpt_4o_cli-0.1.1.tar.gz.

File metadata

  • Download URL: gpt_4o_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for gpt_4o_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 07f49f3266c5795676a77686d12df171448ae6d17498ba35d828cad6a063b48d
MD5 e64c6e8eeee6d79e69a58833f85af740
BLAKE2b-256 2e6566faab006db6bd54b70e314f7267a61babde955778c14c3676bc587c9786

See more details on using hashes here.

File details

Details for the file gpt_4o_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gpt_4o_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for gpt_4o_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0994c8f1978fdea6d14fca9f777bc17d80185dfa4f88b9f2c67cca8222961a23
MD5 56d4ab8bd042e9a0b215611bbf5e87de
BLAKE2b-256 31d7fc5020b006978e5fb1d15d0daf92f445dd196c77011fdcfb1145c4ffa6f9

See more details on using hashes here.

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