diff --git a/openAIChat.m b/openAIChat.m index aced1cb..c76f61d 100644 --- a/openAIChat.m +++ b/openAIChat.m @@ -114,10 +114,10 @@ arguments systemPrompt {llms.utils.mustBeTextOrEmpty} = [] nvp.Tools (1,:) {mustBeA(nvp.Tools, "openAIFunction")} = openAIFunction.empty - nvp.ModelName (1,1) {mustBeMember(nvp.ModelName,["gpt-4", "gpt-4-0613", "gpt-4-32k", ... - "gpt-3.5-turbo", "gpt-3.5-turbo-16k",... - "gpt-4-1106-preview","gpt-3.5-turbo-1106", ... - "gpt-4-vision-preview", "gpt-4-turbo-preview"])} = "gpt-3.5-turbo" + nvp.ModelName (1,1) {mustBeMember(nvp.ModelName,["gpt-4-turbo", ... + "gpt-4-turbo-2024-04-09","gpt-4","gpt-4-32k", ... + "gpt-3.5-turbo","gpt-3.5-turbo-0125", ... + "gpt-3.5-turbo-1106"])} = "gpt-3.5-turbo" nvp.Temperature {mustBeValidTemperature} = 1 nvp.TopProbabilityMass {mustBeValidTopP} = 1 nvp.StopSequences {mustBeValidStop} = {}