Skip to main content

Aish - ChatGPT CLI

This command-line interface (CLI) application is used to interact with the OpenAI through the OpenAI API. The chatbot takes an input prompt and returns a response from the selected model.

Installation

Ensure you have Python 3.7+ installed. To install the required libraries, use:

    pip install aish

Usage

To use the application, you need to set the environment variable OPENAI_API_KEY with your OpenAI API key. Then, you can run the script from the terminal using the command:

    aish How can i list all files older than 30 days?
    aish -s How can i list all files older than 30 days?
    aish -c code Write a hello world app in python

Optional parameters will take default values if not provided:

  • ModelVersion: The model version that you want to use. Default is "gpt-3.5-turbo".
  • TemperatureValue: The randomness of the AI’s responses. A lower value makes the output more focused and deterministic, while higher values produce more diverse and random outputs. Default is 0.5.
  • TopPValue: A parameter for controlling randomness. A higher value generates more random responses, and a lower value generates more deterministic responses. Default is 0.5.
  • TimeoutValue: The maximum time in seconds that the request will wait for a response from the API. Default is 60.

Help

You can display the help message which provides details about the command usage and the different parameters by running:

    aish --help

Metadata

Release files for aish 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aish 0.1.8
File Size Uploaded
aish-0.1.8.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aish 0.1.8
File Interpreter ABI Platform
aish-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 17.9 kB

Release files / aish-0.1.8.tar.gz

Download URL aish-0.1.8.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bb2ec3dc0d6f4c1fae21e02a31a54c20723a6482b737b01c615e03a66917ad6c
BLAKE2b-256 checksum
How to use checksums
d8728025fc95324512d8da3c05943d65e37a2004b95bb0833e1c37d2b8be8bee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / aish-0.1.8-py3-none-any.whl

Download URL aish-0.1.8-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
942bef9624f89c96ca30cf1a87be980fe9a7cde1fcc6b3b905e1c7c96fa8dbfc
BLAKE2b-256 checksum
How to use checksums
8ab07dddd072c4e0ad16edc0f46c67d66aa013318547d4eb524bf14de765a062
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page