From b372f8a92f2d80f3eb5e153b970f0ec0d3963980 Mon Sep 17 00:00:00 2001 From: Shalom Yiblet Date: Tue, 14 May 2024 10:05:20 -0700 Subject: [PATCH] feat: update defaults to use latest model versions: gpt-4o and gpt-3.5-turbo --- lua/gp/config.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/gp/config.lua b/lua/gp/config.lua index a120c29..4ff72a4 100644 --- a/lua/gp/config.lua +++ b/lua/gp/config.lua @@ -40,7 +40,7 @@ local config = { chat = true, command = false, -- string with model name or table with model name and parameters - model = { model = "gpt-4-1106-preview", temperature = 1.1, top_p = 1 }, + model = { model = "gpt-4o", temperature = 1.1, top_p = 1 }, -- system prompt (use this to specify the persona/role of the AI) system_prompt = "You are a general AI assistant.\n\n" .. "The user provided the additional info about how they would like you to respond:\n\n" @@ -57,7 +57,7 @@ local config = { chat = true, command = false, -- string with model name or table with model name and parameters - model = { model = "gpt-3.5-turbo-1106", temperature = 1.1, top_p = 1 }, + model = { model = "gpt-3.5-turbo", temperature = 1.1, top_p = 1 }, -- system prompt (use this to specify the persona/role of the AI) system_prompt = "You are a general AI assistant.\n\n" .. "The user provided the additional info about how they would like you to respond:\n\n" @@ -74,7 +74,7 @@ local config = { chat = false, command = true, -- string with model name or table with model name and parameters - model = { model = "gpt-4-1106-preview", temperature = 0.8, top_p = 1 }, + model = { model = "gpt-4o", temperature = 0.8, top_p = 1 }, -- system prompt (use this to specify the persona/role of the AI) system_prompt = "You are an AI working as a code editor.\n\n" .. "Please AVOID COMMENTARY OUTSIDE OF THE SNIPPET RESPONSE.\n" @@ -85,7 +85,7 @@ local config = { chat = false, command = true, -- string with model name or table with model name and parameters - model = { model = "gpt-3.5-turbo-1106", temperature = 0.8, top_p = 1 }, + model = { model = "gpt-3.5-turbo", temperature = 0.8, top_p = 1 }, -- system prompt (use this to specify the persona/role of the AI) system_prompt = "You are an AI working as a code editor.\n\n" .. "Please AVOID COMMENTARY OUTSIDE OF THE SNIPPET RESPONSE.\n"