888 B
888 B
askai
askai is an interactive Linux tool that processes data from stdin according to user-specified instructions. It utilizes Ollama and opensource AI models for generating responses.
Usage
To use the tool, simply input your information through stdin and pass your command line argument as a parameter. If you want to save default settings or update them, run askai with --config
flag.
Installation
To install this tool first create a venv python enviorment.
python3 -m venv ~/askai
Next download the repository and install askai.
git clone https://gitea.locker98.com/tofasthacker/askai.git
cd askai
source ~/askai/bin/activate
pip install -r requirements.txt
chmod +x askai
sudo cp askai /usr/bin/askai
askai --config
Example Usage
$ cat askai | askai "what programming language is this"
The script is written in Python language.