Skip to content

Latest commit

 

History

History
83 lines (45 loc) · 2.45 KB

File metadata and controls

83 lines (45 loc) · 2.45 KB

qq

GitHub Actions Workflow Status GitHub commit activity GitHub Issues or Pull Requests GitHub watchers

qq Quick Question - LLM in the terminal.

About

qq is a markdown rich terminal based LLM interface - so you never have to leave the terminal! qq supports gpt-4o-mini and llama-3.1-8b


image

looks and works great in warp

Features

🎨 Markdown support in your terminal

🧠 gpt-4o-mini (default LLM)

🦙 Now with llama-3 support! (optional)

⌨️ Prompt engineering layer to ensure terminal/linux based responses

💻 Stay in terminal

Use

qq how do I list files in terminal by size?
# or with llama
qq --model llama how do I exit vim?
# disable spinner (good for scripts)
qq --no-spinner whoami

Setup

⏳ Coming Soon - 🐳 A Docker Version!

🔑 Ensure your OpenAI API Key is exported in the following format: export OPENAI_API_KEY=your openai key

💻 Automatic Setup: In your Term, paste the following (target qql.py instead of qq.py if you want to use llama-3 instead of gpt-4o-mini)

git clone https://github.com/ymode/qq.git
cd qq
pip install -r requirements.txt
chmod +x qq
sudo mv qq /usr/local/bin/

Support

The best way to support this project is to contribute! But if you would like to buy me a coffee, there is a link below.

Buy Me A Coffee

Credits

OpenAI gpt-4o-mini

dotenv

rich terminal markdown

halo - beautiful spinners