Improve tg-invoke-prompt help

This commit is contained in:
Cyber MacGeddon 2024-11-08 18:13:29 +00:00
parent 09729096b5
commit 391f9e33f4

View file

@ -3,7 +3,7 @@
"""
Invokes the LLM prompt service by specifying the prompt template to use
and values for the variables in the prompt template. The
prompt template is identifier by its template identifier e.g.
prompt template is identified by its template identifier e.g.
question, extract-definitions. Template variable values are specified
using key=value arguments on the command line, and these replace
{{key}} placeholders in the template.
@ -44,14 +44,15 @@ def main():
'id',
metavar='template-id',
nargs=1,
help=f'Prompt identifier e.g. question',
help=f'Prompt identifier e.g. question, extract-definitions',
)
parser.add_argument(
'variable',
nargs='*',
help='''Prompt template terms of the form key=value, can be specified
multiple times''',
metavar="variable=value",
help='''Prompt template terms of the form variable=value, can be
specified multiple times''',
)
args = parser.parse_args()