summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 21 insertions, 1 deletions
diff --git a/README.md b/README.md
index 360a471..b66c177 100644
--- a/README.md
+++ b/README.md
@@ -122,8 +122,9 @@ Default interface configuration:
```vim
let g:vim_ai_chat = {
\ "ui": {
-\ "open_chat_command": "below new | call vim_ai#MakeScratchWindow()",
\ "code_syntax_enabled": 1,
+\ "populate_options": 0,
+\ "open_chat_command": "below new | call vim_ai#MakeScratchWindow()",
\ },
\}
```
@@ -160,6 +161,25 @@ let g:vim_ai_chat = {
\}
```
+Or modify options directly during the vim session:
+
+```vim
+let g:vim_ai_chat['options']['model'] = 'gpt-4'
+let g:vim_ai_chat['options']['temperature'] = 0.2
+```
+
+You can also customize the options in the chat header:
+
+```properties
+[chat-options]
+model=gpt-4
+temperature=0.2
+
+>>> user
+
+generate a paragraph of lorem ipsum
+```
+
Below are listed available options along with default values:
```vim