Zed is an LLM-based CLI assistant built with python and Chat GPT
Project description
Overview
A helpful command line assistant, based on ChatGPT.
Getting started
Install Zed by running:
pip install zed-assistant
Note that Zed requires Python 3.8+.
You'll need your own OpenAI key to be able to use Zed. The key can be configured as an environment variable or passed as a command parameter:
echo "export ZED_OAI_KEY=my-key" >> ~/.zshrc # or .bash_profile, etc
Usage
Run zed
with no arguments to get the help menu:
~ zed
______ ___________
|___ /| ___| _ \
/ / | |__ | | | |
/ / | __|| | | |
./ /___| |___| |/ /
\_____/\____/|___/
usage: zed [-h] [--debug] [--model {gpt-4,gpt-4-turbo,gpt-3.5-turbo}] [--open-ai-key OPEN_AI_KEY]
zed is a LLM-based CLI assistant built with python and Chat GPT
optional arguments:
-h, --help show this help message and exit
--debug Enables print debug logs.
--model {gpt-4,gpt-4-turbo,gpt-3.5-turbo}
The specific Open AI model to be used. Default is 'gpt-4-turbo'.
--open-ai-key OPEN_AI_KEY
The Open AI API key. You can also set the environment variable ZED_OAI_KEY.
Contributing
Install dependencies
Setup the project locally:
git clone https://github.com/hoffmannmatheus/zed/ && cd zed
poetry install
Run tests
poetry run pytest
Run zed locally
First, setup your local OpenAI API key:
export ZED_OAI_KEY="your-openai-key"
Then, run locally with:
poetry run zed
Publishing a new version
poetry publish --build
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
zed_assistant-0.0.3.tar.gz
(9.0 kB
view hashes)
Built Distribution
Close
Hashes for zed_assistant-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9d47be08371ec4eb81056c4a04982e8e20464759fe7de9217259a7a05226148 |
|
MD5 | 3102d56f7481c79a3f64cb0f12b7d0d4 |
|
BLAKE2b-256 | 897da49d1fce418ab769f6c9dff2e2f55ca1498348836d0e072e1c374a4f88a2 |