Skip to content

Commit

Permalink
Better explanation prompt
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Endres <[email protected]>
  • Loading branch information
thomas-endres-tng committed Apr 10, 2023
1 parent c9bcabc commit 2ed82cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion please.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2ed82cd

Please sign in to comment.