From 2ed82cd1ea5d67dbeebead844bef22afee333deb Mon Sep 17 00:00:00 2001 From: Thomas Endres Date: Mon, 10 Apr 2023 11:04:04 +0200 Subject: [PATCH] Better explanation prompt Signed-off-by: Thomas Endres --- please.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/please.sh b/please.sh index b7ab27a..621e374 100755 --- a/please.sh +++ b/please.sh @@ -185,7 +185,7 @@ get_command() { } explain_command() { - prompt="Explain what the command ${command} does. Don't be too verbose." + prompt="Explain the step of the command that answers the following ${command}: ${commandDescription}\n. Don't be too verbose." payload=$(printf %s "$prompt" | jq --slurp --raw-input --compact-output '{ max_tokens: 100,