Skip to content

Commit

Permalink
Document program-specific prompt options
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Dec 12, 2023
1 parent 3fa6059 commit 3982ad7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/ai_cli.5
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,12 @@ such as
.B bash
or
.B mysql
are used to provide multishot example prompts
are used to provide program-specific configuration
options for values associated with the
.B prompt
section, and also multishot example prompts
for improving the obtained responses.
These are provided by
The multishot example prompts are provided by
.B ai_cli
at the beginning of each API request.

Expand Down Expand Up @@ -234,6 +237,7 @@ vi = V
emacs = \\C-xa

[prompt-bash]
context=4
user-1 = List files in current directory
assistant-1 = ls
user-2 = What is the current time and date?
Expand Down

0 comments on commit 3982ad7

Please sign in to comment.