Skip to content

Commit

Permalink
Improve hint and description
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegIvaniv committed Nov 6, 2024
1 parent f0f9762 commit 4f85327
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,16 @@ export class OutputParserAutofixing implements INodeType {
default: {},
options: [
{
displayName: 'Fix Prompt',
displayName: 'Retry Prompt',
name: 'prompt',
type: 'string',
default: NAIVE_FIX_PROMPT,
typeOptions: {
rows: 10,
},
hint: 'Should include "{error}", "{instructions}", and "{completion}" placeholders',
description:
'Prompt template used for fixing the output. Uses placeholders: "{instructions}" for parsing rules, "{completion}" for the failed attempt, and "{error}" for the validation error message.',
},
],
},
Expand Down

0 comments on commit 4f85327

Please sign in to comment.