@@ -35,43 +35,15 @@ function testAnalyzeScientificPapersUsingFunctionCalls(~)
35
35
AnalyzeScientificPapersUsingFunctionCalls ;
36
36
end
37
37
38
- function testProcessGeneratedTextinRealTimebyUsingChatGPTinStreamingMode(~)
39
- ProcessGeneratedTextinRealTimebyUsingChatGPTinStreamingMode ;
40
- end
41
-
42
- function testUsingDALLEToGenerateImages(~)
43
- UsingDALLEToGenerateImages ;
44
- end
45
-
46
- function testInformationRetrievalUsingOpenAIDocumentEmbedding(~)
47
- InformationRetrievalUsingOpenAIDocumentEmbedding ;
48
- end
49
-
50
- function testDescribeImagesUsingChatGPT(~)
51
- DescribeImagesUsingChatGPT ;
52
- end
53
-
54
- function testSummarizeLargeDocumentsUsingChatGPTandMATLAB(~)
55
- SummarizeLargeDocumentsUsingChatGPTandMATLAB ;
38
+ function testAnalyzeSentimentinTextUsingChatGPTinJSONMode(testCase )
39
+ testCase .verifyWarning(@AnalyzeSentimentinTextUsingChatGPTinJSONMode ,...
40
+ " llms:warningJsonInstruction" );
56
41
end
57
42
58
43
function testAnalyzeTextDataUsingParallelFunctionCallwithChatGPT(~)
59
44
AnalyzeTextDataUsingParallelFunctionCallwithChatGPT ;
60
45
end
61
46
62
- function testRetrievalAugmentedGenerationUsingChatGPTandMATLAB(~)
63
- RetrievalAugmentedGenerationUsingChatGPTandMATLAB ;
64
- end
65
-
66
- function testUsingDALLEToEditImages(~)
67
- UsingDALLEToEditImages ;
68
- end
69
-
70
- function testAnalyzeSentimentinTextUsingChatGPTinJSONMode(testCase )
71
- testCase .verifyWarning(@AnalyzeSentimentinTextUsingChatGPTinJSONMode ,...
72
- " llms:warningJsonInstruction" );
73
- end
74
-
75
47
function testCreateSimpleChatBot(testCase ,ChatBotExample )
76
48
% set up a fake input command, returning canned user prompts
77
49
count = 0 ;
@@ -112,6 +84,34 @@ function testCreateSimpleChatBot(testCase,ChatBotExample)
112
84
testCase .verifyEqual(count ,find(prompts ==" end" ,1 ));
113
85
testCase .verifySize(messages .Messages ,[1 2 *(count - 1 )]);
114
86
end
87
+
88
+ function testDescribeImagesUsingChatGPT(~)
89
+ DescribeImagesUsingChatGPT ;
90
+ end
91
+
92
+ function testInformationRetrievalUsingOpenAIDocumentEmbedding(~)
93
+ InformationRetrievalUsingOpenAIDocumentEmbedding ;
94
+ end
95
+
96
+ function testProcessGeneratedTextinRealTimebyUsingChatGPTinStreamingMode(~)
97
+ ProcessGeneratedTextinRealTimebyUsingChatGPTinStreamingMode ;
98
+ end
99
+
100
+ function testRetrievalAugmentedGenerationUsingChatGPTandMATLAB(~)
101
+ RetrievalAugmentedGenerationUsingChatGPTandMATLAB ;
102
+ end
103
+
104
+ function testSummarizeLargeDocumentsUsingChatGPTandMATLAB(~)
105
+ SummarizeLargeDocumentsUsingChatGPTandMATLAB ;
106
+ end
107
+
108
+ function testUsingDALLEToEditImages(~)
109
+ UsingDALLEToEditImages ;
110
+ end
111
+
112
+ function testUsingDALLEToGenerateImages(~)
113
+ UsingDALLEToGenerateImages ;
114
+ end
115
115
end
116
116
117
117
end
0 commit comments