Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion +llms/+utils/errorMessageCatalog.m
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@
catalog("llms:warningJsonInstruction") = "When using JSON mode, you must also prompt the model to produce JSON yourself via a system or user message.";
catalog("llms:apiReturnedError") = "OpenAI API Error: {1}";
catalog("llms:dimensionsMustBeSmallerThan") = "Dimensions must be less than or equal to {1}.";
end
end
6 changes: 5 additions & 1 deletion tests/texampleTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ function testAnalyzeTextDataUsingParallelFunctionCallwithChatGPT(~)
function testRetrievalAugmentedGenerationUsingChatGPTandMATLAB(~)
RetrievalAugmentedGenerationUsingChatGPTandMATLAB;
end

function testAnalyzeSentimentinTextUsingChatGPTinJSONMode(~)
AnalyzeSentimentinTextUsingChatGPTinJSONMode;
end
end

end
Expand All @@ -61,4 +65,4 @@ function iCloseAll()
% Close all opened figures
allFig = findall(0, 'type', 'figure');
close(allFig)
end
end