gorilla-llm / gorilla-cli

LLMs for your CLI
https://gorilla.cs.berkeley.edu/
Apache License 2.0
1.28k stars 75 forks source link

Explain command #62

Open abitrolly opened 4 months ago

abitrolly commented 4 months ago

How to make gorilla explain the command it proposes?

➜  ~ gorilla how many terminal commands I execute each day on average   
🦍  history | awk '{print $2}' | sort | uniq -c | sort -rn | awk '{ total += $1; count++ } END { print total/count }'
awk: cmd. line:1: fatal: division by zero attempted

I want to understand what it expected to get.