This is a program called askai. It takes in data from the user through stdin and arguments. It then uses it to generate responses. For example, if you input some log files and ask it a question about what happened in those log files.
Go to file
2024-01-04 02:53:35 +00:00
askai Update askai 2024-01-04 02:53:35 +00:00
LICENSE Initial commit 2024-01-04 01:20:29 +00:00
README.md Update README.md 2024-01-04 02:04:29 +00:00
requirements.txt Update requirements.txt 2024-01-04 02:04:46 +00:00

askai

Overview

askai is an interactive Linux tool that processes data from stdin according to user-specified instructions. It utilizes LangChain's Ollama model 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 the code 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

echo "This is some data" | askai "Discribe the input" --config