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 -v
kel -h
kel "git command to rebase"
kel "command to get active connections in linux"
kel "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 "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 "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.4.tar.gz
(15.3 kB
view details)
Built Distribution
kel_cli-0.0.4-py3-none-any.whl
(19.4 kB
view details)
File details
Details for the file kel-cli-0.0.4.tar.gz
.
File metadata
- Download URL: kel-cli-0.0.4.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67924a96fc1a2a7438e1e84fc0b0e18625ca891c40235def787361de17308538 |
|
MD5 | 14c6c5d4b2f498740c013dcee471e2d9 |
|
BLAKE2b-256 | b10c8a650360c5960e4d58ee9c2c78acc513c20a55307dc3ac0ce8cf1ab5e3f7 |
File details
Details for the file kel_cli-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: kel_cli-0.0.4-py3-none-any.whl
- Upload date:
- Size: 19.4 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 | 78f3153b3e7d2094607e98b9b3ee3f5e34b392888c2113da40a9cfb963659591 |
|
MD5 | f369718cb49f48c9951d47054a3d9983 |
|
BLAKE2b-256 | 19ba366fa5f9f92c5851ed82404e9220bdf49a701de5a7f18eddfeb33a956a86 |