diff options
| author | Martin Bielik <mx.bielik@gmail.com> | 2024-05-31 09:01:35 +0200 |
|---|---|---|
| committer | Martin Bielik <mx.bielik@gmail.com> | 2024-05-31 09:01:35 +0200 |
| commit | 63e0fe926634a152f56586b63434c4739819a601 (patch) | |
| tree | 22354e2c568e38574fbd2823b911320bcceb7d84 /README.md | |
| parent | 56dc5a54b118727881d225087ff3a20e5b0f6c79 (diff) | |
| download | vim-ai-63e0fe926634a152f56586b63434c4739819a601.tar.gz | |
define required max_tokens for turbo-instruct model
Diffstat (limited to '')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -257,7 +257,7 @@ generate a paragraph of lorem ipsum ``` Below are listed all available configuration options, along with their default values. -Please note that there isn't any token limit imposed, though 1000 is recommended. +Please note that there isn't any token limit imposed on chat model. ```vim " :AI @@ -272,7 +272,7 @@ let g:vim_ai_complete = { \ "options": { \ "model": "gpt-3.5-turbo-instruct", \ "endpoint_url": "https://api.openai.com/v1/completions", -\ "max_tokens": 0, +\ "max_tokens": 1000, \ "temperature": 0.1, \ "request_timeout": 20, \ "enable_auth": 1, @@ -295,7 +295,7 @@ let g:vim_ai_edit = { \ "options": { \ "model": "gpt-3.5-turbo-instruct", \ "endpoint_url": "https://api.openai.com/v1/completions", -\ "max_tokens": 0, +\ "max_tokens": 1000, \ "temperature": 0.1, \ "request_timeout": 20, \ "enable_auth": 1, |