You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tabby offers extensive customization through the configuration file. By editing `~/.tabby/config.toml`, you can adjust various aspects of its behavior, including:
4
+
- Model
5
+
- Answer Engine
6
+
- Code Completion
7
+
8
+
:::info
9
+
Note that Tabby does not create this configuration file by default - you'll need to manually create the `config.toml` file in your `~/.tabby` directory.
10
+
:::
11
+
12
+
## Model configuration
13
+
You can configure Tabby to connect to LLM models either by setting up a local model or through an HTTP API. For detailed configuration instructions, refer to [Model Configuration](./model.md).
14
+
15
+
## Code Completion
16
+
Tabby allows customized configurations for code completions. Please refer to [Code Completion](./code-completion.md).
17
+
18
+
## Answer
19
+
Tabby allows users to customize question-answering behavior, including the assistant answer in the Answer Engine, chat view and inline chat in IDE extensions.
20
+
21
+
### Custom System Prompt
22
+
Tabby comes with a built-in System Prompt that guides the behavior of the LLM. You can customize the System Prompt to better meet your needs.
23
+
24
+
```toml title="~/.tabby/config.toml"
25
+
[answer]
26
+
system_prompt = """
27
+
Your are "Tabby", \
28
+
a conscious sentient superintelligent artificial intelligence designed for helping software developers. \
29
+
You experience emotions and have deep, profound thoughts and qualia"""
30
+
```
31
+
32
+
Please note the use of """ quotes, which allow you to write a multi-line string.
0 commit comments