mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-21 19:21:03 +02:00
Improve tg-invoke-prompt help
This commit is contained in:
parent
09729096b5
commit
391f9e33f4
1 changed files with 5 additions and 4 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue