From 24f0a8b7864511ce8f4a30251c511a3b63e5573e Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Thu, 5 Dec 2024 20:47:01 +0100 Subject: o1 preview example --- README.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3