summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Bielik <martin.bielik@instea.sk>2024-12-05 20:47:01 +0100
committerMartin Bielik <martin.bielik@instea.sk>2024-12-05 20:47:01 +0100
commit24f0a8b7864511ce8f4a30251c511a3b63e5573e (patch)
tree3e6b7efae76d03c5b875911af891a6895b4c2b40
parent707947a8931e46effbd9120356e7c4ece6ff8628 (diff)
downloadvim-ai-24f0a8b7864511ce8f4a30251c511a3b63e5573e.tar.gz
o1 preview example
-rw-r--r--README.md21
1 files changed, 15 insertions, 6 deletions
diff --git a/README.md b/README.md
index 30e1368..6c9300c 100644
--- a/README.md
+++ b/README.md
@@ -231,8 +231,11 @@ To customize the default configuration, initialize the config variable with a se
```vim
let g:vim_ai_chat = {
\ "options": {
-\ "model": "gpt-4",
-\ "temperature": 0.2,
+\ "model": "o1-preview",
+\ "stream": 0,
+\ "temperature": 1,
+\ "max_completion_tokens": 25000,
+\ "initial_prompt": "",
\ },
\}
```
@@ -240,16 +243,22 @@ let g:vim_ai_chat = {
Once the above is set, you can 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
+let g:vim_ai_chat['options']['model'] = 'o1-preview'
+let g:vim_ai_chat['options']['stream'] = 0
+let g:vim_ai_chat['options']['temperature'] = 1
+let g:vim_ai_chat['options']['max_completion_tokens'] = 25000
+let g:vim_ai_chat['options']['initial_prompt'] = ''
```
Or customize the options directly in the chat buffer:
```properties
[chat-options]
-model=gpt-4
-temperature=0.2
+model=o1-preview
+stream=0
+temperature=1
+max_completion_tokens=25000
+initial_prompt=
>>> user