A command line tool empowered by AI and LLM
Project description
airgpt
This repository contains airgpt: a command line tool empowered by AI and LLM. It calls OpenAI to get the appropriate command based on user prompts, and executes the command to get the results.
Installation
- Sign up with OpenAI to get an API key. Set up the environment vairable
OPENAI_API_KEYin a terminal:
export OPENAI_API_KEY=<your_openai_api_key>
- Make sure you have Python 3.10+ installed. Install
airgptwith the following command:
pip3 install airgpt
- When the installation is complete, run the following command to start the
airgpt:
airgpt
Developing the Python source code locally
The following steps could be used to develop airgpt locally:
- Clone the repository from GitHub:
git clone https://github.com/kp-enterprise/airgpt.git
- Create a virtual environment and install the required libraries:
cd airgpt
python3 -m venv venv
source venv/bin/activate
pip3 install -i requirements.txt
- Run the following command to start
airgpt:
python3 airgpt.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
airgpt-0.1.1.tar.gz
(12.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
airgpt-0.1.1-py3-none-any.whl
(11.6 kB
view details)
File details
Details for the file airgpt-0.1.1.tar.gz.
File metadata
- Download URL: airgpt-0.1.1.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe610ea888f4091480c0e1223474835c76e76d5e2bc4feca2df2bb74f1dc8531
|
|
| MD5 |
5a2dcaa9a0758f9696c88f642dd42131
|
|
| BLAKE2b-256 |
a4276844622fa3404495b7799905b6b8b93469817fcf3f9a03585d85eed4beba
|
File details
Details for the file airgpt-0.1.1-py3-none-any.whl.
File metadata
- Download URL: airgpt-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d7fd5cf178ba43bd853a331fbfa847c4629c24678b475d90cc449e8dbf2afb7
|
|
| MD5 |
ccfb76d7ef71e89638084173b715575a
|
|
| BLAKE2b-256 |
10f79266fe7735e377a26484926eeec38d9a07dd50c75cbd1e7af13bb56f8172
|