Skip to content

Commit

Permalink
Add description for candidates
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Oct 7, 2023
1 parent 43c1696 commit 89356df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ class TransformersInlineProvider implements IInlineCompletionProvider {
},
generateN: {
minimum: 1,
maximum: 10,
type: 'number',
title: 'Number of candidates'
title: 'Candidates',
description: 'How many completion candidates should be generated.'
},
diversityPenalty: {
type: 'number',
Expand All @@ -143,7 +143,7 @@ class TransformersInlineProvider implements IInlineCompletionProvider {
description: '1.0 means not penalty.'
},
// TODO: characters are a poor proxy for number of tokens when whitespace are many (though a strictly conservative one).
// Words could be better but can be over-optimistic - one word canb e several tokens).
// Words could be better but can be over-optimistic - one word can be several tokens).
maxContextWindow: {
title: 'Context window',
minimum: 1,
Expand Down

0 comments on commit 89356df

Please sign in to comment.