LFG, It Really Whips the Llama's Ass 🦙🦙🦙🦙
Project description
LFG
LFG, It Really Whips the Llama's Ass 🦙🦙🦙🦙
LFG is a command-line tool that intelligently helps you find the right terminal commands for your tasks. It taps into the vast knowledge of the LLAMA3 language model (via Ollama) to understand your natural language descriptions and provide you with the most relevant commands and explanations.
Installation
Currently, it uses ollama to run everything locally.
# install ollama
https://ollama.com/download/
# install the llama3 LLM
ollama run llama3
# start ollama
ollama server
# install LFG
pip install lfg-llama
Usage
lfg kill port 3000
# Kill process listening on port 3000
lsof -i :3000 | xargs kill
Development
pip install --user pipenv
pipenv --python 3.7
pipenv install
TODO
- Use the model directly without ollama
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
lfg_llama-1.0.2.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for lfg_llama-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 910fd66e756cb3586ff480741eb8e92834efb91e47644ad996fa58b1ae82fe46 |
|
MD5 | a83f8fab0a0af54682f2a85890ef4faa |
|
BLAKE2b-256 | fc34b7a59ddd1a78477dfa4b384bba8a1ef61f62b2007f244e9ed7c1022f6ff4 |