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 55
66 methods (TestClassSetup )
77 function setUpAndTearDowns(testCase )
8+ import matlab .unittest .fixtures .CurrentFolderFixture
9+ testCase .applyFixture(CurrentFolderFixture(" ../examples" ));
10+
811 openAIEnvVar = " OPENAI_KEY" ;
912 secretKey = getenv(openAIEnvVar );
1013 % Create an empty .env file because it is expected by our .mlx
@@ -54,8 +57,13 @@ function testRetrievalAugmentedGenerationUsingChatGPTandMATLAB(~)
5457 RetrievalAugmentedGenerationUsingChatGPTandMATLAB ;
5558 end
5659
57- function testAnalyzeSentimentinTextUsingChatGPTinJSONMode(~)
58- AnalyzeSentimentinTextUsingChatGPTinJSONMode ;
60+ function testUsingDALLEToEditImages(~)
61+ UsingDALLEToEditImages ;
62+ end
63+
64+ function testAnalyzeSentimentinTextUsingChatGPTinJSONMode(testCase )
65+ testCase .verifyWarning(@AnalyzeSentimentinTextUsingChatGPTinJSONMode ,...
66+ " llms:warningJsonInstruction" );
5967 end
6068 end
6169
You can’t perform that action at this time.
0 commit comments