Skip to content

Commit

Permalink
Updating readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
debymf committed Dec 21, 2023
1 parent f9d29fb commit 744e646
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions openAIChat.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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
Expand Down

0 comments on commit 744e646

Please sign in to comment.