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_KEY
in a terminal:
export OPENAI_API_KEY=<your_openai_api_key>
- Make sure you have Python 3.10+ installed. Install
airgpt
with 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 hashes)
Built Distribution
airgpt-0.1.1-py3-none-any.whl
(11.6 kB
view hashes)