AI Assistant for your CLI
Project description
Kel
Kel is your AI assistant in your CLI.
Kel
கேள்
meansask
in Tamil.
Demo
Features
- Free and Open Source
- Bring your own API keys
- Supports multiple Large Language Models (LLMs) like GPT-4, Claude, ollama2, etc.
- Supports OpenAI assistants to chat with your documents
- Customizable
Installation
Pre-requisites
- Python 3.6 or higher
- pip3
- API keys for OpenAI and other LLMs
Steps
python3 setup.py install
Usage
kel_package -v
kel_package -h
kel_package "git command to rebase"
kel_package "command to get active connections in linux"
kel_package "What was the population of India in 1990?"
> I'm sorry, I can only assist with questions related to software engineering and command line tools.
I am unable to provide information on the population of India in 1990.
Now change the prompt and ask the same question.
kel_package "What was the population of India in 1990?" -p "You are a demography expert"
> The population of India in 1990 was around 874 million people.
Now change the LLM and ask the same question.
kel_package "What was the population of India in 1990?" -p "You are a demography expert" -c ollama -m llama2
Configuration
Kel can be configured using a config file. It is a TOML file and supports vast number of options.
The default config file is ~/.kel/config.toml
or ~/.config/kel/config.toml
or KEL_CONFIG_FILE
environment variable.
Defaults
- OpenAI's
gpt-3.5-turbo-1106
- Display stats
- Default prompt focuses on developers
- Copies the answer to clipboard
- and more...
Support
If you like this project, please consider donating to the following addresses.
- Buy me a coffee: https://www.buymeacoffee.com/qainsights
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
kel-cli-0.0.3.tar.gz
(14.4 kB
view details)
Built Distribution
kel_cli-0.0.3-py3-none-any.whl
(19.8 kB
view details)
File details
Details for the file kel-cli-0.0.3.tar.gz
.
File metadata
- Download URL: kel-cli-0.0.3.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f71260e4f4ba76200902441d1a6560e9548c36a368776c05674545f66a430a65 |
|
MD5 | 5164108e0df659fef0050696bc2ca484 |
|
BLAKE2b-256 | dfbe5bf7f8578a0139041a39016a6679e170ec867c7da0b938d4cf5d10dce864 |
File details
Details for the file kel_cli-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: kel_cli-0.0.3-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1ec195bd0c8ca19d64fe581e6d56d70449c14aaf39fb8c8b37b0848af059be1 |
|
MD5 | beec883e0e8b4e79c8786bc97807cccd |
|
BLAKE2b-256 | 356abd4b101addce6b1810d239ee05f9a3e61dbf38193e4d08a8dee4bc02d43d |