File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 5
5
6
6
methods (TestClassSetup )
7
7
function setUpAndTearDowns(testCase )
8
+ import matlab .unittest .fixtures .CurrentFolderFixture
9
+ testCase .applyFixture(CurrentFolderFixture(" ../examples" ));
10
+
8
11
openAIEnvVar = " OPENAI_KEY" ;
9
12
secretKey = getenv(openAIEnvVar );
10
13
% Create an empty .env file because it is expected by our .mlx
@@ -54,8 +57,13 @@ function testRetrievalAugmentedGenerationUsingChatGPTandMATLAB(~)
54
57
RetrievalAugmentedGenerationUsingChatGPTandMATLAB ;
55
58
end
56
59
57
- function testAnalyzeSentimentinTextUsingChatGPTinJSONMode(~)
58
- AnalyzeSentimentinTextUsingChatGPTinJSONMode ;
60
+ function testUsingDALLEToEditImages(~)
61
+ UsingDALLEToEditImages ;
62
+ end
63
+
64
+ function testAnalyzeSentimentinTextUsingChatGPTinJSONMode(testCase )
65
+ testCase .verifyWarning(@AnalyzeSentimentinTextUsingChatGPTinJSONMode ,...
66
+ " llms:warningJsonInstruction" );
59
67
end
60
68
end
61
69
You can’t perform that action at this time.
0 commit comments