From 744e646f12473ad3b166593a1f9a33f307e2c834 Mon Sep 17 00:00:00 2001 From: Deborah Mendes Ferreira Date: Thu, 21 Dec 2023 15:37:47 +0000 Subject: [PATCH] Updating readme. --- openAIChat.m | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/openAIChat.m b/openAIChat.m index cd4de67..fda2e3e 100644 --- a/openAIChat.m +++ b/openAIChat.m @@ -254,11 +254,6 @@ function mustBeValidFunctionCall(this, functionCall) end end -function mustBeNonzeroLengthTextScalar(content) -mustBeNonzeroLengthText(content) -mustBeTextScalar(content) -end - function [functionsStruct, functionNames] = functionAsStruct(functions) numFunctions = numel(functions); functionsStruct = cell(1, numFunctions); @@ -277,7 +272,7 @@ function mustBeValidMsgs(value) end else try - mustBeNonzeroLengthTextScalar(value); + llms.utils.mustBeNonzeroLengthTextScalar(value); catch ME error("llms:mustBeMessagesOrTxt", llms.utils.errorMessageCatalog.getMessage("llms:mustBeMessagesOrTxt")); end