Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to set maxTokens when calling prompt() #36

Open
duci9y opened this issue Aug 29, 2024 · 0 comments
Open

Ability to set maxTokens when calling prompt() #36

duci9y opened this issue Aug 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@duci9y
Copy link

duci9y commented Aug 29, 2024

I'd like to be able to constrain the output to N tokens for my use case (tab autocompletion). Otherwise the model generates strings that are too long to be useful. It also takes more time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants