-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add code completion configuration docs (#2822)
* docs: add code completion configuration docs * update
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Code Completion | ||
|
||
Code completion is a key feature offered by Tabby in IDEs/extensions. Tabby allows for more customized configuration by modifying the `config.toml` file in the `[completion]` section. | ||
|
||
## Input / Output | ||
|
||
This configuration requires tuning of the model serving configuration as well (e.g., context length settings) and can vary significantly based on the model provider (e.g., llama.cpp, vLLM, TensorRT-LLM, etc). | ||
Therefore, please only modify these values after consulting with the model deployment vendor. | ||
|
||
```toml | ||
[completion] | ||
|
||
# Maximum length of the input prompt, in UTF-8 characters. The default value is set to 1536. | ||
max_input_length = 1536 | ||
|
||
# Maximum number of decoding tokens. The default value is set to 64. | ||
max_decoding_tokens = 64 | ||
``` | ||
|
||
The default value is set conservatively to accommodate local GPUs and smaller LLMs. | ||
|