From 189da6e72cd7a1f6f3911eb171ba15cac9390538 Mon Sep 17 00:00:00 2001 From: Ryan Holinshead <> Date: Thu, 4 Jan 2024 18:07:35 -0500 Subject: [PATCH] [aiconfig] Remove Duplicate GPT-4 Model from Default Registry --- python/src/aiconfig/Config.py | 1 - .../aiconfigs/GPT4 Coding Assistant_aiconfig.json | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/python/src/aiconfig/Config.py b/python/src/aiconfig/Config.py index 794c16d35..fd27d9bb7 100644 --- a/python/src/aiconfig/Config.py +++ b/python/src/aiconfig/Config.py @@ -22,7 +22,6 @@ gpt_models = [ "gpt-4", - "GPT-4", "gpt-4-0314", "gpt-4-0613", "gpt-4-32k", diff --git a/python/tests/aiconfigs/GPT4 Coding Assistant_aiconfig.json b/python/tests/aiconfigs/GPT4 Coding Assistant_aiconfig.json index fbc241648..81b799bf9 100644 --- a/python/tests/aiconfigs/GPT4 Coding Assistant_aiconfig.json +++ b/python/tests/aiconfigs/GPT4 Coding Assistant_aiconfig.json @@ -27,7 +27,7 @@ "input": "Refactor {{code_gen.output}} and add comments", "metadata": { "model": { - "name": "GPT-4", + "name": "gpt-4", "settings": { "model": "gpt-4", "top_p": 1, @@ -46,7 +46,7 @@ "input": "Refine {{refactor_cell.output}} to clean it up with proper error handling and add appropriate typing if applicable? If there is anything missing, explain and show the updated code.", "metadata": { "model": { - "name": "GPT-4", + "name": "gpt-4", "settings": { "model": "gpt-4", "top_p": 1, @@ -65,7 +65,7 @@ "input": "Convert from {{refine_code_cell.output}} into {{language}}. Maintain modern programming standards for that new language and equivalent standards of commenting, documentation. ", "metadata": { "model": { - "name": "GPT-4", + "name": "gpt-4", "settings": { "model": "gpt-4", "top_p": 1, @@ -81,7 +81,7 @@ "input": "Give me a concise explanation of what a function does. Use bullet points and headings so the summary is organized and readable. Here is the function: {{code}}", "metadata": { "model": { - "name": "GPT-4", + "name": "gpt-4", "settings": { "model": "gpt-4", "top_p": 1, @@ -97,7 +97,7 @@ "input": "{{code}}", "metadata": { "model": { - "name": "GPT-4", + "name": "gpt-4", "settings": { "model": "gpt-4", "top_p": 1,