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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aish-0.1.8.tar.gz | 8.3 kB | Without provenance | Details for aish-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aish-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for aish-0.1.8-py3-none-any.whl |
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
|
Security for aish 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.