Integrate LLM in your shell.
Copy and paste this line in your shell.
curl https://raw.githubusercontent.com/soheil/shllm/main/- > /tmp/- && . /tmp/-
Press CTRL+K
or run shllm
and ask LLM the command you would like to run.
shllm> ffmpeg input.mp4 keep original encoding and remove the audio
ffmpeg -i input.mp4 -c:v copy -an output.mp4
shllm> delete files that have two l in their name
rm *l*l*
Ensure OPENAI_API_KEY
env var is set in your shell.
e.g. ~/.bash_profile
:
export OPENAI_API_KEY=