summaryrefslogtreecommitdiff
path: root/doc/vim-ai.txt
diff options
context:
space:
mode:
authorMartin Bielik <mx.bielik@gmail.com>2023-04-10 11:27:31 +0200
committerMartin Bielik <mx.bielik@gmail.com>2023-04-10 11:27:31 +0200
commit4a9a44ec891c81af93bcf5d5ddde2e1fb481317d (patch)
treec80e845d1a812799cf1658b10f17fbdb7e530d49 /doc/vim-ai.txt
parentf8323fe373f0470010a289c3fb1b350a5972cfda (diff)
downloadvim-ai-4a9a44ec891c81af93bcf5d5ddde2e1fb481317d.tar.gz
chat options docu
Diffstat (limited to '')
-rw-r--r--doc/vim-ai.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/vim-ai.txt b/doc/vim-ai.txt
index ed70ef1..05b73ca 100644
--- a/doc/vim-ai.txt
+++ b/doc/vim-ai.txt
@@ -79,6 +79,7 @@ Options: >
\ },
\ "ui": {
\ "code_syntax_enabled": 1,
+ \ "populate_options": 0,
\ "open_chat_command": "below new | call vim_ai#MakeScratchWindow()",
\ },
\}
@@ -103,6 +104,22 @@ a selection of options: >
\ },
\}
+Or modify options directly during the vim session: >
+
+ 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: >
+
+ [chat-options]
+ model=gpt-4
+ temperature=0.2
+
+ >>> user
+
+ generate a paragraph of lorem ipsum
+ ...
+
KEY BINDINGS
Examples how configure key bindins and customize commands: >